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

Disassembly:
push 0xffffffffffffffff
push 0x427820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
mov ebp, ecx
push edi
lea ecx, [ebp + 0x54]
mov dword [esp + 0x14], ebp
xor ebx, ebx
xor esi, esi
call fcn.0040ed60
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401310
mov eax, dword [esp + 0x40]
push ebx
push 0x42a46c
push eax
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], ebx
call fcn.00402b70
test eax, eax
je 0x40f7df
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x90], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x50]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov esi, 1
mov byte [ecx + 4], bl
call fcn.00401310
lea eax, [esp + 0x64]
push eax
call fcn.004104a0
add esp, 0x20
mov byte [esp + 0x6c], 1
jmp 0x40f935
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ebp, dword [ebp + 0x64]
lea edx, [ebp + 0x20]
mov byte [esp + 0x6c], 2
mov dword [esp + 0x74], edx
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
cmp ebp, dword [eax + 0x68]
je 0x40f8eb
lea ecx, [esp + 0x1c]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push ebp
mov byte [ecx + 4], bl
call fcn.00401310
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edi
mov byte [esp + 0xb4], 3
mov byte [ecx + 4], bl
call fcn.00401310
mov byte [esp + 0xa8], 2
call fcn.0040f370
mov esi, eax
add esp, 0x3c
cmp esi, ebx
je 0x40f8d5
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x14], 0x10
lea edx, [esp + 0x1c]
push edx
jb 0x40f87c
mov eax, dword [eax]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
push ecx
call fcn.00410470
lea edx, [esp + 0x70]
add esp, 8
push edx
call fcn.0040d5b0
add esp, 0x24
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x78], 4
call fcn.00401310
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0x6c], 2
jb 0x40f8c5
mov eax, dword [esp + 0x4c]
push eax
call fcn.0041e69d
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov ecx, dword [esp + 0x74]
add ecx, 0x38
add ebp, 0x38
cmp esi, ebx
mov dword [esp + 0x74], ecx
je 0x40f800
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x6c], bl
je 0x40f919
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
call fcn.004044f0
mov edx, dword [esp + 0x30]
push edx
call fcn.0041e69d
add esp, 0x14
cmp esi, ebx
jne 0x40f954
push edi
lea eax, [esp + 0x4c]
push str.PST_STRING:
push eax
call fcn.0040a390
add esp, 0xc
mov byte [esp + 0x6c], 5
push 0xffffffffffffffff
push ebx
mov ecx, edi
push eax
call fcn.00401310
cmp dword [esp + 0x60], 0x10
jb 0x40f954
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0041e69d
add esp, 4
cmp dword [esp + 0x44], 0x10
jb 0x40f968
mov edx, dword [esp + 0x30]
push edx
call fcn.0041e69d
add esp, 4
mov ecx, dword [esp + 0x64]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 4