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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, 0x6cfd
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x4029b0
cmp dword [ebp + 0x10], edi
jne 0x402787
cmp dword [ebp + 0x18], edi
je 0x4029c3
mov ebx, 0x7d0
lea esp, [esp]
mov eax, 0x473c1ab7
imul ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402790
mov esi, 0x46cc
jmp 0x4027b0
mov eax, 0x77975b9
imul esi
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4027b0
xor edi, edi
inc edi
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, edi
sub eax, ecx
jne 0x4027e4
add edi, edi
cmp edi, 0x69fa
jl 0x4027c5
xor edi, edi
mov ecx, 0x7eb9
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4027f3
mov ecx, dword [ebp + 0xc]
mov edx, 0x5a4d
mov eax, dword [ecx + 0x3c]
cmp word [ecx], dx
jne 0x4029c3
cmp dword [eax + ecx], 0x4550
jne 0x4029c3
mov edx, dword [eax + ecx + 0x7c]
mov dword [ebp - 0x14], edx
test edx, edx
je 0x4029c3
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [ebp - 4], eax
mov ebx, 0x7f3c
mov eax, 0x22b63cbf
imul ebx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402846
mov ebx, 0x65
mov ecx, 0x7df6
mov eax, 0x8c08c08d
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402863
xor esi, esi
lea ebx, [ebx]
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 0x402899
inc esi
cmp esi, 0x4d0d
jl 0x402880
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x20]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x24]
add eax, edx
mov dword [ebp - 0xc], eax
mov esi, 0x8b3
lea esp, [esp]
mov eax, edi
and eax, 0x80000007
jns 0x4028ce
dec eax
or eax, 0xfffffff8
inc eax
jne 0x4028d5
add edi, 3
jmp 0x4028d6
inc edi
cmp edi, 0x68e5
jl 0x4028c0
mov eax, dword [ecx + 0x1c]
add eax, edx
mov dword [ebp - 0x10], eax
mov edi, 0x6927
jmp 0x4028f0
mov eax, 0xa0a0a0a1
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4028f0
mov edx, dword [ebp + 0x10]
mov eax, edx
shr eax, 0x10
test eax, eax
je 0x40296c
cmp dword [ecx + 0x18], edi
jbe 0x402939
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
add eax, dword [ebp + 0xc]
push eax
push edx
call fcn.00402fd0
add esp, 8
test eax, eax
jne 0x402985
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
inc edi
cmp edi, dword [eax + 0x18]
jb 0x402916
mov ebx, 0x7bf7
mov edi, edi
mov eax, 0x2e8ba2e9
imul ebx
sar edx, 1
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402940
mov ebx, 0x65
mov eax, 0xb21642c9
imul esi
add edx, esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402957
mov eax, 0x3fe0
mov ecx, 0xc4
cmp ebx, ecx
cmovl ebx, ecx
dec eax
jne 0x402976
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + edi*2]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
cmp ecx, eax
jbe 0x4029a3
add eax, dword [ebp - 0x14]
cmp ecx, eax
jb 0x4029c3
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x24168e19
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4029b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret