Function at 0x402650
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, 0x70
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
mov ebx, 0x65ce
jmp 0x402670
mov eax, 0x30c30c31
imul ebx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402670
mov eax, 0x7b16
mov edx, 0xd8
lea ecx, [ecx]
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x402690
inc esi
mov eax, 0x2aaaaaab
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, esi
sub eax, ecx
jne 0x4026b5
add esi, 2
cmp esi, 0x5a43
jl 0x402698
mov ebx, 0x2cf5
mov eax, 0x3e88cb3d
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4026c2
inc edi
mov eax, 0x66666667
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, edi
lea eax, [eax + eax*4]
sub ecx, eax
jne 0x4026f0
inc edi
cmp edi, 0x3aa7
jl 0x4026d5
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x402955
mov eax, 0x36dd
mov edx, 0x13
mov ecx, 0x3f
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x402712
cmp dword [ebp + 0x10], eax
jne 0x402728
cmp dword [ebp + 0x18], eax
je 0x402955
mov ebx, 0x2d02
lea ecx, [ecx]
mov eax, 0x66666667
imul ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402730
mov edi, dword [esi + 0x3c]
mov eax, 0x5a4d
add edi, esi
mov ebx, 0x132e
cmp word [esi], ax
jne 0x402955
cmp dword [edi], 0x4550
jne 0x402955
xor esi, esi
lea esp, [esp]
inc esi
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*8]
sub ecx, eax
jne 0x40278b
inc esi
cmp esi, 0x4f4
jl 0x402770
mov eax, 0x1e69
mov edx, 0x84
mov ecx, 0xa0
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x4027a2
mov esi, dword [edi + 0x7c]
mov dword [ebp - 0x10], esi
mov eax, 0x700e
mov edx, 0x8c
mov ecx, 0x20
nop
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x4027c0
mov eax, 0x4905
mov ecx, 0x68
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x4027d2
mov ecx, 0xdb5
nop
mov eax, 0xb81702e1
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4027e0
test esi, esi
je 0x402955
mov eax, 0x2bb7
mov edx, 0x52
mov ecx, 0x67
lea esp, [esp]
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x402810
mov ecx, 0x65a3
lea ecx, [ecx]
mov eax, 0xd20d20d3
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402820
mov edi, dword [edi + 0x78]
add edi, dword [ebp + 0xc]
xor esi, esi
lea ecx, [ecx]
inc esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
sub eax, ecx
jne 0x402864
inc esi
cmp esi, 0x6cb5
jl 0x402840
xor esi, esi
mov edi, edi
inc esi
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*8]
sub ecx, eax
jne 0x40288d
add esi, 2
cmp esi, 0x5a43
jl 0x402870
mov eax, 0x3af8
mov edx, 0x1d
mov ecx, 0x55
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x4028a4
mov eax, dword [edi + 0x20]
mov edx, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 4], eax
mov eax, 0x2de7
mov esi, 0x30
mov ecx, 0x8c
cmp ecx, esi
cmovl ecx, esi
dec eax
jne 0x4028c6
mov eax, dword [edi + 0x24]
add eax, edx
mov dword [ebp - 8], eax
xor esi, esi
inc esi
mov eax, 0x66666667
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*4]
sub ecx, eax
jne 0x4028f3
inc esi
cmp esi, 0xb8d
jl 0x4028d8
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add eax, ecx
mov dword [ebp - 0xc], eax
mov eax, edx
shr eax, 0x10
test eax, eax
je 0x402943
mov eax, 0x3b96
dec eax
jne 0x402917
xor esi, esi
cmp dword [edi + 0x18], esi
jbe 0x402943
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
add eax, ecx
push eax
push edx
call fcn.00403290
add esp, 8
test eax, eax
jne 0x40295e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x402921
mov eax, 0x66666667
imul ebx
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402943
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
cmp ecx, edi
jbe 0x40297b
mov eax, dword [ebp - 0x10]
add eax, edi
cmp ecx, eax
jb 0x402955
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret