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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov eax, 0x14
push esi
push edi
lea ecx, [eax + 0x7d]
xor esi, esi
lea ebx, [eax + 3]
mov edx, 0x7975
mov dword [ebp - 8], 0x2a67
mov dword [ebp - 0x20], 0x749f
mov dword [ebp - 0x24], 0x2e8c
mov dword [ebp - 0x28], 0x2fe7
mov dword [ebp - 0xc], 0x4b39
mov dword [ebp - 0x10], 0x3439
mov dword [ebp - 0x14], 0x278b
mov dword [ebp - 0x18], 0x1d5b
mov dword [ebp - 4], 0x3be3
mov dword [ebp - 0x1c], 0x6a
cmp eax, 0x6a
cmovl eax, dword [ebp - 0x1c]
dec dword [ebp - 4]
jne 0x402571
cmp dword [ebp + 0xc], esi
je 0x40277a
mov eax, 0x1948b0fd
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
mov edx, eax
jne 0x402586
cmp dword [ebp + 0x10], esi
jne 0x4025ac
cmp dword [ebp + 0x18], esi
je 0x402805
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
mov edi, dword [edx + 0x3c]
cmp word [edx], ax
jne 0x402805
cmp dword [edi + edx], 0x4550
jne 0x402805
mov eax, dword [edi + edx + 0x7c]
mov dword [ebp - 4], eax
test eax, eax
je 0x402805
xor ecx, ecx
mov edi, edi
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x4025ef
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4025f2
inc ecx
cmp ecx, 0x2b23
jl 0x4025e0
mov edi, dword [edi + edx + 0x78]
add edi, edx
mov dword [ebp - 0x1c], edi
mov eax, 0x78787879
imul dword [ebp - 8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 8], eax
jne 0x402603
mov edi, dword [ebp - 0x20]
lea ecx, [ecx]
mov eax, 0x30c30c31
imul edi
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402620
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
lea esp, [esp]
mov eax, 0x92f11385
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402640
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x24]
mov ebx, dword [edi + 0x20]
add eax, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x1c]
add ebx, ecx
add eax, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, 0x1a6d01a7
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402670
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, edx
shr eax, 0x10
test eax, eax
je 0x402730
xor esi, esi
cmp dword [edi + 0x18], esi
jbe 0x4026c3
lea ecx, [ecx]
mov eax, dword [ebx + esi*4]
add eax, ecx
push eax
push edx
call fcn.00402ed0
add esp, 8
test eax, eax
jne 0x402750
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4026a0
mov eax, 0x2e8ba2e9
imul dword [ebp - 0xc]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xc], eax
jne 0x4026c3
lea ebx, [ebx]
mov eax, 0x4d4873ed
imul dword [ebp - 0x10]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x10], eax
jne 0x4026e0
mov ecx, 0x65a1
mov edx, 0xc9
mov eax, 0x6e
cmp eax, 0xc9
cmovg eax, edx
dec ecx
jne 0x402706
mov eax, 0x67b23a55
imul dword [ebp - 0x14]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x14], eax
jne 0x402711
jmp 0x402730
mov eax, 0x1948b0fd
imul dword [ebp - 0x18]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
jne 0x402730
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
cmp ecx, edi
jbe 0x402771
mov eax, dword [ebp - 4]
add eax, edi
cmp ecx, eax
jb 0x402805
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x5f41
nop
mov eax, 0x288df0cb
imul edi
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402780
mov eax, 0x1486
mov edx, ebx
mov edi, 0x2233
nop
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x4027a0
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 0x4027ce
add esi, 2
cmp esi, 0x6ba2
jl 0x4027a8
mov eax, 0x3408
mov ecx, 0x99
cmp ebx, ecx
cmovg ebx, ecx
dec eax
jne 0x4027e0
jmp 0x4027f0
mov eax, 0xdd67c8a7
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4027f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret