Function at 0x10009f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
jne 0x10009f45
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3c], 0
jne 0x10009f4c
xor eax, eax
jmp 0x1000a100
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10009f6a
xor eax, eax
jmp 0x1000a100
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x80]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x80], 0
je 0x10009f91
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x84], 0
jne 0x10009f98
xor eax, eax
jmp 0x1000a100
jmp 0x10009fa3
mov edx, dword [ebp - 4]
add edx, 0x14
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1000a0fe
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
jne 0x10009fbe
jmp 0x1000a0fe
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10044160
add esp, 8
test eax, eax
jne 0x1000a0f9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x1000a00d
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1000a040
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0
jne 0x1000a022
jmp 0x1000a0f9
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x1c], edx
jmp 0x1000a069
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x1000a04d
jmp 0x1000a0f9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
xor eax, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
and edx, 0x80000000
mov eax, dword [ebp - 0x20]
and eax, 0
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
or ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x1000a0f4
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dl, byte [ecx]
mov byte [ebp - 0x35], dl
mov eax, dword [ebp - 0x30]
cmp dl, byte [eax]
jne 0x1000a0d1
cmp byte [ebp - 0x35], 0
je 0x1000a0c8
mov ecx, dword [ebp - 0x34]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x36], dl
mov eax, dword [ebp - 0x30]
cmp dl, byte [eax + 1]
jne 0x1000a0d1
add dword [ebp - 0x34], 2
add dword [ebp - 0x30], 2
cmp byte [ebp - 0x36], 0
jne 0x1000a094
mov dword [ebp - 0x3c], 0
jmp 0x1000a0d9
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
jne 0x1000a0f4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, 1
jmp 0x1000a100
jmp 0x10009ffb
jmp 0x10009f9a
xor eax, eax
mov esp, ebp
pop ebp
ret