Function at 0x14016fb20
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
xor edi, edi
mov dword [rax - 0x48], 1
mov dword [rax + 0x20], edi
mov esi, edi
mov dword [rax + 0x18], edi
mov r15, rdx
mov r14, rcx
mov dword [rax - 0x44], 0x10200003
call fcn.14016f380
test al, al
je 0x14016fedf
mov rax, qword [0x1402cdf78]
mov qword [rsp + 0x80], rbx
mov ebx, 0x5a4d
test rax, rax
jne 0x14016fbee
mov rcx, qword [0x1402cdf60]
nop dword [rax + rax]
cmp word [rcx], bx
jne 0x14016fc65
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14016fc65
cmp dword [rdx + rcx], 0x4550
jne 0x14016fc65
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14016fc65
nop dword [rax + rax]
cmp dword [rdx + 4], esi
je 0x14016fc65
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.BcdEnumerateObjects
call fcn.14017dc40
mov qword [0x1402cdf78], rax
test rax, rax
je 0x14016fed7
lea rcx, [rsp + 0x98]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x90]
mov rcx, r14
lea rdx, [rsp + 0x30]
call qword [case.0x14013d64a.0]
cmp eax, 0xc0000023
jne 0x14016fd14
mov r8d, dword [rsp + 0x90]
mov edx, 4
mov rcx, qword [0x1402caad0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.14020a280
call fcn.14016f380
test al, al
jne 0x14016fc71
mov eax, 0xc0000001
jmp 0x14016fd14
mov qword [0x1402cdf78], rdi
jmp 0x14016fed7
mov rax, qword [0x1402cdf78]
test rax, rax
jne 0x14016fcee
mov rcx, qword [0x1402cdf60]
cmp word [rcx], bx
jne 0x14016feab
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14016feab
cmp dword [rdx + rcx], 0x4550
jne 0x14016feab
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14016feab
nop
cmp dword [rdx + 4], edi
je 0x14016feab
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.BcdEnumerateObjects
call fcn.14017dc40
mov qword [0x1402cdf78], rax
test rax, rax
je 0x14016feb2
lea rcx, [rsp + 0x98]
mov r8, rsi
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x90]
mov rcx, r14
lea rdx, [rsp + 0x30]
call qword [case.0x14013d64a.0]
test eax, eax
js 0x14016febc
lfence
test rsi, rsi
je 0x14016fed7
lfence
cmp dword [rsp + 0x98], edi
jbe 0x14016fdfa
mov qword [rsp + 0x50], rbp
nop
call fcn.14016f380
test al, al
je 0x14016fde6
mov eax, edi
lea r8, [rsp + 0x38]
lea rcx, [rax + rax*2]
mov rax, qword [0x1402cdf98]
lea rbp, [rsi + rcx*8]
mov rcx, r14
mov rdx, rbp
call qword [case.0x14013d64a.0]
test eax, eax
js 0x14016fde6
mov rbx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.14016f700
test eax, eax
js 0x14016fdcd
mov rcx, qword [0x1402caad0]
mov edx, 4
mov r8d, 0x18
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor ecx, ecx
xorps xmm0, xmm0
mov rdx, rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
mov rcx, r15
movups xmmword [rax], xmm0
call sym.SystemInformer.exe_PhAddItemList
call fcn.14016f380
test al, al
je 0x14016fde6
mov rax, qword [0x1402cdf68]
mov rcx, rbx
call qword [case.0x14013d64a.0]
inc edi
cmp edi, dword [rsp + 0x98]
jb 0x14016fd40
mov rbp, qword [rsp + 0x50]
call fcn.14016f380
nop
test al, al
je 0x14016fec5
lfence
mov rax, qword [0x1402cdf98]
lea r8, [rsp + 0x40]
lea rdx, [0x140237240]
mov rcx, r14
call qword [case.0x14013d64a.0]
test eax, eax
js 0x14016fec5
mov rbx, qword ds:[rsp + 0x40]
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.14016f700
test eax, eax
js 0x14016fe90
mov rcx, qword [0x1402caad0]
mov edx, 4
mov r8d, 0x18
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdx, qword [rsp + 0x38]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov rcx, r15
movups xmm0, xmmword [0x140237240]
mov qword [rax + 0x10], rdx
mov rdx, rax
movups xmmword [rax], xmm0
call sym.SystemInformer.exe_PhAddItemList
call fcn.14016f380
test al, al
je 0x14016fec5
mov rax, qword [0x1402cdf68]
mov rcx, rbx
call qword [case.0x14013d64a.0]
jmp 0x14016fec5
mov qword [0x1402cdf78], rdi
mov eax, 0xc0000001
jmp 0x14016fd14
nop dword [rax]
test rsi, rsi
je 0x14016fed7
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x80]
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
ret