Function at 0x14000da24
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14001f078]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15, r9
mov r14, qword [rsp + 0xd0]
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], 0
mov qword [r11 - 0x50], 0
mov rdi, 0xffffffffffffffff
mov qword [r11 - 0x70], rdi
lea r12d, [rdi + 0x15]
mov qword [r11 - 0x40], rdi
mov qword [r11 - 0x48], 0
and dword [r14], 0
lea rax, [r11 - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [r11 - 0x40]
lea r8, [r11 - 0x58]
lea r13d, [rdi + 2]
mov ecx, r13d
call fcn.14000d8ac
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14000dc87
mov eax, dword [rsp + 0x50]
cmp eax, 4
jb 0x14000dc6d
mov rdx, qword [rsp + 0x58]
mov ecx, 0x5a4d
cmp word [rdx], cx
jne 0x14000dc6d
cmp eax, 0x40
jb 0x14000dc6d
cmp word [rdx], cx
jne 0x14000dc6d
movsxd r8, dword [rdx + 0x3c]
lea rcx, [r8 + 0x40]
cmp rax, rcx
jb 0x14000dc6d
cmp dword [r8 + rdx], 0x4550
jne 0x14000dc6d
lea rdx, [rsp + 0x38]
call fcn.14001088c
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14000db23
mov rdi, qword [rsp + 0x38]
jmp 0x14000dc87
mov rdi, qword [rsp + 0x38]
mov r9, rdi
lea rcx, [rsp + 0x50]
call fcn.14000d5f4
test eax, eax
jne 0x14000db47
mov ebx, 0x80090002
mov dword [rsp + 0x30], ebx
jmp 0x14000dc87
mov eax, dword [rsp + 0x50]
lea r8d, [rax + 7]
and r8d, 0xfffffff8
sub r8d, eax
je 0x14000db6b
and qword [rsp + 0x70], 0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.14000d830
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000dc5b
xor r14d, r14d
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x44], r13d
mov rax, r15
neg rax
sbb edx, edx
and edx, 0x14
cmp dword [rdi], 4
je 0x14000dbc9
cmp dword [rdi], 0xc
je 0x14000dba3
mov r14d, 0x80090008
jmp 0x14000dbd8
cmp qword [rdi + 8], r14
je 0x14000dbd2
mov r12d, 0x20
mov dword [rsp + 0x40], r12d
neg r15
sbb ebx, ebx
and ebx, 0x8007007a
mov r14, qword [rsp + 0x48]
jmp 0x14000dc60
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x14000dbdf
mov r14d, 0x80049301
mov dword [rsp + 0x34], r14d
jmp 0x14000dc00
mov r12d, 0x14
mov dword [rsp + 0x40], r12d
cmp edx, r12d
jb 0x14000dbb4
mov rdx, r15
call fcn.1400126cc
movzx r13d, al
mov dword [rsp + 0x44], r13d
mov ebx, 0x80090002
test r13d, r13d
cmove r14d, ebx
mov ebx, r14d
mov dword [rsp + 0x34], ebx
test r14d, r14d
js 0x14000dbbf
test r15, r15
je 0x14000dbbf
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000dc3e
mov eax, dword [rdi]
add eax, 0xfffffffc
test eax, 0xfffffff7
jne 0x14000dc3e
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x38], rdi
jmp 0x14000dbbf
mov ebx, 0x80070057
mov dword [rsp + 0x30], ebx
test ebx, ebx
js 0x14000dc87
mov dword [r14], r12d
jmp 0x14000dc87
mov ebx, 0x800700c1
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x30], ebx
jmp 0x14000dc87
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14000dca0
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000dcb6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x14000dccd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000dd07
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000dcf8
mov eax, dword [rdi]
add eax, 0xfffffffc
test eax, 0xfffffff7
jne 0x14000dcf8
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400156d0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
ret