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

Disassembly:
push 0xffffffffffffffff
push 0x449288
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4563d0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4563d0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebp
mov esi, ecx
call fcn.00403480
mov dword [esp + 0x48], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x48]
mov dword [eax], eax
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x98], ebx
cmp word [esi], bx
mov edi, esi
je 0x4073d2
mov edi, edi
push 0x3d
push edi
call fcn.00422b8f
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x4073a4
mov ecx, ebp
sub ecx, edi
sar ecx, 1
push ecx
push edi
lea edx, [esp + 0x64]
push 0x18
push edx
call fcn.00422bb1
lea eax, [esp + 0x6c]
add esp, 0x10
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407334
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x60]
push eax
lea esi, [esp + 0x24]
call fcn.004031d0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0xa0], 1
lea esi, [ebp + 2]
call fcn.00401760
mov ecx, esi
lea ebp, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x407371
sub ecx, ebp
sar ecx, 1
push ecx
push esi
mov esi, eax
call fcn.004031d0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x34], 8
jb 0x4073a4
mov eax, dword [esp + 0x20]
push eax
call fcn.00422ece
add esp, 4
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4073b0
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 + 2], bx
lea edi, [edi + eax*2 + 2]
jne 0x4072f0
mov ebp, dword [esp + 0x18]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4073d7
sub eax, edx
sar eax, 1
movzx ecx, word [ebp + eax*2 - 2]
lea esi, [ebp + eax*2 - 2]
push ecx
call fcn.004234fa
add esp, 4
test eax, eax
je 0x407414
lea esp, [esp]
movzx edx, word [esi - 2]
sub esi, 2
push edx
call fcn.004234fa
add esp, 4
test eax, eax
jne 0x407400
mov word [esi + 2], bx
mov esi, ebp
call fcn.00405b50
push 9
mov ebp, 7
push 0x44d4bc
lea esi, [esp + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.004031d0
mov ebx, esi
lea eax, [esp + 0x44]
mov byte [esp + 0x98], 2
call fcn.00403430
mov esi, eax
lea edi, [esp + 0x44]
mov eax, edi
call fcn.00403170
mov edx, dword [esp + 0x38]
push edx
push esi
push edi
mov ecx, edi
push eax
xor ebx, ebx
push ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
call fcn.00403d90
add esp, 0x14
cmp dword [esp + 0x18], ebx
mov edi, 8
seta byte [esp + 0x17]
mov byte [esp + 0x98], bl
cmp dword [esp + 0x34], edi
jb 0x4074aa
mov eax, dword [esp + 0x20]
push eax
call fcn.00422ece
add esp, 4
cmp byte [esp + 0x17], bl
je 0x407571
push 9
push 0x44d4bc
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.004031d0
mov ecx, esi
push ecx
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0xa0], 3
call fcn.00401760
cmp dword [eax + 0x18], edi
jb 0x4074f0
mov eax, dword [eax + 4]
jmp 0x4074f3
add eax, 4
push eax
call fcn.004233b6
add esp, 4
mov byte [esp + 0x98], bl
cmp dword [esp + 0x34], edi
mov dword [esp + 0x40], eax
jb 0x40751a
mov eax, dword [esp + 0x20]
push eax
call fcn.00422ece
add esp, 4
push 9
push 0x44d4bc
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.004031d0
mov eax, esi
lea esi, [esp + 0x44]
mov byte [esp + 0x98], 4
call fcn.004018c0
mov byte [esp + 0x98], bl
cmp dword [esp + 0x34], edi
jb 0x407564
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00422ece
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov ebx, dword [esp + 0x38]
mov esi, dword [ebx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x3c]
push edx
push eax
push esi
call fcn.00413a20
mov ecx, 1
mov edx, ebx
mov edi, eax
call fcn.00413ab0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
lea eax, [esp + 0x44]
mov dword [esp + 0x98], 0xffffffff
call fcn.004024e0
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00422834
add esp, 0x88
ret 8