Function at 0x10090e00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0xb4
push ebx
cmp ecx, 0x200
jb 0x1009102c
mov ebx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x1009102c
mov edx, dword [ebx + 0x3c]
cmp edx, 0x40
jb 0x1009102c
lea eax, [ecx - 0xf8]
cmp edx, eax
jae 0x1009102c
cmp dword [edx + ebx], 0x4550
jne 0x1009102c
cmp dword [ebx + 0x40], 0x564c56
je 0x10090e64
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x44], 1
je 0x10090e74
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, dword [ebx + 0x48]
jb 0x10091022
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], eax
lea eax, [ebx + 0x18]
add eax, edx
mov edx, 0x10b
movzx ecx, word [eax]
cmp cx, dx
jne 0x10090e9c
mov dword [ebp - 4], eax
jmp 0x10090ead
mov edx, 0x20b
cmp cx, dx
jne 0x10091022
mov dword [ebp + 0xc], eax
push esi
push edi
lea eax, [ebx + 0x50]
mov ecx, 0x20
push 0x80
mov esi, eax
mov dword [ebp - 0x34], eax
lea edi, [ebp - 0xb4]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100c3490
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
lea edi, [eax + 0x40]
mov dword [ebp - 0x1c], edi
lea ecx, [eax + 0x90]
mov dword [ebp - 0x20], ecx
lea esi, [edx + 0x40]
mov dword [ebp - 0x14], esi
lea eax, [edx + 0x80]
mov dword [ebp - 0x18], eax
test edx, edx
je 0x10090f1b
mov edi, dword [esi]
xor ecx, ecx
mov dword [esi], 0
mov dword [ebp - 8], edi
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 4]
mov dword [eax], ecx
mov dword [ebp - 0x10], edi
mov dword [eax + 4], ecx
jmp 0x10090f44
mov edx, dword [edi]
mov dword [edi], 0
mov dword [ebp - 8], edx
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
xor edx, edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ecx
xor dl, dl
xor esi, esi
jmp 0x10090f50
cmp esi, dword [ebp + 0x14]
jae 0x10090fde
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
mov edi, dword [ebx + 0x48]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
push dword [eax + esi*4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x1024e0e4
call fcn.10082ef0
lea ecx, [ebp - 0x30]
test al, al
jne 0x10090f97
call fcn.10082b40
xor dl, dl
inc esi
jmp 0x10090f50
call fcn.10082c40
test al, al
jne 0x10090fad
lea ecx, [ebp - 0x30]
call fcn.10082b40
xor dl, dl
inc esi
jmp 0x10090f50
lea eax, [ebp - 0x30]
push eax
push 0x80
lea eax, [ebp - 0xb4]
push eax
push edi
push ebx
call fcn.100833f0
add esp, 0x14
mov byte [ebp + 0xf], al
lea ecx, [ebp - 0x30]
call fcn.10082b40
mov dl, byte [ebp + 0xf]
inc esi
test dl, dl
je 0x10090f50
cmp dword [ebp - 4], 0
lea esi, [ebp - 0xb4]
mov edi, dword [ebp - 0x34]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
pop edi
pop esi
je 0x10091003
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
jmp 0x1009100b
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
xor eax, eax
test dl, dl
pop ebx
sete al
mov esp, ebp
pop ebp
ret
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret