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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, 0xab
push ebx
push esi
push edi
xor ecx, ecx
xor esi, esi
xor edi, edi
lea edx, [eax + 0x27]
mov ebx, 0x1b8
cmp dword [ebp + 0xc], ecx
je 0x4027f3
inc ecx
mov eax, ecx
and eax, 0x80000003
jns 0x4025f4
dec eax
or eax, 0xfffffffc
inc eax
jne 0x4025f7
inc ecx
cmp ecx, 0x39d1
jl 0x4025e5
mov eax, 0x30b6
mov ecx, 0x58
lea esp, [esp]
cmp edx, ecx
cmovl edx, ecx
dec eax
jne 0x402610
cmp dword [ebp + 0x10], esi
jne 0x402626
cmp dword [ebp + 0x18], esi
je 0x40283f
mov ecx, 0x5b4b
mov edx, 0x96
mov eax, 0xe8
cmp eax, 0x96
cmovl eax, edx
dec ecx
jne 0x402635
mov eax, dword [ebp + 0xc]
mov ecx, 0x5a4d
mov esi, dword [eax + 0x3c]
add esi, eax
cmp word [eax], cx
jne 0x40283f
cmp dword [esi], 0x4550
jne 0x40283f
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0x14], ecx
mov edi, 0x61d2
lea ecx, [ecx]
mov eax, 0x487ede05
imul edi
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402670
test ecx, ecx
je 0x40283f
xor ecx, ecx
lea ecx, [ecx]
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x40269f
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4026a4
add ecx, 5
cmp ecx, 0x797
jl 0x402690
mov esi, dword [esi + 0x78]
add esi, dword [ebp + 0xc]
mov ecx, 0x43dc
mov dword [ebp - 4], esi
lea ebx, [ebx]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4026c0
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x4026e4
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4026e7
inc ecx
cmp ecx, 0x4fa
jl 0x4026d5
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x1c]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
add ecx, edx
shr eax, 0x10
mov dword [ebp - 8], ecx
test eax, eax
je 0x402790
mov esi, 0x1005
lea esp, [esp]
mov eax, 0xdd67c8a7
imul esi
add edx, esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402720
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], esi
jbe 0x402762
lea ecx, [ecx]
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 0x4027a5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
inc esi
cmp esi, dword [eax + 0x18]
jb 0x402740
mov ebx, 0x195a
jmp 0x402770
mov eax, 0x3159721f
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402770
mov ebx, 0x1b8
jmp 0x402790
mov eax, edi
and eax, 0x80000001
jns 0x40279e
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4027cc
add edi, 3
jmp 0x4027cd
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 eax, dword [ebp - 4]
cmp ecx, eax
jbe 0x4027c3
add eax, dword [ebp - 0x14]
cmp ecx, eax
jb 0x40283f
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
cmp edi, 0x681d
jl 0x402790
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4027d5
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x5edb
mov edx, 0xb4
lea ecx, [ecx]
cmp eax, 0xb4
cmovg eax, edx
dec ecx
jne 0x402800
jmp 0x402810
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 0x40282e
add esi, esi
jmp 0x402837
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add esi, eax
cmp esi, 0x44ab
jl 0x402810
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret