Function at 0x6734be40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x674092cc
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
push 1
push 2
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
cmp byte [ebp + 8], 0
mov dword [esp + 0xb8], 0
push esi
je 0x6734bee3
push ecx
push 0x67431218
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.___TID:
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x44]
push str._PID:
push eax
call fcn.67324bc0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push eax
call fcn.67324bc0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push eax
call fcn.67324bc0
add esp, 0xc
push eax
jmp 0x6734bee8
lea ecx, [esp + 0x30]
push ecx
call fcn.67324bc0
add esp, 8
test byte [ebx + 0x4c], 1
je 0x6734bf01
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
jmp 0x6734bf07
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebx + 0x4c], 2
je 0x6734bfef
cmp dword [ebx + 0x40], 0
mov edi, 8
jne 0x6734bf74
cmp dword [0x67464f60], edi
mov eax, dword [0x67464f4c]
jae 0x6734bf2e
mov eax, 0x67464f4c
push eax
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
test eax, eax
mov dword [ebx + 0x40], eax
jne 0x6734bf4e
push str.ERR___:_CLogger::LogMessage___Semaphore_creation_has_failed.
call esi
jmp 0x6734bfef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x6734bf74
mov edx, dword [ebx + 0x40]
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x6734bf74
push str.ERR___:_CLogger::WriteFile___ReleaseSemaphore_after_initiation_has_failed.
call esi
mov eax, dword [ebx + 0x40]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x6734bf90
push str.ERR___:_CLogger::WriteFile___Wait_operation_has_failed.
call esi
jmp 0x6734bfef
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x6734bfa4
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
cmp dword [eax + 0x18], edi
jb 0x6734bfbd
mov esi, dword [eax + 4]
jmp 0x6734bfc0
lea esi, [eax + 4]
mov edi, dword [ebx + 0x44]
call fcn.673511c0
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [ebx + 0x40]
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x6734bfef
push str.ERR___:_CLogger::WriteFile___ReleaseSemaphore_has_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb8], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4