Function at 0x409792
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x413f88
call fcn.00413240
sub esp, 0x904
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, ecx
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [0x4241d4]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x409852
cmp dword [0x425bc4], ebx
jne 0x409852
push ebx
add eax, 0xc
push eax
lea ecx, [ebp - 0x830]
call fcn.004017b9
mov dword [ebp - 4], 0x11
push 1
push ebx
push ebx
push dword [esi + 0x10]
push ebx
push dword [esi]
push dword [esi + 4]
call fcn.00408cd1
pop ecx
pop ecx
mov ecx, eax
call fcn.00409263
cmp dword [ebp + 0x18], ebx
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x40982f
mov eax, dword [0x4241d4]
add eax, 0xc
push eax
call edi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x830], ebx
je 0x4099ef
push dword [ebp - 0x830]
call edi
mov dword [ebp - 0x830], ebx
jmp 0x4099ef
mov word [ebp - 0x810], bx
xor eax, eax
mov ecx, 0x1ff
lea edi, [ebp - 0x80e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.00401af0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x416d2c
lea eax, [ebp - 0x810]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
push dword [esi + 0x10]
lea ecx, [ebp - 0x8d8]
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 [ebp - 4], ebx
push 0x416d28
lea ecx, [ebp - 0x8a0]
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 [ebp - 4], 1
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x868]
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 [ebp - 4], 2
push ebx
push eax
lea eax, [ebp - 0x8bc]
push eax
call fcn.00403680
mov byte [ebp - 4], 3
push dword [esi + 4]
push eax
lea eax, [ebp - 0x84c]
push eax
call fcn.00403732
mov byte [ebp - 4], 4
push 0x418984
push eax
lea eax, [ebp - 0x884]
push eax
call fcn.00403732
mov byte [ebp - 4], 5
push edi
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.00403680
mov byte [ebp - 4], 6
push 0x418958
push eax
lea eax, [ebp - 0x8f4]
push eax
call fcn.00403732
mov byte [ebp - 4], 7
push 0x418954
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.00403732
add esp, 0x48
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x8f4]
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 [ebp - 4], 0xf
lea ecx, [ebp - 0x910]
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 [ebp - 4], 0xe
lea ecx, [ebp - 0x884]
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 [ebp - 4], 0xd
lea ecx, [ebp - 0x84c]
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 [ebp - 4], 0xc
lea ecx, [ebp - 0x8bc]
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 [ebp - 4], 0xb
lea ecx, [ebp - 0x868]
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 [ebp - 4], 0xa
lea ecx, [ebp - 0x8a0]
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 [ebp - 4], 9
lea ecx, [ebp - 0x8d8]
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, [ebp - 0x82c]
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]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
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 [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413159
leave
ret 0x1c