Function at 0x408360
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x415fb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x910
mov eax, dword [0x4251a4]
mov edx, dword [ebp + 0x10]
xor eax, ebp
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x910], eax
mov eax, dword [ebp + 0x14]
mov dword [esi], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 8], edx
mov edx, dword [ebp + 0x1c]
push edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov edi, dword [0x4251d4]
xor ebx, ebx
cmp edi, ebx
je 0x408448
cmp dword [0x425b88], ebx
jne 0x408448
add edi, 0xc
cmp edi, ebx
mov dword [esp + 0x10], ebx
je 0x4083e5
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x10], edi
mov dword [esp + 0x924], 0x11
mov eax, dword [esi + 0x10]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push 1
push ebx
push ebx
push eax
push ebx
push ecx
push edx
call fcn.00407790
add esp, 8
mov ecx, eax
call fcn.00407d80
cmp dword [ebp + 0x18], ebx
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x408425
mov eax, dword [0x4251d4]
add eax, 0xc
push eax
call edi
mov dword [esp + 0x924], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x408630
push eax
call edi
mov dword [esp + 0x10], ebx
jmp 0x408630
mov word [esp + 0x110], bx
xor eax, eax
mov ecx, 0x1ff
lea edi, [esp + 0x112]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.00401ef0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x418854
lea ecx, [esp + 0x11c]
push 0x100
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov edx, dword [esi + 0x10]
add esp, 0x14
push edx
lea ecx, [esp + 0xdc]
call dword [sym.imp.MSVCP71.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 dword [esp + 0x924], ebx
push 0x418850
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP71.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 byte [esp + 0x924], 1
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP71.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 + 0x924], 2
push ebx
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004026b0
mov byte [esp + 0x930], 3
mov edx, dword [esi + 4]
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004027b0
mov byte [esp + 0x93c], 4
push 0x419f8c
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.004027b0
mov byte [esp + 0x948], 5
push edi
push eax
lea edx, [esp + 0xe8]
push edx
call fcn.004026b0
mov byte [esp + 0x954], 6
push 0x419f60
push eax
lea eax, [esp + 0x84]
push eax
call fcn.004027b0
mov byte [esp + 0x960], 7
push 0x419f5c
push eax
lea ecx, [esp + 0x138]
push ecx
call fcn.004027b0
add esp, 0x48
mov byte [esp + 0x924], 0x10
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP71.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 + 0x924], 0xf
lea ecx, [esp + 0xbc]
call dword [sym.imp.MSVCP71.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 + 0x924], 0xe
lea ecx, [esp + 0x84]
call dword [sym.imp.MSVCP71.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 + 0x924], 0xd
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP71.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 + 0x924], 0xc
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP71.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 + 0x924], 0xb
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP71.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 + 0x924], 0xa
lea ecx, [esp + 0xa0]
call dword [sym.imp.MSVCP71.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 + 0x924], 9
lea ecx, [esp + 0xd8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xf4]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [esp + 0x924], 0xffffffff
lea ecx, [esp + 0xf4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x91c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x914]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f09
mov esp, ebp
pop ebp
ret 0x1c