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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], 0x5987
mov ebx, 0x25ee
xor edi, edi
lea esp, [esp]
inc edi
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, edi
sub eax, ecx
jne 0x4025f0
add edi, 2
cmp edi, 0x516b
jl 0x4025d0
mov edx, dword [ebp + 0xc]
mov edi, 0x3c71
test edx, edx
je 0x402850
cmp dword [ebp + 0x10], esi
jne 0x402616
cmp dword [ebp + 0x18], esi
je 0x40288b
mov edi, dword [edx + 0x3c]
add edi, edx
mov ecx, 0x1d7a
mov esi, 0x5d
mov eax, 0x43
lea ebx, [ebx]
cmp eax, 0x5d
cmovg eax, esi
dec ecx
jne 0x402630
mov eax, 0x4be9
mov edi, edi
dec eax
jne 0x402640
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x40288b
cmp dword [edi], 0x4550
jne 0x40288b
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40288b
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 0x402696
add esi, 2
cmp esi, 0x403e
jl 0x402670
mov edi, dword [edi + 0x78]
add edi, dword [ebp + 0xc]
xor esi, esi
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 0x4026ca
inc esi
cmp esi, 0x5d93
jl 0x4026a6
mov eax, 0x58a3
mov edx, 0x82
mov ecx, 0x2f
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x4026e1
xor esi, esi
jmp 0x4026f0
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 0x402714
inc esi
cmp esi, 0x1b0e
jl 0x4026f0
xor esi, esi
mov edi, edi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*2]
sub ecx, eax
jne 0x40273c
add esi, 3
jmp 0x40273d
inc esi
cmp esi, 0x2f16
jl 0x402720
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x1c]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
add ecx, edx
shr eax, 0x10
mov dword [ebp - 4], ecx
test eax, eax
je 0x4027d7
mov ecx, 0x6c9a
nop
mov eax, 0x76b981db
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402770
mov ecx, dword [ebp - 4]
mov esi, 0x2f9e
jmp 0x402790
mov eax, 0xd20d20d3
imul esi
add edx, esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402790
cmp dword [edi + 0x18], esi
jbe 0x4027cf
lea ebx, [ebx]
mov eax, dword [ecx + esi*4]
add eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call fcn.004030c0
add esp, 8
test eax, eax
jne 0x40280e
mov ecx, dword [ebp - 4]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4027b0
mov eax, 0x7427
dec eax
jne 0x4027d4
mov eax, 0x89b
mov edx, 0x62
mov ecx, 0x4c
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x4027e6
mov edi, edi
mov eax, 0x964fda6d
imul ebx
add edx, ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4027f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
mov edi, edi
mov eax, 0x473c1ab7
imul dword [ebp - 8]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 8], eax
jne 0x402820
cmp ecx, edi
jbe 0x402844
mov eax, dword [ebp - 0x14]
add eax, edi
cmp ecx, eax
jb 0x40288b
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xa57eb503
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402850
inc esi
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, esi
sub eax, ecx
jne 0x402883
inc esi
cmp esi, 0x1a51
jl 0x402865
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret