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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, 0x518d
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4027c2
mov ecx, ebx
cmp dword [ebp + 0xc], ebx
je 0x402a28
cmp dword [ebp + 0x10], ecx
jne 0x4027f0
cmp dword [ebp + 0x18], ecx
je 0x402a28
mov esi, 0x5bbc
mov eax, 0x964fda6d
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4027f5
lea ebx, [ebx]
inc ecx
mov eax, ecx
and eax, 0x80000007
jns 0x40281f
dec eax
or eax, 0xfffffff8
inc eax
jne 0x402822
inc ecx
cmp ecx, 0x6705
jl 0x402810
mov edi, 0x6d64
nop
mov eax, 0x2aaaaaab
imul edi
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402830
mov ecx, dword [ebp + 0xc]
mov edi, 0xcb
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 4], eax
inc ebx
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, ebx
lea eax, [eax + eax*2]
sub ecx, eax
jne 0x40286e
add ebx, 2
cmp ebx, 0x5419
jl 0x402853
mov eax, dword [ebp + 0xc]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402a28
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0x4550
jne 0x402a28
mov ecx, 0x4e8e
jmp 0x4028a0
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4028a0
mov ecx, 0x2dc8
lea ebx, [ebx]
mov eax, 0xae4c415d
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4028c0
mov edx, dword [ebx + 0x7c]
mov dword [ebp - 0x10], edx
mov eax, 0x65c3
mov dword [ebp - 4], 0x8e
mov ecx, 0xed
lea esp, [esp]
cmp ecx, 0x8e
cmovl ecx, dword [ebp - 4]
dec eax
jne 0x4028f0
test edx, edx
je 0x402a28
mov eax, dword [ebx + 0x78]
add eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov edi, edi
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 0x402937
add esi, esi
jmp 0x402940
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add esi, eax
cmp esi, 0x236d
jl 0x402910
xor ebx, ebx
lea ebx, [ebx]
inc ebx
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, ebx
sub eax, ecx
jne 0x40296e
inc ebx
cmp ebx, 0x7eb9
jl 0x402950
xor ebx, ebx
inc ebx
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, ebx
sub eax, ecx
jne 0x402996
inc ebx
cmp ebx, 0x654a
jl 0x402978
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x20]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x1c]
add ecx, edx
add eax, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
mov ecx, 0x4a74
mov eax, 0x151d07eb
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4029c1
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov eax, edx
shr eax, 0x10
test eax, eax
je 0x402a28
xor esi, esi
cmp dword [ebx + 0x18], esi
jbe 0x402a10
lea ebx, [ebx]
mov eax, dword [ecx + esi*4]
add eax, dword [ebp + 0xc]
push eax
push edx
call fcn.004030d0
add esp, 8
test eax, eax
jne 0x402a31
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x4029f0
mov eax, 0x38f5
mov ecx, 0x44
lea ebx, [ebx]
cmp edi, ecx
cmovg edi, ecx
dec eax
jne 0x402a20
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 esi, 0x9d
mov ecx, dword [ecx + eax*4]
add dword [ebp + 0xc], ecx
mov eax, 0x58dc
mov edx, 0xab
cmp edx, esi
cmovg edx, esi
dec eax
jne 0x402a50
mov ecx, 0x2004
lea ecx, [ecx]
mov eax, 0x43b3d5b
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402a60
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
jbe 0x402a83
mov eax, dword [ebp - 0x10]
add eax, ebx
cmp ecx, eax
jb 0x402a28
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret