Skip to content

Instantly share code, notes, and snippets.

Created March 24, 2017 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/dddd8fd73eb36df712bb52deddcbb7bc to your computer and use it in GitHub Desktop.
Save anonymous/dddd8fd73eb36df712bb52deddcbb7bc to your computer and use it in GitHub Desktop.
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "enable_mod": 1
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "auto_reload_config": 1
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "output_folder": D:\MyVideos
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "options":
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "extension": mp4
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "encoder": libx264
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "pixel_format": yuv420p
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "options": crf=1 / bf=2 / flags=+cgop
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "encoder": aac
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "options": ar=48000 / b=384k
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "sample_format": fltp
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "format": mp4
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "log_level": 50
[2017-03-25 01:02:57] NON 0x1228 config.h (line 163): Loaded value for "fps": <30000, 1000>
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "motion_blur_samples": 0
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "motion_blur_strength": 0.5
[2017-03-25 01:02:57] NON 0x1228 config.h (line 157): Loaded value for "export_openexr": 0
[2017-03-25 01:02:57] DBG 0x1228 dllmain.cpp (line 29): Executing initialize()
[2017-03-25 01:02:57] DBG 0x1228 script.cpp (line 240): Entering: initialize
[2017-03-25 01:02:57] DBG 0x1228 script.cpp (line 273): Executing hookNamedFunction("mfreadwrite.dll", "MFCreateSinkWriterFromURL", &Hook_MFCreateSinkWriterFromURL, &oMFCreateSinkWriterFromURL, hkMFCreateSinkWriterFromURL)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 12): Entering: initialize
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 16): 8
[2017-03-25 01:02:57] NFO 0x1228 yara-helper.cpp (line 23): Process: base:0x00007FF75F4D0000 size:0x0000000004372E00
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 25): Executing yr_initialize()
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 26): Executing yr_compiler_create(&this->pYrCompiler)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 27): Executing yr_compiler_add_string(this->pYrCompiler, yara_get_render_time_base_function.c_str(), 0)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 28): Leaving: initialize
[2017-03-25 01:02:57] NFO 0x1228 script.cpp (line 281): Image base:00007FF75F4D0000
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 51): Executing yr_compiler_add_string(this->pYrCompiler, build_yara_rule(name, pattern).c_str() , 0)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 51): Executing yr_compiler_add_string(this->pYrCompiler, build_yara_rule(name, pattern).c_str() , 0)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 51): Executing yr_compiler_add_string(this->pYrCompiler, build_yara_rule(name, pattern).c_str() , 0)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 51): Executing yr_compiler_add_string(this->pYrCompiler, build_yara_rule(name, pattern).c_str() , 0)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 51): Executing yr_compiler_add_string(this->pYrCompiler, build_yara_rule(name, pattern).c_str() , 0)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 51): Executing yr_compiler_add_string(this->pYrCompiler, build_yara_rule(name, pattern).c_str() , 0)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 51): Executing yr_compiler_add_string(this->pYrCompiler, build_yara_rule(name, pattern).c_str() , 0)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 33): Entering: performScan
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 35): Executing yr_compiler_get_rules(this->pYrCompiler, &this->rules)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 69): Entering: callback_function
[2017-03-25 01:02:57] NFO 0x1228 yara-helper.cpp (line 80): CALLBACK_MSG_RULE_MATCHING: yara_get_render_time_base_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 85): $pattern(Matches found:1)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 93): Match: b:0000000000000000 o:000000000033D5E0
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 109): Leaving: callback_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 69): Entering: callback_function
[2017-03-25 01:02:57] NFO 0x1228 yara-helper.cpp (line 80): CALLBACK_MSG_RULE_MATCHING: yara_get_game_speed_multiplier_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 85): $pattern(Matches found:1)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 93): Match: b:0000000000000000 o:000000000019A854
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 109): Leaving: callback_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 69): Entering: callback_function
[2017-03-25 01:02:57] NFO 0x1228 yara-helper.cpp (line 80): CALLBACK_MSG_RULE_MATCHING: yara_step_audio_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 85): $pattern(Matches found:1)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 93): Match: b:0000000000000000 o:000000000117AEF0
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 109): Leaving: callback_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 69): Entering: callback_function
[2017-03-25 01:02:57] NFO 0x1228 yara-helper.cpp (line 80): CALLBACK_MSG_RULE_MATCHING: yara_audio_unk01_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 85): $pattern(Matches found:1)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 93): Match: b:0000000000000000 o:000000000157CEF4
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 109): Leaving: callback_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 69): Entering: callback_function
[2017-03-25 01:02:57] NFO 0x1228 yara-helper.cpp (line 80): CALLBACK_MSG_RULE_MATCHING: yara_create_thread_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 85): $pattern(Matches found:1)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 93): Match: b:0000000000000000 o:00000000011D9900
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 109): Leaving: callback_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 69): Entering: callback_function
[2017-03-25 01:02:57] NFO 0x1228 yara-helper.cpp (line 80): CALLBACK_MSG_RULE_MATCHING: yara_create_texture_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 85): $pattern(Matches found:1)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 93): Match: b:0000000000000000 o:000000000124651C
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 109): Leaving: callback_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 69): Entering: callback_function
[2017-03-25 01:02:57] NFO 0x1228 yara-helper.cpp (line 80): CALLBACK_MSG_RULE_MATCHING: yara_wait_for_single_object
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 85): $pattern(Matches found:1)
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 93): Match: b:0000000000000000 o:00000000011D9DE0
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 109): Leaving: callback_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 69): Entering: callback_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 105): Leaving: callback_function
[2017-03-25 01:02:57] DBG 0x1228 yara-helper.cpp (line 47): Leaving: performScan
[2017-03-25 01:02:57] DBG 0x1228 script.cpp (line 307): Executing hookX64Function(pGetRenderTimeBase, &Detour_GetRenderTimeBase, &oGetRenderTimeBase, hkGetRenderTimeBase)
[2017-03-25 01:02:57] ERR 0x1228 script.cpp (line 307): Failed to hook FPS function. ### error code: -2147467260
[2017-03-25 01:02:57] ERR 0x1228 script.cpp (line 369): Failed to hook FPS function.
[2017-03-25 01:02:57] DBG 0x1228 script.cpp (line 394): Executing av_register_all()
[2017-03-25 01:02:57] DBG 0x1228 script.cpp (line 395): Executing avcodec_register_all()
[2017-03-25 01:02:57] DBG 0x1228 script.cpp (line 396): Executing av_log_set_level(AV_LOG_TRACE)
[2017-03-25 01:02:57] DBG 0x1228 script.cpp (line 397): Executing av_log_set_callback(&avlog_callback)
[2017-03-25 01:02:57] DBG 0x1228 script.cpp (line 403): Leaving: initialize
[2017-03-25 01:02:57] NFO 0x1228 dllmain.cpp (line 30): Registering script...
[2017-03-25 01:02:57] DBG 0x1228 dllmain.cpp (line 31): Executing presentCallbackRegister((void(*)(void*))onPresent)
[2017-03-25 01:02:57] DBG 0x1228 dllmain.cpp (line 32): Executing scriptRegister(hModule, ScriptMain)
[2017-03-25 01:03:07] NFO 0x0A70 script.cpp (line 218): BUFFER COUNT: 1
[2017-03-25 01:03:07] DBG 0x0A70 script.cpp (line 219): Executing swapChain->GetBuffer(0, __uuidof(ID3D11Texture2D), (void**)texture.GetAddressOf())
[2017-03-25 01:03:07] DBG 0x0A70 script.cpp (line 220): Executing swapChain->GetDevice(__uuidof(ID3D11Device), (void**)pDevice.GetAddressOf())
[2017-03-25 01:03:07] DBG 0x0A70 script.cpp (line 224): Executing hookVirtualFunction(pDeviceContext.Get(), 13, &Draw, &oDraw, hkDraw)
[2017-03-25 01:03:07] DBG 0x0A70 script.cpp (line 225): Executing hookVirtualFunction(pDeviceContext.Get(), 33, &Hook_OMSetRenderTargets, &oOMSetRenderTargets, hkOMSetRenderTargets)
[2017-03-25 01:03:07] DBG 0x0A70 script.cpp (line 227): Executing pDevice.As(&pDXGIDevice)
[2017-03-25 01:03:07] DBG 0x0A70 script.cpp (line 230): Executing pDXGIDevice->GetParent(__uuidof(IDXGIAdapter), (void**)pDXGIAdapter.GetAddressOf())
[2017-03-25 01:03:07] DBG 0x0A70 script.cpp (line 231): Executing pDXGIAdapter->GetParent(__uuidof(IDXGIFactory), (void**)pDXGIFactory.GetAddressOf())
[2017-03-25 01:04:07] DBG 0x1228 script.cpp (line 407): Entering: ScriptMain
[2017-03-25 01:04:07] NFO 0x1228 script.cpp (line 408): Starting main loop
[2017-03-25 01:05:22] DBG 0x205C script.cpp (line 560): Entering: Hook_MFCreateSinkWriterFromURL
[2017-03-25 01:05:22] DBG 0x205C script.cpp (line 564): Executing hookVirtualFunction(*ppSinkWriter, 3, &Hook_IMFSinkWriter_AddStream, &oIMFSinkWriter_AddStream, hkIMFSinkWriter_AddStream)
[2017-03-25 01:05:23] DBG 0x205C script.cpp (line 565): Executing hookVirtualFunction(*ppSinkWriter, 4, &IMFSinkWriter_SetInputMediaType, &oIMFSinkWriter_SetInputMediaType, hkIMFSinkWriter_SetInputMediaType)
[2017-03-25 01:05:23] DBG 0x205C script.cpp (line 566): Executing hookVirtualFunction(*ppSinkWriter, 6, &Hook_IMFSinkWriter_WriteSample, &oIMFSinkWriter_WriteSample, hkIMFSinkWriter_WriteSample)
[2017-03-25 01:05:23] DBG 0x205C script.cpp (line 567): Executing hookVirtualFunction(*ppSinkWriter, 11, &Hook_IMFSinkWriter_Finalize, &oIMFSinkWriter_Finalize, hkIMFSinkWriter_Finalize)
[2017-03-25 01:05:23] DBG 0x205C script.cpp (line 572): Leaving: Hook_MFCreateSinkWriterFromURL
[2017-03-25 01:05:23] DBG 0x205C script.cpp (line 581): Entering: Hook_IMFSinkWriter_AddStream
[2017-03-25 01:05:23] NFO 0x205C script.cpp (line 582): IMFSinkWriter::AddStream: Video: FRAME_SIZE=W:1914 H:1052; AVG_BITRATE=720000; MAJOR_TYPE=Video; 96F66574-11C5-4015-8666-BFF516436DA7=42; AD76A80B-2D5C-4E0B-B375-64E520137036=100; FRAME_RATE=W:30000 H:1001; PIXEL_ASPECT_RATIO=W:1 H:1; INTERLACE_MODE=2; SUBTYPE=H264;
[2017-03-25 01:05:23] DBG 0x205C script.cpp (line 583): Leaving: Hook_IMFSinkWriter_AddStream
[2017-03-25 01:05:23] DBG 0x205C script.cpp (line 593): Entering: IMFSinkWriter_SetInputMediaType
[2017-03-25 01:05:23] NFO 0x205C script.cpp (line 594): IMFSinkWriter::SetInputMediaType: Video: FRAME_SIZE=W:1914 H:1052; MAJOR_TYPE=Video; FRAME_RATE=W:30000 H:1001; PIXEL_ASPECT_RATIO=W:1 H:1; ALL_SAMPLES_INDEPENDENT=1; INTERLACE_MODE=2; SUBTYPE=MFVideoFormat_NV12;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment