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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov ecx, 0x619d
mov eax, 0x55
mov esi, 0x418e
mov dword [ebp - 8], 0x429b
je 0x402800
cmp dword [ebp + 0x10], 0
jne 0x40261c
cmp dword [ebp + 0x18], 0
jne 0x40261c
mov ecx, 0x3ab4
mov edx, 4
nop
cmp eax, 4
cmovl eax, edx
dec ecx
jne 0x4025f0
lea esp, [esp]
mov eax, 0xc907da5
imul esi
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402600
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x4f12
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402621
mov eax, dword [ebp + 0xc]
mov ecx, 0x610f
mov esi, dword [eax + 0x3c]
add esi, eax
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402643
mov ecx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402815
cmp dword [esi], 0x4550
jne 0x402815
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x402815
mov ebx, 0x4d7
jmp 0x402690
mov eax, 0x4325c53f
imul ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402690
mov esi, dword [esi + 0x78]
add esi, ecx
mov dword [ebp - 4], esi
mov eax, 0x1700
cdq
and edx, 7
add eax, edx
sar eax, 3
test eax, eax
jne 0x4026b0
mov ecx, 0x1e9b
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4026c2
mov ecx, 0x1dc6
lea esp, [esp]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4026e0
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
add edx, eax
mov dword [ebp - 0x10], edx
mov edx, dword [esi + 0x1c]
add ecx, eax
add edx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], edx
mov ebx, 0x43c7
mov eax, 0x1948b0fd
imul ebx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402715
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov ebx, 0x7663
test eax, eax
je 0x402815
mov edi, 0x2c45
mov eax, 0x5254e78f
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402740
mov eax, dword [ebp - 4]
xor esi, esi
mov edi, 0x30e0
cmp dword [eax + 0x18], esi
jbe 0x402784
mov eax, dword [ecx + esi*4]
add eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call fcn.00403180
add esp, 8
test eax, eax
jne 0x4027b5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc esi
cmp esi, dword [eax + 0x18]
jb 0x402762
mov eax, 0x75ded953
imul ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402784
mov eax, 0xb40b40b5
imul edi
add edx, edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402797
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + esi*2]
lea esp, [esp]
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 0x4027c0
mov eax, ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
mov eax, 0x1df4
dec eax
jne 0x4027e6
mov eax, dword [ebp - 4]
cmp ecx, eax
jbe 0x4027f7
add eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x402815
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x86d90545
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402800
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret