Function at 0x10011b00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9300
push 0x1007e3d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x48], ecx
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x24], ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x38], ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 4]
mov edx, dword [ebp + 0xc]
cmp eax, edx
jae 0x10011b91
mov ecx, edx
sub ecx, eax
mov edx, dword [edi + 8]
cmp ecx, edx
mov ebx, ecx
jb 0x10011b58
mov ebx, edx
cmp ebx, 0x100000
jae 0x10011b68
cmp ecx, edx
jb 0x10011b6d
mov ecx, edx
jmp 0x10011b6d
mov ecx, 0x100000
mov edx, dword [edi + 0xc]
push edx
mov edx, dword [edi + 0x14]
push edx
mov edx, dword [edi + 0x10]
push edx
push ecx
mov ebx, dword [ebp + 8]
add eax, ebx
push eax
mov ecx, dword [ebp - 0x48]
call fcn.10011da0
test eax, eax
je 0x10011b96
jmp 0x10011d7b
mov ebx, dword [ebp + 8]
jmp 0x10011b9c
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp edx, 0x40
jae 0x10011bbb
mov ecx, 1
mov dword [ebp - 0x44], ecx
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
jmp 0x10011c47
cmp word [ebx], 0x5a4d
je 0x10011bd2
mov ecx, 1
mov dword [ebp - 0x44], ecx
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
jmp 0x10011c47
mov eax, dword [ebx + 0x3c]
lea edx, [eax + 0x138]
cmp dword [ebp + 0xc], edx
jae 0x10011bf0
mov ecx, 1
mov dword [ebp - 0x44], ecx
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
jmp 0x10011c47
add eax, ebx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
je 0x10011c0d
mov ecx, 1
mov dword [ebp - 0x44], ecx
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
jmp 0x10011c47
xor edx, edx
mov dx, word [eax + 6]
mov dword [ebp - 0x24], edx
lea esi, [eax + 0xf8]
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x38], eax
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
jmp 0x10011c47
test ecx, ecx
jne 0x10011d4f
test esi, esi
je 0x10011d4f
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x24]
jae 0x10011d80
mov dword [ebp - 4], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x38]
cmp ecx, eax
jb 0x10011c8e
mov edx, dword [esi + 8]
add edx, eax
cmp ecx, edx
jae 0x10011c8e
mov dword [ebp - 4], ebx
inc dword [ebp - 0x2c]
add esi, 0x28
mov dword [ebp - 0x1c], esi
jmp 0x10011c5a
push esi
mov ecx, dword [ebp - 0x48]
call fcn.10011a20
test eax, eax
jne 0x10011ca9
mov dword [ebp - 4], ebx
inc dword [ebp - 0x2c]
add esi, 0x28
mov dword [ebp - 0x1c], esi
jmp 0x10011c5a
cmp dword [ebp + 0x14], 2
jne 0x10011cc5
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [esi + 8]
cmp ecx, 0x10000
jb 0x10011cde
jmp 0x10011cd9
mov eax, dword [esi + 0x14]
add eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [esi + 0x10]
cmp ecx, 0x10000
jb 0x10011cde
mov ecx, 0x10000
mov dword [ebp - 0x20], ecx
lea edx, [ecx + eax]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add ebx, edi
cmp edx, ebx
jbe 0x10011d04
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
inc dword [ebp - 0x2c]
add esi, 0x28
mov dword [ebp - 0x1c], esi
jmp 0x10011c5a
mov edi, dword [ebp + 0x10]
mov edx, dword [edi + 0xc]
push edx
mov edx, dword [edi + 0x14]
push edx
mov edx, dword [edi + 0x10]
push edx
push ecx
push eax
mov ecx, dword [ebp - 0x48]
call fcn.10011da0
test eax, eax
je 0x10011cf0
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10011d80
mov eax, dword [ebp + 0xc]
cmp eax, 0xa0000
jb 0x10011d5e
mov eax, 0xa0000
mov ecx, dword [edi + 0xc]
push ecx
mov edx, dword [edi + 0x14]
push edx
mov ecx, dword [edi + 0x10]
push ecx
push eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.10011da0
test eax, eax
je 0x10011d80
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10