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

Disassembly:
push 0xffffffffffffffff
push 0x5a9b52
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [esp + 0x110]
mov ebp, ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x3c], eax
call fcn.00494880
xor ebx, ebx
push 4
mov esi, 0xf
push str.data
lea ecx, [esp + 0xe8]
mov dword [esp + 0x110], ebx
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
call fcn.00401db0
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x110], 1
call fcn.00495c50
add esp, 8
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x10c], 2
call fcn.00494080
cmp dword [esp + 0xc0], 4
jb 0x40285d
mov eax, dword [esp + 0xac]
push eax
call fcn.0058984a
add esp, 4
cmp dword [esp + 0xf8], 0x10
mov dword [esp + 0xc0], 3
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0x108], bl
jb 0x402897
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.0058984a
add esp, 4
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov dword [esp + 0xf8], esi
mov esi, dword [ebp]
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov ebp, dword [ebp + 0x18]
mov eax, dword [edx]
cmp esi, ebx
je 0x4028d1
cmp esi, eax
je 0x4028d6
call fcn.00589a8c
cmp edi, ebp
je 0x402b6a
cmp esi, ebx
jne 0x402b5c
call fcn.00589a8c
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4028f7
call fcn.00589a8c
mov eax, dword [edi + 0xc]
mov dword [esp + 0x44], eax
cmp esi, ebx
jne 0x402b63
call fcn.00589a8c
xor esi, esi
cmp edi, dword [esi + 0x18]
jne 0x402917
call fcn.00589a8c
mov ecx, dword [edi + 0x10]
mov edx, dword [section..data]
mov edi, 0xf
mov eax, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402940
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00401db0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x110], 3
call fcn.00495c50
add esp, 8
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x10c], 4
call fcn.00494080
mov ebp, 4
cmp dword [esp + 0x60], ebp
jb 0x40299b
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x60], 3
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x108], bl
jb 0x4029c6
mov edx, dword [esp + 0x24]
push edx
call fcn.0058984a
add esp, 4
mov edx, dword [str.index]
mov eax, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4029f0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x6c]
call fcn.00401db0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xc8]
push ecx
mov byte [esp + 0x110], 5
call fcn.00495c50
add esp, 8
lea edx, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x110], 6
call fcn.004947d0
cmp dword [esp + 0xdc], ebp
jb 0x402a54
mov eax, dword [esp + 0xc8]
push eax
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0xdc], 3
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xc8], ebx
mov byte [esp + 0x108], bl
jb 0x402a88
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0058984a
add esp, 4
mov edx, dword [str.value]
mov eax, edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea esi, [eax + 1]
jmp 0x402ab0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402ab0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00401db0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x110], 7
call fcn.00495c50
add esp, 8
lea ecx, [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x110], 8
call fcn.004947d0
cmp dword [esp + 0x60], ebp
jb 0x402b0b
mov edx, dword [esp + 0x4c]
push edx
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x60], 3
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x108], bl
jb 0x402b36
mov eax, dword [esp + 0x24]
push eax
call fcn.0058984a
add esp, 4
lea ecx, [esp + 0x80]
call fcn.00494930
lea ecx, [esp + 0x18]
call fcn.00588770
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
jmp 0x4028c0
mov eax, dword [esi]
jmp 0x4028ed
mov esi, dword [esi]
jmp 0x40290d
lea ecx, [esp + 0x80]
call fcn.00494930
mov edi, 0xf
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x84]
mov byte [esp + 0x10c], 9
call fcn.00494a70
mov eax, dword [esp + 0xe4]
mov esi, 0x10
cmp dword [esp + 0xf8], esi
jae 0x402bc8
lea eax, [esp + 0xe4]
mov edx, dword [esp + 0xf4]
mov ecx, dword [esp + 0x3c]
push edx
push eax
call fcn.00492420
cmp dword [esp + 0xf8], esi
jb 0x402bf3
mov eax, dword [esp + 0xe4]
push eax
call fcn.0058984a
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
mov dword [esp + 0x108], 0xffffffff
call fcn.004025b0
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00589f78
add esp, 0xf8
ret 4