Function at 0x1401703a0
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.14016fc00
test al, al
je 0x14017075f
mov rax, qword [0x1402cdf98]
mov qword [rsp + 0x80], rbx
mov ebx, 0x5a4d
test rax, rax
jne 0x14017046e
mov rcx, qword [0x1402cdf80]
nop dword [rax + rax]
cmp word [rcx], bx
jne 0x1401704e5
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401704e5
cmp dword [rdx + rcx], 0x4550
jne 0x1401704e5
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401704e5
nop dword [rax + rax]
cmp dword [rdx + 4], esi
je 0x1401704e5
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.BcdEnumerateObjects
call fcn.14017e4c0
mov qword [0x1402cdf98], rax
test rax, rax
je 0x140170757
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.0x14013d84a.0]
cmp eax, 0xc0000023
jne 0x140170594
mov r8d, dword [rsp + 0x90]
mov edx, 4
mov rcx, qword [0x1402caaf0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.14020ab40
call fcn.14016fc00
test al, al
jne 0x1401704f1
mov eax, 0xc0000001
jmp 0x140170594
mov qword [0x1402cdf98], rdi
jmp 0x140170757
mov rax, qword [0x1402cdf98]
test rax, rax
jne 0x14017056e
mov rcx, qword [0x1402cdf80]
cmp word [rcx], bx
jne 0x14017072b
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14017072b
cmp dword [rdx + rcx], 0x4550
jne 0x14017072b
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14017072b
nop
cmp dword [rdx + 4], edi
je 0x14017072b
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.BcdEnumerateObjects
call fcn.14017e4c0
mov qword [0x1402cdf98], rax
test rax, rax
je 0x140170732
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.0x14013d84a.0]
test eax, eax
js 0x14017073c
lfence
test rsi, rsi
je 0x140170757
lfence
cmp dword [rsp + 0x98], edi
jbe 0x14017067a
mov qword [rsp + 0x50], rbp
nop
call fcn.14016fc00
test al, al
je 0x140170666
mov eax, edi
lea r8, [rsp + 0x38]
lea rcx, [rax + rax*2]
mov rax, qword [0x1402cdfb8]
lea rbp, [rsi + rcx*8]
mov rcx, r14
mov rdx, rbp
call qword [case.0x14013d84a.0]
test eax, eax
js 0x140170666
mov rbx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.14016ff80
test eax, eax
js 0x14017064d
mov rcx, qword [0x1402caaf0]
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.14016fc00
test al, al
je 0x140170666
mov rax, qword [0x1402cdf88]
mov rcx, rbx
call qword [case.0x14013d84a.0]
inc edi
cmp edi, dword [rsp + 0x98]
jb 0x1401705c0
mov rbp, qword [rsp + 0x50]
call fcn.14016fc00
nop
test al, al
je 0x140170745
lfence
mov rax, qword [0x1402cdfb8]
lea r8, [rsp + 0x40]
lea rdx, [0x140237240]
mov rcx, r14
call qword [case.0x14013d84a.0]
test eax, eax
js 0x140170745
mov rbx, qword ds:[rsp + 0x40]
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.14016ff80
test eax, eax
js 0x140170710
mov rcx, qword [0x1402caaf0]
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.14016fc00
test al, al
je 0x140170745
mov rax, qword [0x1402cdf88]
mov rcx, rbx
call qword [case.0x14013d84a.0]
jmp 0x140170745
mov qword [0x1402cdf98], rdi
mov eax, 0xc0000001
jmp 0x140170594
nop dword [rax]
test rsi, rsi
je 0x140170757
mov rcx, qword [0x1402caaf0]
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