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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov ecx, 0x5927
xor ebx, ebx
mov dword [ebp - 4], 0x3168
mov esi, 0x78a2
mov edi, edi
mov eax, 0x5397829d
imul esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402730
mov edx, dword [ebp + 0xc]
mov esi, ebx
test edx, edx
je 0x4029f0
cmp dword [ebp + 0x10], ebx
jne 0x402760
cmp dword [ebp + 0x18], ebx
je 0x402a03
mov edi, edi
inc esi
mov eax, esi
and eax, 0x80000007
jns 0x40276f
dec eax
or eax, 0xfffffff8
inc eax
jne 0x402772
inc esi
cmp esi, 0x844
jl 0x402760
mov esi, dword [edx + 0x3c]
add esi, edx
mov dword [ebp - 8], esi
mov ecx, 0x70d6
mov edx, 0xac
mov eax, 0x69
cmp eax, 0xac
cmovg eax, edx
dec ecx
jne 0x402791
mov ecx, 0x487e
mov edx, 0xc8
mov eax, 0xc9
jmp 0x4027b0
cmp eax, 0xc8
cmovl eax, edx
dec ecx
jne 0x4027b0
mov edi, 0x59f5
mov eax, 0x38e38e39
imul edi
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4027c0
mov eax, dword [ebp + 0xc]
mov ecx, 0x5a4d
mov edi, ebx
cmp word [eax], cx
jne 0x402a03
cmp dword [esi], 0x4550
jne 0x402a03
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 0x40280f
inc esi
cmp esi, 0x915
jl 0x4027f4
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x402a03
mov ecx, 0x4028
lea ecx, [ecx]
mov eax, 0x82082083
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402830
mov eax, 0x1a9f
mov edx, 0xb5
mov ecx, 0xe0
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x402854
mov eax, dword [esi + 0x78]
add eax, dword [ebp + 0xc]
mov ebx, 0x29fa
mov dword [ebp - 8], eax
lea ebx, [ebx]
mov eax, 0x66666667
imul ebx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402870
inc edi
mov eax, edi
and eax, 0x80000007
jns 0x402892
dec eax
or eax, 0xfffffff8
inc eax
jne 0x402895
inc edi
cmp edi, 0x436d
jl 0x402883
xor esi, esi
nop
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 0x4028bc
add esi, esi
cmp esi, 0x55ef
jl 0x4028a0
inc ebx
mov eax, ebx
and eax, 0x80000007
jns 0x4028d3
dec eax
or eax, 0xfffffff8
inc eax
jne 0x4028d6
inc ebx
cmp ebx, 0x78d6
jl 0x4028c4
xor ebx, ebx
inc ebx
mov eax, 0x2aaaaaab
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, ebx
sub eax, ecx
jne 0x4028fd
add ebx, 2
cmp ebx, 0x42a0
jl 0x4028e0
mov ebx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x24]
mov edi, dword [ebx + 0x20]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x1c]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
shr eax, 0x10
add edi, edx
test eax, eax
je 0x402a03
xor ecx, ecx
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x40293f
dec eax
or eax, 0xfffffffe
inc eax
jne 0x402944
add ecx, 2
cmp ecx, 0x7e9b
jl 0x402930
xor esi, esi
cmp dword [ebx + 0x18], esi
jbe 0x402971
mov eax, dword [edi + esi*4]
add eax, edx
push eax
push dword [ebp + 0x10]
call fcn.00403150
add esp, 8
test eax, eax
jne 0x4029a6
mov edx, dword [ebp + 0xc]
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x402953
mov eax, 0x76b981db
imul dword [ebp - 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], eax
jne 0x402971
mov eax, 0xf0c
mov edx, 0x3f
mov ecx, 0x18
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x402997
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov eax, 0x4a59
movzx ecx, word [ecx + esi*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
test eax, eax
jne 0x4029b2
mov eax, 0xdce
dec eax
jne 0x4029c4
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
cmp ecx, ebx
jbe 0x4029df
mov eax, dword [ebp - 0x10]
add eax, ebx
cmp ecx, eax
jb 0x402a03
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x78787879
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4029f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret