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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x7b67
mov dword [ebp - 8], 0x669e
xor esi, esi
mov edi, 0xd9c
mov edi, edi
mov eax, 0x2aaaaaab
imul edi
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402880
mov eax, dword [ebp + 0xc]
mov edi, ebx
test eax, eax
je 0x402b30
cmp dword [ebp + 0x10], ebx
jne 0x4028b0
cmp dword [ebp + 0x18], ebx
je 0x402b43
lea ecx, [ecx]
inc edi
mov eax, edi
and eax, 0x80000003
jns 0x4028bf
dec eax
or eax, 0xfffffffc
inc eax
jne 0x4028c5
add edi, edi
jmp 0x4028ce
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add edi, eax
cmp edi, 0x926
jl 0x4028b0
mov ebx, 0x2234
jmp 0x4028e0
mov eax, 0x473c1ab7
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4028e0
mov eax, dword [ebp + 0xc]
mov ecx, 0x4f3
mov edi, dword [eax + 0x3c]
add edi, eax
mov eax, 0x91a2b3c5
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402900
mov eax, dword [ebp + 0xc]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402b43
cmp dword [edi], 0x4550
jne 0x402b43
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0xc], eax
mov ecx, 0x6716
lea ecx, [ecx]
mov eax, 0x82082083
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402940
mov esi, 0xe6e
lea ebx, [ebx]
mov eax, 0x5397829d
imul esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402960
cmp dword [ebp - 0xc], ebx
je 0x402b43
mov esi, 0x400a
mov eax, 0x60606061
imul esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402981
mov ecx, 0x5238
lea esp, [esp]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4029a0
mov ecx, dword [edi + 0x78]
mov edi, dword [ebp + 0xc]
add ecx, edi
mov dword [ebp - 4], ecx
mov eax, 0x104e
mov dword [ebp - 0x10], 0x63
mov edx, 0x76
cmp edx, 0x63
cmovl edx, dword [ebp - 0x10]
dec eax
jne 0x4029d1
mov eax, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x24]
add eax, edi
mov dword [ebp - 0x14], eax
mov ecx, 0x3234
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4029f0
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, dword [ecx + 0x1c]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
shr eax, 0x10
test eax, eax
je 0x402a63
xor edi, edi
cmp dword [ecx + 0x18], ebx
jbe 0x402a45
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edi*4]
add eax, edx
push eax
push dword [ebp + 0x10]
call fcn.00403180
add esp, 8
test eax, eax
jne 0x402a88
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
inc edi
cmp edi, dword [eax + 0x18]
jb 0x402a21
mov esi, 0x2f3f
lea ebx, [ebx]
mov eax, 0x4bda12f7
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402a50
inc esi
mov eax, esi
and eax, 0x80000003
jns 0x402a72
dec eax
or eax, 0xfffffffc
inc eax
jne 0x402a77
add esi, 5
cmp esi, 0x6c12
jl 0x402a63
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
movzx eax, word [eax + edi*2]
mov edx, 0x6b
mov esi, dword [esi + eax*4]
add esi, dword [ebp + 0xc]
mov eax, 0x7940
mov ecx, 0x28
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x402aa7
nop
inc ebx
mov eax, ebx
and eax, 0x80000003
jns 0x402abf
dec eax
or eax, 0xfffffffc
inc eax
jne 0x402ac4
add ebx, 2
cmp ebx, 0x4f33
jl 0x402ab0
lea esp, [esp]
mov eax, 0x2aaaaaab
imul dword [ebp - 8]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 8], eax
jne 0x402ad0
xor ebx, ebx
lea esp, [esp]
inc ebx
mov eax, 0x66666667
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, ebx
lea eax, [eax + eax*4]
sub ecx, eax
jne 0x402b0b
inc ebx
cmp ebx, 0x710e
jl 0x402af0
mov eax, dword [ebp - 4]
cmp esi, eax
jbe 0x402b21
add eax, dword [ebp - 0xc]
cmp esi, eax
jb 0x402b43
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x4da637d
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402b30
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret