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

Disassembly:
sub esp, 0x234
mov eax, dword [0x424030]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x238]
push ebx
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
test eax, eax
je 0x40e2fa
push edi
mov edi, dword [ecx + 8]
xor edi, eax
mov eax, 0x5a4d
cmp ax, word [edi]
jne 0x40e2f9
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x40e2f9
mov ecx, dword [eax + 0x78]
add ecx, edi
mov dword [esp + 8], ecx
je 0x40e2f9
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40e2f9
mov eax, dword [ecx + 0x24]
add eax, edi
push ebp
mov ebp, dword [ecx + 0x1c]
mov dword [esp + 0x30], eax
push esi
mov esi, dword [ecx + 0x20]
mov eax, edx
add ebp, edi
add esi, edi
xor eax, 0x98989898
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], esi
cmp eax, 0xffff
jbe 0x40e212
mov ebp, dword [ecx + 0x18]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
test ebp, ebp
jbe 0x40e2f7
jmp 0x40e1a4
mov esi, dword [esp + 0x28]
mov esi, dword [esi + eax*4]
add esi, edi
xor ebp, ebp
cmp byte [esi], 0
je 0x40e1dd
mov eax, esi
sub edx, esi
jmp 0x40e1ba
mov ebx, dword [esp + 0x18]
mov cl, byte [edx + eax]
test cl, cl
je 0x40e1d5
mov bl, byte [eax]
xor bl, 0x98
cmp bl, cl
jne 0x40e1d1
inc eax
inc ebp
cmp byte [eax], 0
jne 0x40e1b6
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp byte [esi + ebp], 0
jne 0x40e1e9
cmp byte [edx + ebp], 0
je 0x40e1fd
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x20]
jb 0x40e1a0
jmp 0x40e2f7
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
movzx edx, word [edx + eax*2]
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + edx*4]
jmp 0x40e219
sub edx, dword [ecx + 0x10]
mov ebx, dword [ebp + edx*4]
add ebx, edi
cmp ebx, ecx
jbe 0x40e2f7
mov edx, dword [esp + 0x24]
add edx, ecx
cmp ebx, edx
jae 0x40e2f7
push 0x103
lea eax, [esp + 0x3d]
push 0
push eax
mov byte [esp + 0x44], 0
call fcn.00411760
push 0x103
lea ecx, [esp + 0x14d]
push 0
push ecx
mov byte [esp + 0x154], 0
call fcn.00411760
xor ecx, ecx
add esp, 0x18
cmp byte [ebx], cl
je 0x40e288
lea esi, [esp + 0x38]
mov eax, ebx
sub esi, ebx
cmp ecx, 0x103
jae 0x40e288
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
inc ecx
cmp byte [eax], 0
jne 0x40e274
mov al, 0x2e
cmp byte [esp + ecx + 0x38], al
je 0x40e297
dec ecx
cmp byte [esp + ecx + 0x38], al
jne 0x40e290
test ecx, ecx
je 0x40e2f7
lea eax, [esp + ecx + 0x39]
test eax, eax
je 0x40e2f7
mov dl, byte [eax]
test dl, dl
je 0x40e2bf
lea esi, [esp + 0x13c]
mov ecx, eax
sub esi, eax
mov byte [esi + ecx], dl
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x40e2b4
mov edx, dword [esp + 0x2c]
mov esi, dword [edx + 0x1c]
mov cl, 0x6c
mov byte [eax + 1], cl
mov byte [eax + 2], cl
mov ecx, dword [edx + 8]
mov byte [eax], 0x64
mov byte [eax + 3], 0
mov eax, dword [edx + 0x18]
xor eax, ecx
xor esi, ecx
lea ecx, [esp + 0x38]
push ecx
call eax
test eax, eax
je 0x40e2f7
lea edx, [esp + 0x13c]
push edx
push eax
call esi
mov ebx, eax
pop esi
pop ebp
pop edi
mov ecx, dword [esp + 0x234]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0040ee17
add esp, 0x234
ret 4