Function at 0x409a0c
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x413fe6
call fcn.00413240
sub esp, 0x4c8
mov eax, dword [0x4241a4]
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
push esi
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [0x425bf0]
push edi
lea eax, [eax + ecx*2]
push eax
push 0x4189b8
push str._s_s
lea eax, [ebp - 0x410]
push 0xff
push eax
call ebx
xor edi, edi
add esp, 0x14
cmp dword [0x4241d4], edi
jne 0x409bbe
mov word [ebp - 0x210], di
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x20e]
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 str.__d__WARN___s_
lea eax, [ebp - 0x210]
push 0x100
push eax
call ebx
add esp, 0x14
push 0x416d28
lea ecx, [ebp - 0x464]
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
and dword [ebp - 4], 0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x4b8]
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], 1
push esi
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00403680
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x410]
push ecx
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.00403732
mov byte [ebp - 4], 3
push 0x418984
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.00403732
mov byte [ebp - 4], 4
push 0x418958
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.00403732
mov byte [ebp - 4], 5
push 0x418954
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.00403732
add esp, 0x3c
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x480]
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 - 0x49c]
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 - 0x4d4]
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 - 0x448]
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], 8
lea ecx, [ebp - 0x4b8]
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], 7
lea ecx, [ebp - 0x464]
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 - 0x42c]
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 - 0x42c]
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 0x409c22
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x409c07
xor ecx, ecx
cmp dword [esi], edi
sete cl
push ecx
push eax
push dword [esi + 0xc]
call fcn.00407881
add esp, 0xc
push 1
push edi
push edi
push eax
push edi
push dword [esi]
lea eax, [ebp - 0x410]
push eax
call fcn.00408cd1
pop ecx
pop ecx
mov ecx, eax
call fcn.00409263
mov eax, dword [0x4241d4]
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x409c22
push dword [esi + 8]
lea eax, [ebp - 0x410]
push dword [esi]
push eax
call fcn.00408cd1
pop ecx
pop ecx
push eax
call fcn.0040973c
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.00413159
leave
ret