Function at 0x409e90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
push edi
mov word [ebp - 0x14], ax
xor edi, edi
xor eax, eax
ror byte [ecx + 0x646af87d], 0x66
mov dword [ebp - 0x12], eax
call fcn.00406270
mov ecx, dword [ebp + 0x10]
call fcn.00404140
mov ebx, dword [ebp + 0xc]
cmp word [ebx], di
je 0x409fd2
lea esp, [esp]
movzx eax, word [ebx + edi*2]
cmp eax, 0x20
je 0x40a009
cmp eax, 9
je 0x40a009
movzx eax, word [ebx + edi*2]
mov dword [ebp - 8], edi
test ax, ax
je 0x409fd2
mov esi, eax
mov word [ebp - 0x12], di
mov dword [ebp - 0x10], eax
cmp esi, 0x30
jae 0x409f6e
cmp esi, 0x2e
je 0x409f73
cmp esi, 0x41
jae 0x40a00f
cmp esi, 0x61
jae 0x40a107
cmp esi, 0x5f
je 0x40a110
mov eax, esi
cmp eax, 0x24
je case.0x409f4b.64
cmp eax, 0x3d
je 0x40a13c
sub eax, 0x1a
cmp eax, 0x44
ja case.0x409f4b.27
movzx eax, byte [eax + 0x40a45c]
jmp dword [eax*4 + 0x40a410]
push 0x4f
lea ecx, [ebp - 0x1c]
call fcn.0040a5fb
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a4a1
inc edi
mov dword [ebp - 8], edi
jmp 0x409fc7
cmp esi, 0x39
ja 0x409f04
mov eax, dword [ebp + 0x10]
mov edi, 0x40
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x409f90
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4 - 4]
movzx edi, word [eax + 8]
push edi
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 8]
call fcn.00404573
add esp, 0xc
cmp al, 1
jne 0x40a36b
cmp di, 0x4a
je 0x40a310
mov edi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a4a1
cmp word [ebx + edi*2], 0
jne 0x409ed0
push 0x7f
lea ecx, [ebp - 0x1c]
call fcn.0040a5fb
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
mov word [ebp - 0x12], di
call fcn.0040a4a1
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.0040988f
lea ecx, [ebp - 0x1c]
call fcn.0041cf6e
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
inc edi
jmp 0x409ed0
cmp esi, 0x5a
ja 0x409f12
jmp 0x40a110
push dword [ebp + 0x10]
call fcn.00409e4a
test eax, eax
js 0x44f7ea
xor eax, eax
lea ecx, [ebp - 0x1c]
cmp word [ebp - 0x10], 0x24
sete al
add eax, 0x32
push eax
call fcn.0040a5fb
inc edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], edi
call fcn.0040a6c3
movzx ebx, word [ebx + edi*2]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
lea esp, [esp]
cmp bx, 0x5a
jbe 0x40a0b4
cmp bx, 0x61
jb 0x40a0bc
cmp bx, 0x7a
ja 0x40a0bc
mov edx, dword [esi]
cmp edx, 1
jg 0x44f741
xor al, al
test al, al
jne 0x44f748
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a587
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], bx
inc ecx
inc edi
mov dword [ebp - 0x28], ecx
mov word [eax + ecx*2], dx
mov eax, dword [ebp + 0xc]
movzx ebx, word [eax + edi*2]
jmp 0x40a060
cmp bx, 0x41
jae 0x40a072
jmp 0x40a066
cmp bx, 0x30
jae 0x40a131
cmp bx, 0x5f
je 0x40a072
mov dword [ebp - 8], edi
test ecx, ecx
je 0x40a405
lea ecx, [ebp - 0x2c]
call fcn.0040aec9
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call dword [0x49c684]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a673
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a4a1
mov ebx, dword [ebp + 0xc]
invalid
invalid