Function at 0x40f010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44ada8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x465ac0]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x465ac0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xbc]
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0x1c], eax
sub esp, 0x1c
mov esi, esp
xor ebx, ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x34], esp
mov edi, 7
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 3
mov eax, 0x45a0e0
mov word [esi + 4], cx
call fcn.00401680
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
mov byte [esp + 0xcc], 1
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0xe0]
mov word [ecx + 4], dx
call fcn.00401730
lea edx, [esp + 0x60]
mov ecx, ebp
mov byte [esp + 0xcc], bl
call fcn.0040f2d0
mov byte [esp + 0x94], 2
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x40f0df
lea eax, [esp + 0x2c]
push eax
call fcn.0043230e
mov ecx, eax
xor eax, eax
add esp, 4
cmp ecx, 1
mov dword [esp + 0x18], ecx
mov word [esp + 0x60], ax
mov dword [esp + 0x62], eax
mov dword [esp + 0x66], eax
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov dword [esp + 0x76], eax
mov dword [esp + 0x7a], eax
mov dword [esp + 0x7e], eax
mov dword [esp + 0x82], eax
mov word [esp + 0x86], ax
mov dword [esp + 0x14], 1
jl 0x40f265
mov ecx, dword [esp + 0x14]
xor eax, eax
push ecx
lea edx, [esp + 0x64]
push 0x457fec
push edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
call dword [sym.imp.USER32.dll_wsprintfW]
sub esp, 0x10
mov esi, esp
xor eax, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
lea eax, [esp + 0x7c]
mov dword [esp + 0x3c], esp
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x40f1a0
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x80]
call fcn.00401680
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
mov byte [esp + 0xcc], 3
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0xe0]
mov word [ecx + 4], dx
call fcn.00401730
lea edx, [esp + 0x7c]
mov ecx, ebp
mov byte [esp + 0xcc], 2
call fcn.0040f2d0
mov byte [esp + 0x94], 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
jbe 0x40f231
mov edi, 8
lea ecx, [esp + 0x44]
call fcn.0040f640
test eax, eax
je 0x40f22c
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
call fcn.0040f460
xor ebx, ebx
mov edi, 7
mov byte [esp + 0x94], 2
cmp dword [esp + 0x5c], 8
jb 0x40f24d
mov eax, dword [esp + 0x48]
push eax
call fcn.0041455c
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jle 0x40f135
mov esi, 8
cmp dword [esp + 0x40], esi
jb 0x40f278
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0041455c
add esp, 4
xor edx, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
cmp dword [esp + 0xb8], esi
jb 0x40f2a0
mov eax, dword [esp + 0xa4]
push eax
call fcn.0041455c
add esp, 4
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00430e7d
add esp, 0x84
ret 0x24