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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
push edi
mov ecx, 0x4636
xor ebx, ebx
mov dword [ebp - 4], 0x6159
lea esp, [esp]
mov eax, 0x63e7063f
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4028e0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x402b60
cmp dword [ebp + 0x10], ebx
jne 0x40290c
cmp dword [ebp + 0x18], ebx
je 0x402b8f
mov ebx, 0x5881
mov eax, 0x51eb851f
imul ebx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402911
mov esi, dword [ecx + 0x3c]
add esi, ecx
mov dword [ebp - 8], esi
mov ecx, 0x649e
mov edx, 0x2a
mov eax, pe_nt_image_headers32
jmp 0x402940
cmp eax, 0x2a
cmovl eax, edx
dec ecx
jne 0x402940
mov ecx, 0x4d17
mov edx, 0xe0
mov eax, 0x61
jmp 0x402960
cmp eax, 0xe0
cmovl eax, edx
dec ecx
jne 0x402960
mov eax, dword [ebp + 0xc]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402b8f
cmp dword [esi], 0x4550
jne 0x402b8f
mov edi, 0x1947
lea ecx, [ecx]
mov eax, 0x66666667
imul edi
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402990
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x402b8f
xor esi, esi
inc esi
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 0x4029d0
add esi, 2
cmp esi, 0x55c8
jl 0x4029b3
mov edi, 0x7bf8
lea ecx, [ecx]
mov eax, 0x94f2095
imul edi
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4029e0
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [edx + 0x78]
add edx, esi
mov dword [ebp - 8], edx
mov eax, dword [edx + 0x24]
mov ecx, dword [edx + 0x20]
add eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x1c]
add eax, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
add ecx, esi
shr eax, 0x10
mov dword [ebp - 0xc], ecx
mov edi, 0x78af
test eax, eax
je 0x402a52
xor esi, esi
cmp dword [edx + 0x18], ebx
jbe 0x402a52
nop
mov eax, dword [ecx + esi*4]
add eax, dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call fcn.00403230
add esp, 8
test eax, eax
jne 0x402a6d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc esi
cmp esi, dword [eax + 0x18]
jb 0x402a30
mov eax, 0x28c1979
imul edi
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402a52
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ebx, 0x7fc2
movzx edi, word [eax + esi*2]
lea esp, [esp]
mov eax, 0x634c0635
imul ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402a80
xor esi, esi
inc esi
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, esi
sub eax, ecx
jne 0x402ab3
inc esi
cmp esi, 0x2412
jl 0x402a95
xor esi, esi
lea ecx, [ecx]
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 0x402adb
inc esi
cmp esi, 0x6b98
jl 0x402ac0
inc ebx
mov eax, ebx
and eax, 0x80000003
jns 0x402af2
dec eax
or eax, 0xfffffffc
inc eax
jne 0x402af5
inc ebx
cmp ebx, 0x72eb
jl 0x402ae3
xor ebx, ebx
nop
inc ebx
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, ebx
lea eax, [eax + eax*2]
sub ecx, eax
jne 0x402b1b
add ebx, 2
cmp ebx, 0x4c18
jl 0x402b00
mov eax, 0x63e7063f
imul dword [ebp - 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], eax
jne 0x402b23
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
cmp ecx, eax
jbe 0x402b53
add eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x402b8f
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*8]
sub ecx, eax
jne 0x402b7e
add esi, esi
jmp 0x402b87
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add esi, eax
cmp esi, 0x7509
jl 0x402b60
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret