Function at 0x408660
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x416024
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d0
mov eax, dword [0x4251a4]
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
push esi
xor eax, ebp
mov esi, ecx
mov ecx, dword [0x425bb8]
mov dword [esp + 0x4d0], eax
mov eax, dword [esi + 4]
push edi
lea edx, [eax + ecx*2]
push edx
push 0x419fc0
push str._s_s
lea eax, [esp + 0x2dc]
push 0xff
push eax
call ebx
mov eax, dword [0x4251d4]
add esp, 0x14
test eax, eax
jne 0x408861
mov word [esp + 0xd0], 0
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0xd2]
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 str.__d__WARN___s_
lea ecx, [esp + 0xdc]
push 0x100
push ecx
call ebx
add esp, 0x14
push 0x418850
lea ecx, [esp + 0x48]
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 esi, eax
mov dword [esp + 0x4e4], 0
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x9c]
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 + 0x4e4], 1
push esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004026b0
mov byte [esp + 0x4f0], 2
lea ecx, [esp + 0x2dc]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.004027b0
mov byte [esp + 0x4fc], 3
push 0x419f8c
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.004027b0
mov byte [esp + 0x508], 4
push 0x419f60
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.004027b0
mov byte [esp + 0x514], 5
push 0x419f5c
push eax
lea edx, [esp + 0xec]
push edx
call fcn.004027b0
add esp, 0x3c
mov byte [esp + 0x4e4], 0xc
lea ecx, [esp + 0x60]
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 + 0x4e4], 0xb
lea ecx, [esp + 0x7c]
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 + 0x4e4], 0xa
lea ecx, [esp + 0x28]
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 + 0x4e4], 9
lea ecx, [esp + 0xc]
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 + 0x4e4], 8
lea ecx, [esp + 0x98]
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 + 0x4e4], 7
lea ecx, [esp + 0x44]
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 + 0xb4]
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 + 0x4e4], 0xffffffff
lea ecx, [esp + 0xb4]
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_]
jmp 0x408888
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x408888
mov eax, dword [esi + 8]
mov ecx, dword [esi]
push eax
push ecx
lea edx, [esp + 0x2d8]
push edx
call fcn.00407790
add esp, 8
push eax
call fcn.004082d0
add esp, 8
mov ecx, dword [esp + 0x4dc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4d4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414f09
mov esp, ebp
pop ebp
ret