Function at 0x407d23
Capabilities:
Print debug messages

Disassembly:
push ebp
sub esp, 0x41c
lea ebp, [esp - 4]
mov eax, dword [0x4313f4]
xor eax, ebp
mov dword [ebp + 0x41c], eax
push 0xa8
mov eax, 0x41b539
call fcn.004127a4
mov esi, dword [sym.imp.MSVCR90.dll__snwprintf]
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [0x431f7c]
lea eax, [eax + ecx*2]
push eax
push 0x42050c
push str._s_s
lea eax, [ebp + 0x1c]
push 0xff
push eax
call esi
add esp, 0x14
cmp dword [0x4317fc], 0
jne 0x407eba
xor eax, eax
push 0x1fe
push eax
mov word [ebp + 0x21c], ax
lea eax, [ebp + 0x21e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
call fcn.00401ac2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__d__WARN___s_
lea eax, [ebp + 0x21c]
push 0x100
push eax
call esi
add esp, 0x14
push 0x41ecf0
lea ecx, [ebp - 0x44]
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 esi, eax
and dword [ebp - 4], 0
lea eax, [ebp + 0x21c]
push eax
lea ecx, [ebp - 0x98]
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 [ebp - 4], 1
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call 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__]
mov byte [ebp - 4], 2
mov esi, 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__]
lea ecx, [ebp + 0x1c]
push ecx
push eax
lea eax, [ebp - 0xb4]
push eax
call esi
mov byte [ebp - 4], 3
push 0x4204d8
push eax
lea eax, [ebp - 0x7c]
push eax
call esi
mov byte [ebp - 4], 4
push 0x4204ac
push eax
lea eax, [ebp - 0x60]
push eax
call esi
mov byte [ebp - 4], 5
push 0x4204a8
push eax
lea eax, [ebp]
push eax
call esi
add esp, 0x3c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
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 [ebp - 4], 8
lea ecx, [ebp - 0x7c]
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 [ebp - 4], 9
lea ecx, [ebp - 0xb4]
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 [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
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 [ebp - 4], 0xb
lea ecx, [ebp - 0x98]
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 [ebp - 4], 0xc
lea ecx, [ebp - 0x44]
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_]
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.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]
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_]
jmp 0x407ed8
cmp dword [edi + 0x14], 0
jne 0x407ed8
push dword [edi + 8]
lea eax, [ebp + 0x1c]
push dword [edi]
push eax
call fcn.00407313
pop ecx
pop ecx
push eax
call fcn.00406d6c
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x41c]
xor ecx, ebp
call fcn.0041276a
add ebp, 0x420
leave
ret