Function at 0x40c280
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x421457
mov eax, dword fs:[0]
push eax
sub esp, 0x908
mov eax, dword [0x4300b8]
xor eax, esp
mov dword [esp + 0x904], eax
push ebx
push ebp
push edi
mov eax, dword [0x4300b8]
xor eax, esp
push eax
lea eax, [esp + 0x918]
mov dword fs:[0], eax
mov eax, dword [esp + 0x92c]
xor ebp, ebp
mov dword [esi], eax
mov eax, dword [esp + 0x928]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebp
cmp dword [0x430e50], ebp
je 0x40c36a
mov ecx, dword [0x432c20]
test ecx, ecx
jne 0x40c36a
mov ebx, dword [0x430e50]
add ebx, 0xc
xor edi, edi
mov dword [esp + 0x14], edi
cmp ebx, ebp
je 0x40c311
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x920], 0x11
mov edx, dword [esi + 0x10]
push 1
push edx
mov edx, dword [esi]
push ebp
push ecx
mov ecx, dword [esi + 4]
call fcn.00411ce0
add esp, 4
xor ecx, ecx
mov edx, eax
call fcn.00416620
mov eax, dword [0x430e50]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0xc
push eax
call ebx
mov dword [esp + 0x920], 0xffffffff
cmp edi, ebp
je 0x40c569
push edi
call ebx
mov dword [esp + 0x14], ebp
jmp 0x40c569
push 0x7fe
lea edx, [esp + 0x11a]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x120], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
call fcn.00415a50
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__d___WARN____s_
lea eax, [esp + 0x120]
push 0x100
push eax
call dword [sym.imp.MSVCR90.dll__snwprintf]
mov ecx, dword [esi + 0x10]
add esp, 0x14
push ecx
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ebx, eax
mov dword [esp + 0x920], ebp
push 0x4257f4
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov edi, eax
mov byte [esp + 0x920], 1
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x920], 2
mov ebp, dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push edi
push eax
lea eax, [esp + 0x3c]
push eax
call ebp
add esp, 0xc
mov byte [esp + 0x920], 3
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
call edi
add esp, 0xc
mov byte [esp + 0x920], 4
push 0x425828
push eax
lea eax, [esp + 0x90]
push eax
call edi
add esp, 0xc
mov byte [esp + 0x920], 5
push ebx
push eax
lea ecx, [esp + 0xc8]
push ecx
call ebp
add esp, 0xc
mov byte [esp + 0x920], 6
push 0x4257fc
push eax
lea edx, [esp + 0x58]
push edx
call edi
add esp, 0xc
mov byte [esp + 0x920], 7
push 0x4257f8
push eax
lea eax, [esp + 0x100]
push eax
call edi
add esp, 0xc
mov byte [esp + 0x920], 9
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x920], 0xa
lea ecx, [esp + 0xc0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x920], 0xb
lea ecx, [esp + 0x88]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x920], 0xc
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x920], 0xd
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x920], 0xe
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x920], 0xf
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x920], 0x10
lea ecx, [esp + 0xdc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x110], 8
mov eax, dword [esp + 0xfc]
jae 0x40c54a
lea eax, [esp + 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [esp + 0x920], 0xffffffff
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x918]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x904]
xor ecx, esp
call fcn.0041e4d2
add esp, 0x914
ret 8