Function at 0x407ab1
Capabilities:
Print debug messages

Disassembly:
push ebp
sub esp, 0x81c
lea ebp, [esp - 4]
mov eax, dword [0x4313f4]
xor eax, ebp
mov dword [ebp + 0x81c], eax
push 0xe4
mov eax, 0x41b4c9
call fcn.004127a4
mov eax, dword [ebp + 0x834]
mov edi, ecx
mov dword [edi], eax
mov eax, dword [ebp + 0x82c]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x830]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x840]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x828]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x83c]
xor esi, esi
mov dword [edi + 0x14], eax
cmp dword [0x4317fc], esi
je 0x407b89
mov eax, dword [0x431f84]
test eax, eax
jne 0x407b89
mov eax, dword [0x4317fc]
push esi
add eax, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00401764
mov dword [ebp - 4], 0x11
push 1
push esi
push esi
push dword [edi + 0x10]
push esi
push dword [edi]
push dword [edi + 4]
call fcn.00407313
pop ecx
pop ecx
mov ecx, eax
call fcn.0040687b
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x838], esi
jne 0x407b6f
mov eax, dword [0x4317fc]
add eax, 0xc
push eax
call ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], esi
je 0x407cfc
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 0x10], esi
jmp 0x407cfc
xor eax, eax
push 0x7fe
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push esi
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 0x41ecf4
lea eax, [ebp + 0x1c]
push 0x100
push eax
call dword [sym.imp.MSVCR90.dll__snwprintf]
add esp, 0x14
push dword [edi + 0x10]
lea ecx, [ebp - 0xb8]
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 dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
push 0x41ecf0
lea ecx, [ebp - 0x80]
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
mov byte [ebp - 4], 1
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x48]
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], 2
mov ebx, 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__]
push esi
push eax
lea eax, [ebp - 0x9c]
push eax
call ebx
mov byte [ebp - 4], 3
push dword [edi + 4]
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__]
push eax
lea eax, [ebp - 0x2c]
push eax
call esi
mov byte [ebp - 4], 4
push 0x4204d8
push eax
lea eax, [ebp - 0x64]
push eax
call esi
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xf0]
push eax
call ebx
mov byte [ebp - 4], 6
push 0x4204ac
push eax
lea eax, [ebp - 0xd4]
push eax
call esi
mov byte [ebp - 4], 7
push 0x4204a8
push eax
lea eax, [ebp]
push eax
call esi
add esp, 0x48
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
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 - 0xf0]
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 - 0x64]
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 - 0x2c]
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], 0xd
lea ecx, [ebp - 0x9c]
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], 0xe
lea ecx, [ebp - 0x48]
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], 0xf
lea ecx, [ebp - 0x80]
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], 0x10
lea ecx, [ebp - 0xb8]
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_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x81c]
xor ecx, ebp
call fcn.0041276a
add ebp, 0x820
leave
ret 0x1c