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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
lea esi, [ebx + 0x28]
xor edi, edi
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 0x4023cb
add ebx, 2
cmp ebx, 0x239a
jl 0x4023b0
cmp dword [ebp + 0xc], edi
je 0x40240e
mov ecx, 0x7b90
mov edx, 0x94
mov eax, 0x3d
cmp eax, 0x94
cmovl eax, edx
dec ecx
jne 0x4023e7
cmp dword [ebp + 0x10], edi
jne 0x402417
cmp dword [ebp + 0x18], edi
jne 0x402417
mov eax, 0x1b66
mov ecx, 0xe3
cmp esi, ecx
cmovl esi, ecx
dec eax
jne 0x402406
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x5726
lea esp, [esp]
mov eax, 0xb92143fb
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402420
mov edi, 0x35f7
lea ebx, [ebx]
mov eax, 0x473c1ab7
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402440
mov esi, dword [ebp + 0xc]
mov eax, 0x5a4d
mov ebx, dword [esi + 0x3c]
cmp word [esi], ax
jne 0x40240e
cmp dword [ebx + esi], 0x4550
jne 0x40240e
mov ecx, 0x70d5
mov edx, 0x73
mov eax, 0xed
jmp 0x402480
cmp eax, 0x73
cmovg eax, edx
dec ecx
jne 0x402480
mov eax, dword [ebx + esi + 0x7c]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40240e
mov edi, 0x7df
lea ecx, [ecx]
mov eax, 0x5254e78f
imul edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4024a0
mov ecx, 0x3db1
jmp 0x4024c0
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4024c0
mov ebx, dword [ebx + esi + 0x78]
add ebx, esi
mov edi, 0x265e
mov eax, 0x6bca1af3
imul edi
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4024e0
mov eax, dword [ebx + 0x20]
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x24]
add eax, esi
mov dword [ebp - 8], eax
mov ecx, 0x1a3d
jmp 0x402510
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402510
mov edi, 0x1fd
lea ebx, [ebx]
mov eax, 0x63e7063f
imul edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402530
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 0x10
test eax, eax
je 0x40240e
jmp 0x402560
inc edi
mov eax, edi
and eax, 0x80000007
jns 0x40256f
dec eax
or eax, 0xfffffff8
inc eax
jne 0x402572
inc edi
cmp edi, 0x725a
jl 0x402560
xor esi, esi
cmp dword [ebx + 0x18], esi
jbe 0x40240e
mov edi, dword [ebp - 4]
mov eax, dword [edi + esi*4]
add eax, dword [ebp + 0xc]
push eax
push ecx
call fcn.00402dd0
add esp, 8
test eax, eax
jne 0x4025ac
mov ecx, dword [ebp + 0x10]
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x402588
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, 0xf8
movzx edx, word [eax + esi*2]
mov eax, 0x3714
mov esi, 0xd1
cmp ecx, esi
cmovl ecx, esi
dec eax
jne 0x4025c2
mov esi, dword [ebp - 0xc]
mov eax, edx
mov ecx, 0x41b7
mov esi, dword [esi + eax*4]
add esi, dword [ebp + 0xc]
lea ebx, [ebx]
mov eax, 0xb40b40b5
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4025e0
cmp esi, ebx
jbe 0x402606
mov eax, dword [ebp - 0x10]
add eax, ebx
cmp esi, eax
jb 0x40240e
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret