Function at 0x40f0e0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4288ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x864
mov eax, dword [0x43416c]
mov ecx, dword [esp + 0x874]
push ebx
push esi
push edi
mov dword [esp + 0x86c], eax
lea eax, [esp + 0x884]
push eax
push ecx
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov cl, byte [esp + eax + 0x6c]
lea eax, [esp + eax + 0x6c]
xor ebx, ebx
cmp cl, 0xa
jne 0x40f142
mov byte [eax], bl
call fcn.0040ef50
add eax, 0x1ac
push eax
lea ecx, [esp + 0x64]
call fcn.00403f50
mov dword [esp + 0x878], ebx
call fcn.0040ef50
cmp byte [eax + 0x1d8], bl
je 0x40f1ee
call fcn.0040ef50
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
jne 0x40f18a
call fcn.0040ef50
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
call fcn.0040ef50
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
je 0x40f1ee
call fcn.0040ef50
mov edx, dword [eax]
lea ecx, [esp + 0x6c]
push ecx
push ebx
push 0x180
mov ecx, eax
call dword [edx + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
call fcn.0040ef50
mov edx, dword [eax]
push ebx
push ebx
push 0x18b
mov ecx, eax
call dword [edx + 0x1c]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x40f1ee
call fcn.0040ef50
mov edx, dword [eax]
push ebx
dec edi
push edi
push 0x186
mov ecx, eax
call dword [edx + 0x1c]
push eax
call esi
call fcn.0040ef50
cmp byte [eax + 0x1d9], bl
je 0x40f354
call fcn.0040ef50
mov ecx, eax
call fcn.0040e7c0
push 2
mov edi, 0xf
push 0x42a9a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401930
lea eax, [esp + 0x6c]
mov byte [esp + 0x878], 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40f247
sub eax, edx
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x14]
call fcn.00401930
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x884], 2
call fcn.00401c90
mov ecx, dword [eax + 0x18]
mov esi, 0x10
add esp, 0xc
cmp ecx, esi
jb 0x40f28f
mov eax, dword [eax + 4]
jmp 0x40f292
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x5c], esi
jb 0x40f2ac
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x24], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x40f2cb
mov edx, dword [esp + 0x10]
push edx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov byte [esp + 0x878], bl
jb 0x40f2f1
mov eax, dword [esp + 0x2c]
push eax
call fcn.004043d0
add esp, 4
lea eax, [esp + 0x6c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40f304
sub eax, edx
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401930
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x87c], 3
call fcn.0040ef50
mov ecx, eax
call fcn.0040e660
cmp dword [esp + 0x24], esi
jb 0x40f348
mov eax, dword [esp + 0x10]
push eax
call fcn.004043d0
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea ecx, [esp + 0x60]
mov dword [esp + 0x878], 0xffffffff
call fcn.00404060
mov ecx, dword [esp + 0x870]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x864]
pop ebx
call fcn.0041def4
add esp, 0x870
ret