Function at 0x14000cbb0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1f0
cmp qword [rsp + 0x208], 0
jne 0x14000cbd9
xor eax, eax
jmp 0x14000cef3
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosb byte [rdi], al
mov r9d, 0x40
lea r8, [rsp + 0xa0]
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x200]
call fcn.14000d610
movzx eax, al
test eax, eax
je 0x14000cc82
movzx eax, word [rsp + 0xa0]
cmp eax, 0x5a4d
jne 0x14000cc82
movsxd rax, dword [rsp + 0xdc]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov r9d, pe_nt_image_headers64
lea r8, [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [rsp + 0x200]
call fcn.14000d610
movzx eax, al
test eax, eax
je 0x14000cc82
cmp dword [rsp + 0xe0], 0x4550
je 0x14000cc89
xor eax, eax
jmp 0x14000cef3
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x168]
mov dword [rsp + 0x24], eax
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x16c]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x24], 0
je 0x14000ccbf
cmp dword [rsp + 0x30], 0
jne 0x14000ccc6
xor eax, eax
jmp 0x14000cef3
mov eax, dword [rsp + 0x30]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x208]
add rdx, rcx
mov rcx, rdx
mov r9d, eax
mov r8, qword [rsp + 0x28]
mov rdx, rcx
mov rcx, qword [rsp + 0x200]
call fcn.14000d610
movzx eax, al
test eax, eax
jne 0x14000cd34
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000cef3
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0
jmp 0x14000cd92
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x14000cede
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400031b0
mov rcx, qword [rsp + 0x210]
call fcn.1400052b0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x80]
call fcn.1400052b0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14001f9c8
test eax, eax
jne 0x14000cecc
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x34], ax
movzx eax, word [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x40], rax
jb 0x14000ce9b
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x30]
add rax, rcx
cmp qword [rsp + 0x40], rax
ja 0x14000ce9b
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x80]
call fcn.140003c90
mov rax, qword [rsp + 0x70]
jmp 0x14000cef3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x80]
call fcn.140003c90
mov rax, qword [rsp + 0x78]
jmp 0x14000cef3
lea rcx, [rsp + 0x80]
call fcn.140003c90
jmp 0x14000cd88
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x1f0
pop rdi
ret