Function at 0x140171020
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.140170880
test al, al
je 0x1401713df
mov rax, qword [0x1402ceec8]
mov qword [rsp + 0x80], rbx
mov ebx, 0x5a4d
test rax, rax
jne 0x1401710ee
mov rcx, qword [0x1402ceeb0]
nop dword [rax + rax]
cmp word [rcx], bx
jne 0x140171165
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140171165
cmp dword [rdx + rcx], 0x4550
jne 0x140171165
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140171165
nop dword [rax + rax]
cmp dword [rdx + 4], esi
je 0x140171165
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.BcdEnumerateObjects
call fcn.14017f180
mov qword [0x1402ceec8], rax
test rax, rax
je 0x1401713d7
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.0x14013dbaa.0]
cmp eax, 0xc0000023
jne 0x140171214
mov r8d, dword [rsp + 0x90]
mov edx, 4
mov rcx, qword [0x1402cba10]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.14020ba80
call fcn.140170880
test al, al
jne 0x140171171
mov eax, 0xc0000001
jmp 0x140171214
mov qword [0x1402ceec8], rdi
jmp 0x1401713d7
mov rax, qword [0x1402ceec8]
test rax, rax
jne 0x1401711ee
mov rcx, qword [0x1402ceeb0]
cmp word [rcx], bx
jne 0x1401713ab
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401713ab
cmp dword [rdx + rcx], 0x4550
jne 0x1401713ab
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401713ab
nop
cmp dword [rdx + 4], edi
je 0x1401713ab
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.BcdEnumerateObjects
call fcn.14017f180
mov qword [0x1402ceec8], rax
test rax, rax
je 0x1401713b2
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.0x14013dbaa.0]
test eax, eax
js 0x1401713bc
lfence
test rsi, rsi
je 0x1401713d7
lfence
cmp dword [rsp + 0x98], edi
jbe 0x1401712fa
mov qword [rsp + 0x50], rbp
nop
call fcn.140170880
test al, al
je 0x1401712e6
mov eax, edi
lea r8, [rsp + 0x38]
lea rcx, [rax + rax*2]
mov rax, qword [0x1402ceee8]
lea rbp, [rsi + rcx*8]
mov rcx, r14
mov rdx, rbp
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x1401712e6
mov rbx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140170c00
test eax, eax
js 0x1401712cd
mov rcx, qword [0x1402cba10]
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.140170880
test al, al
je 0x1401712e6
mov rax, qword [0x1402ceeb8]
mov rcx, rbx
call qword [case.0x14013dbaa.0]
inc edi
cmp edi, dword [rsp + 0x98]
jb 0x140171240
mov rbp, qword [rsp + 0x50]
call fcn.140170880
nop
test al, al
je 0x1401713c5
lfence
mov rax, qword [0x1402ceee8]
lea r8, [rsp + 0x40]
lea rdx, [0x140238410]
mov rcx, r14
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x1401713c5
mov rbx, qword ds:[rsp + 0x40]
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.140170c00
test eax, eax
js 0x140171390
mov rcx, qword [0x1402cba10]
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 [0x140238410]
mov qword [rax + 0x10], rdx
mov rdx, rax
movups xmmword [rax], xmm0
call sym.SystemInformer.exe_PhAddItemList
call fcn.140170880
test al, al
je 0x1401713c5
mov rax, qword [0x1402ceeb8]
mov rcx, rbx
call qword [case.0x14013dbaa.0]
jmp 0x1401713c5
mov qword [0x1402ceec8], rdi
mov eax, 0xc0000001
jmp 0x140171214
nop dword [rax]
test rsi, rsi
je 0x1401713d7
mov rcx, qword [0x1402cba10]
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