Function at 0x402530
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 edx, edx
xor esi, esi
mov edi, 0x7d75
mov ecx, 0x792c
mov dword [ebp - 8], 0x1b15
xor ebx, ebx
inc edx
mov eax, edx
and eax, 0x80000003
jns 0x40255f
dec eax
or eax, 0xfffffffc
inc eax
jne 0x402562
inc edx
cmp edx, 0x3d7a
jl 0x402550
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x402856
cmp dword [ebp + 0x10], ebx
jne 0x4025ac
cmp dword [ebp + 0x18], ebx
jne 0x4025ac
nop
inc esi
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 0x40259b
add esi, 2
cmp esi, 0xee6
jl 0x402580
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [eax + 0x3c]
add edi, eax
xor esi, esi
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 0x4025ce
inc esi
cmp esi, 0x4c71
jl 0x4025b3
mov esi, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x402883
cmp dword [edi], 0x4550
jne 0x402883
mov ebx, 0x246d
jmp 0x402600
mov eax, 0x60606061
imul ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402600
xor ecx, ecx
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x402624
dec eax
or eax, 0xfffffffe
inc eax
jne 0x402629
add ecx, 2
cmp ecx, 0xee6
jl 0x402615
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x402883
mov eax, 0x1900
mov edx, 0x3f
mov ecx, 0x55
mov edi, edi
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x402650
mov ecx, 0x54b6
lea ecx, [ecx]
mov eax, 0xb81702e1
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402660
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x402684
dec eax
or eax, 0xfffffffe
inc eax
jne 0x402687
inc ecx
cmp ecx, 0x714c
jl 0x402675
mov edi, dword [edi + 0x78]
add edi, esi
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ecx, esi
add eax, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
mov ecx, 0x3356
lea esp, [esp]
mov eax, 0x63e7063f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4026b0
mov eax, dword [edi + 0x1c]
add eax, esi
mov dword [ebp - 0x10], eax
mov esi, 0x6902
mov eax, 0x88888889
imul esi
add edx, esi
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4026d0
mov eax, dword [ebp + 0x10]
shr eax, 0x10
test eax, eax
je 0x4027b2
mov esi, 0x61d1
jmp 0x402700
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402700
mov ecx, 0x5494
lea ebx, [ebx]
mov eax, 0x214d0215
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402720
mov ecx, dword [ebp - 4]
xor esi, esi
cmp dword [edi + 0x18], ebx
jbe 0x402763
lea ecx, [ecx]
mov eax, dword [ecx + esi*4]
add eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call fcn.004030a0
add esp, 8
test eax, eax
jne 0x4027f3
mov ecx, dword [ebp - 4]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x402740
mov ebx, 0x353d
jmp 0x402770
mov eax, 0x77975b9
imul ebx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402770
mov eax, 0x38e38e39
imul dword [ebp - 8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 8], eax
jne 0x402783
mov ebx, 0x405e
mov edi, edi
mov eax, 0x66666667
imul ebx
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4027a0
mov ecx, 0x1a1e
mov eax, 0xae4c415d
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4027b7
lea esp, [esp]
inc ebx
mov eax, ebx
and eax, 0x80000003
jns 0x4027df
dec eax
or eax, 0xfffffffc
inc eax
jne 0x4027e2
inc ebx
cmp ebx, 0x78ef
jl 0x4027d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, 0x868
movzx esi, word [eax + esi*2]
nop
mov eax, 0xac769185
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402800
mov ecx, 0x7f45
lea ebx, [ebx]
mov eax, 0xae4c415d
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402820
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
cmp ecx, edi
jbe 0x40284d
mov eax, dword [ebp - 0x14]
add eax, edi
cmp ecx, eax
jb 0x402883
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x2aaaaaab
imul edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402856
lea esp, [esp]
mov eax, 0x1a6d01a7
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402870
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret