Function at 0x90aaf0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 0x3c]
push edi
mov edi, edx
cmp ecx, dword [ebx]
jae 0x90abdb
mov dl, byte [ecx + eax]
cmp dl, 0x61
jb 0x90ab1f
cmp dl, 0x7a
ja 0x90ab1f
movzx edx, dl
sub edx, 0x20
jmp 0x90ab22
movzx edx, dl
cmp edx, 0x50
jne 0x90abdb
mov dl, byte [ecx + eax + 1]
cmp dl, 0x61
jb 0x90ab41
cmp dl, 0x7a
ja 0x90ab41
movzx edx, dl
sub edx, 0x20
jmp 0x90ab44
movzx edx, dl
cmp edx, 0x45
jne 0x90abdb
mov edx, dword [ecx + eax + 4]
lea ecx, [ecx + eax + 4]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
shr ecx, 0x10
mov dword [esp + 0x20], edx
test cl, 2
je 0x90abdb
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x90ab87
mov dword [edx], 1
test esi, esi
je 0x90ab91
mov dword [esi], 1
mov esi, dword [esp + 0x38]
mov dword [ebx], 0
test esi, esi
je 0x90aba5
mov dword [esi], 1
mov edx, dword [esp + 0x30]
test edx, edx
je 0x90abb8
cmp dword [edx], 0
jne 0x90abb8
mov dword [edx], 1
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x90abc7
mov dword [ebp], 1
test ecx, 0x2000
je 0x90abe7
test edi, edi
je 0x90abe7
mov dword [edi], 1
jmp 0x90abe7
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
cmp dword [edi], 0x40
mov bl, 0x5a
jbe 0x90ac5f
cmp byte [eax], 0x4d
jne 0x90ac5f
cmp byte [eax + 1], bl
jne 0x90ac5f
mov cl, byte [eax + 2]
cmp cl, 0x90
je 0x90ac21
cmp cl, 0xa
je 0x90ac21
cmp cl, 0x50
je 0x90ac21
cmp cl, 0x40
je 0x90ac21
test cl, cl
je 0x90ac21
cmp cl, 0x80
je 0x90ac21
cmp cl, 0xf
jne 0x90ac5f
cmp byte [eax + 3], 0
jne 0x90ac5f
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x90ac35
mov dword [ecx], 1
mov dword [edi], 0
test esi, esi
je 0x90ac45
mov dword [esi], 1
test edx, edx
je 0x90ac54
cmp dword [edx], 0
jne 0x90ac54
mov dword [edx], 1
test ebp, ebp
je 0x90ac5f
mov dword [ebp], 1
mov ecx, dword [edi]
test ecx, ecx
jbe 0x90ae1f
cmp byte [eax + 4], 0
jne 0x90ac79
cmp byte [eax + 5], 0
je 0x90ae1f
mov dword [esp + 0x10], 0
cmp ecx, 0x100
jbe 0x90adc9
cmp byte [eax], 0x4d
jne 0x90adc9
cmp byte [eax + 1], bl
jne 0x90adc9
cmp byte [eax + 5], 0
jne 0x90adc9
cmp byte [eax + 6], 0
jne 0x90adc9
cmp byte [eax + 7], 0
jne 0x90adc9
cmp byte [eax + 9], 0
jne 0x90adc9
cmp byte [eax + 0xa], 0
jne 0x90adc9
cmp byte [eax + 0xb], 0
jne 0x90adc9
mov cl, 0xff
cmp byte [eax + 0xc], cl
jne 0x90adc9
cmp byte [eax + 0xd], cl
jne 0x90adc9
cmp byte [eax + 0xf], 0
jne 0x90adc9
cmp byte [eax + 0x14], 0
jne 0x90adc9
cmp byte [eax + 0x15], 0
jne 0x90adc9
cmp byte [eax + 0x16], 0
jne 0x90adc9
cmp byte [eax + 0x17], 0
jne 0x90adc9
cmp byte [eax + 0x18], 0x40
jne 0x90adc9
cmp byte [eax + 0x19], 0
jne 0x90adc9
cmp byte [eax + 0x1a], 0
jne 0x90adc9
cmp byte [eax + 0x1b], 0
jne 0x90adc9
xor ebx, ebx
lea esi, [eax + 0x100]
xor ebp, ebp
mov edi, 0x100
cmp byte [esi], 0x46
jne 0x90ad93
push 7
mov eax, str.FONTDIR
mov ecx, esi
call fcn.0094c380
add esp, 4
test eax, eax
jne 0x90ad77
lea ebx, [eax + 1]
jmp 0x90ad8f
push 7
mov eax, str.FONTRES
mov ecx, esi
call fcn.0094c380
add esp, 4
test eax, eax
jne 0x90ad8f
lea ebp, [eax + 1]
mov edx, dword [esp + 0x30]
inc esi
sub edi, 1
jne 0x90ad58
test ebx, ebx
je 0x90adc1
test ebp, ebp
je 0x90adc1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 1
test eax, eax
je 0x90ae1f
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [eax], 1
jmp 0x90adcd
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x90addc
cmp dword [eax], 1
je 0x90addc
mov dword [eax], 0
cmp dword [esp + 0x10], 0
jne 0x90ae1f
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x90adf1
mov dword [eax], 1
mov eax, dword [esp + 0x2c]
mov dword [eax], 0
test esi, esi
je 0x90ae05
mov dword [esi], 1
test edx, edx
je 0x90ae14
cmp dword [edx], 0
jne 0x90ae14
mov dword [edx], 1
test ebp, ebp
je 0x90ae1f
mov dword [ebp], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret