Function at 0x4024e0
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
mov eax, 0xee
mov ecx, 0x24a4
mov edx, 0x38b4
mov dword [ebp - 4], 0x32
nop
cmp eax, 0x32
cmovg eax, dword [ebp - 4]
dec edx
jne 0x402500
cmp dword [ebp + 0xc], edx
je 0x4026f5
cmp dword [ebp + 0x10], edx
jne 0x40253e
cmp dword [ebp + 0x18], edx
jne 0x40253e
lea ecx, [ecx]
mov eax, 0xb30f6353
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402520
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x5ae5
mov eax, 0x43b3d5b
imul esi
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402543
mov eax, 0x4f6c
mov esi, 0x81
nop
dec eax
jne 0x402560
mov ecx, dword [ebp + 0xc]
mov edx, 0x5a4d
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 4], eax
cmp word [ecx], dx
jne 0x4026f5
cmp dword [eax], 0x4550
jne 0x4026f5
mov ecx, 0x1048
lea ecx, [ecx]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402590
mov eax, dword [ebp - 4]
mov ecx, 0x77f4
mov edx, dword [eax + 0x7c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], 3
mov eax, 0x3e
nop
cmp eax, 3
cmovg eax, dword [ebp - 8]
dec ecx
jne 0x4025c0
test edx, edx
je 0x4026f5
mov ebx, 0x799f
jmp 0x4025e0
mov eax, 0x60606061
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4025e0
mov ebx, 0x89
mov edi, 0x71ee
lea ecx, [ecx]
mov eax, 0x2fa0be83
imul edi
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402600
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 0xfe
mov ecx, dword [eax + 0x78]
add ecx, dword [ebp + 0xc]
mov eax, 0x36d0
mov dword [ebp - 4], ecx
mov edi, 0x1435
mov edx, 0xae
cmp edx, 0xfe
cmovl edx, dword [ebp - 8]
dec eax
jne 0x402635
mov eax, 0x3330
mov edx, 0x68
lea esp, [esp]
cmp esi, edx
cmovl esi, edx
dec eax
jne 0x402650
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x20]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x24]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x1c]
add eax, edx
mov dword [ebp - 0x10], eax
mov esi, 0x3a88
jmp 0x402680
mov eax, 0xb60b60b7
imul esi
add edx, esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402680
mov eax, dword [ebp + 0x10]
shr eax, 0x10
test eax, eax
je 0x4026f5
mov eax, 0x6aae
mov esi, 0x51
mov edx, 0x80
mov edi, edi
cmp edx, esi
cmovl edx, esi
dec eax
jne 0x4026b0
xor esi, esi
cmp dword [ecx + 0x18], esi
jbe 0x4026e2
nop
mov eax, dword [ebp - 8]
mov eax, dword [eax + esi*4]
add eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call fcn.00402f10
add esp, 8
test eax, eax
jne 0x4026fe
mov eax, dword [ebp - 4]
inc esi
cmp esi, dword [eax + 0x18]
jb 0x4026c0
mov eax, 0x2aaaaaab
imul edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4026e2
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, 0x20a9
movzx esi, word [eax + esi*2]
lea ebx, [ebx]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402710
mov ecx, 0x22f
lea ebx, [ebx]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402730
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov edx, 0x57
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
mov eax, 0x6ff
lea ebx, [ebx]
cmp ebx, edx
cmovl ebx, edx
dec eax
jne 0x402760
mov eax, dword [ebp - 4]
cmp ecx, eax
jbe 0x40277a
add eax, dword [ebp - 0x14]
cmp ecx, eax
jb 0x4026f5
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret