Function at 0x4025f0
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 ebx, ebx
xor edi, edi
xor esi, esi
mov ecx, 0x7481
mov dword [ebp - 4], 0xf51
mov dword [ebp - 8], 0x7119
cmp dword [ebp + 0xc], ebx
je 0x4028b0
mov esi, 0x5382
mov eax, 0x17ad2209
imul esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402620
mov eax, 0x8c08c08d
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402633
inc edi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, edi
sub eax, ecx
jne 0x40266e
add edi, 2
cmp edi, 0x2ab2
jl 0x402648
cmp dword [ebp + 0x10], ebx
jne 0x402684
cmp dword [ebp + 0x18], ebx
je 0x4028b0
mov ecx, 0x4437
lea esp, [esp]
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402690
mov eax, 0x66666667
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*4]
sub ecx, eax
jne 0x4026c3
add esi, 3
jmp 0x4026c4
inc esi
cmp esi, 0x5be
jl 0x4026a5
mov eax, 0xff
dec eax
jne 0x4026d1
mov eax, 0x5db9
mov edx, 0xd8
mov ecx, 0x76
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x4026e3
mov ecx, 0x2c8b
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4026f0
mov esi, dword [ebp + 0xc]
mov ecx, 0x4fd8
mov edi, dword [esi + 0x3c]
mov eax, 0x9c09c09d
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402710
inc ebx
mov eax, ebx
and eax, 0x80000007
jns 0x402734
dec eax
or eax, 0xfffffff8
inc eax
jne 0x402737
inc ebx
cmp ebx, 0x8a6
jl 0x402725
nop
mov eax, 0x487ede05
imul dword [ebp - 4]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], eax
jne 0x402740
mov eax, 0xa65
mov edx, 0xe4
mov ecx, 0x46
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x402766
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4028b0
cmp dword [edi + esi], 0x4550
jne 0x4028b0
mov ebx, dword [edi + esi + 0x7c]
mov dword [ebp - 0x10], ebx
mov eax, 0x66666667
imul dword [ebp - 8]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 8], eax
jne 0x402790
mov eax, 0x1563
mov edx, 0xf
mov ecx, 0x23
cmp ecx, edx
cmovg ecx, edx
dec eax
jne 0x4027b6
test ebx, ebx
je 0x4028b0
mov eax, 0x2cd0
mov edx, 0xff
mov ecx, 0xc5
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x4027d5
mov edi, dword [edi + esi + 0x78]
add edi, esi
mov dword [ebp - 8], edi
mov edi, 0x42da
jmp 0x4027f0
mov eax, 0x75ded953
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4027f0
mov edi, dword [ebp - 8]
xor ebx, ebx
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 0x402823
inc ebx
cmp ebx, 0x7e50
jl 0x402808
mov ebx, dword [edi + 0x20]
add ebx, esi
mov dword [ebp - 8], ebx
mov ecx, 0x78a5
jmp 0x402840
mov eax, 0xf2b9d649
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402840
mov eax, dword [edi + 0x24]
add eax, esi
mov dword [ebp - 4], eax
mov ebx, 0x6003
mov eax, 0x22b63cbf
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402862
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 8]
add eax, esi
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 0x10
test eax, eax
je 0x4028b0
xor esi, esi
cmp dword [edi + 0x18], esi
jbe 0x4028b0
mov eax, dword [ebx + esi*4]
add eax, dword [ebp + 0xc]
push eax
push ecx
call fcn.00402fe0
add esp, 8
test eax, eax
jne 0x4028b9
mov ecx, dword [ebp + 0x10]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x402893
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, 0x73d4
movzx esi, word [eax + esi*2]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4028c5
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
cmp ecx, edi
jbe 0x4028f2
mov eax, dword [ebp - 0x10]
add eax, edi
cmp ecx, eax
jb 0x4028b0
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret