Function at 0x140166d20
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r15
sub rsp, 0x68
xor edi, edi
mov dword [rax - 0x58], 1
mov dword [rax + 0x20], edi
mov r15d, edi
mov dword [rax + 0x18], edi
mov rsi, rdx
mov r12, rcx
mov dword [rax - 0x54], 0x10200003
call fcn.1401665a0
test al, al
je 0x140166eee
mov rax, qword [0x1402c3258]
mov qword [rsp + 0x90], rbx
mov ebx, 0x5a4d
test rax, rax
jne 0x140166dee
mov rcx, qword [0x1402c3240]
nop dword [rax]
cmp word [rcx], bx
jne 0x140166ef9
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140166ef9
cmp dword [rdx + rcx], 0x4550
jne 0x140166ef9
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140166ef9
nop dword [rax + rax]
cmp dword [rdx + 4], edi
je 0x140166ef9
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.BcdEnumerateObjects
call fcn.140174840
mov qword [0x1402c3258], rax
test rax, rax
je 0x140166ee6
lea rcx, [rsp + 0xa8]
xor r8d, r8d
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xa0]
mov rcx, r12
lea rdx, [rsp + 0x30]
call qword [str.PB__]
cmp eax, 0xc0000023
jne 0x140166f31
mov r8d, dword [rsp + 0xa0]
mov edx, 4
mov rcx, qword [0x1402bfe50]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0xa0]
xor edx, edx
mov rcx, rax
mov r15, rax
call fcn.1401dff50
call fcn.1401665a0
test al, al
je 0x140166eca
mov rax, qword [0x1402c3258]
nop
test rax, rax
jne 0x140166f0b
mov rcx, qword [0x1402c3240]
cmp word [rcx], bx
jne 0x140166f02
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140166f02
cmp dword [rdx + rcx], 0x4550
jne 0x140166f02
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140166f02
cmp dword [rdx + 4], edi
je 0x140166f02
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.BcdEnumerateObjects
call fcn.140174840
mov qword [0x1402c3258], rax
test rax, rax
jne 0x140166f0b
test r15, r15
je 0x140166ee6
mov rcx, qword [0x1402bfe50]
mov r8, r15
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x90]
add rsp, 0x68
pop r15
pop r12
pop rdi
pop rsi
ret
mov qword [0x1402c3258], rdi
jmp 0x140166ee6
mov qword [0x1402c3258], rdi
jmp 0x140166eca
lea rcx, [rsp + 0xa8]
mov r8, r15
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xa0]
mov rcx, r12
lea rdx, [rsp + 0x30]
call qword [str.PB__]
test eax, eax
js 0x140166eca
lfence
test r15, r15
je 0x140166ee6
lfence
cmp dword [rsp + 0xa8], edi
jbe 0x14016705a
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x60], r14
nop word [rax + rax]
call fcn.1401665a0
test al, al
je 0x140167039
mov eax, edi
lea r8, [rsp + 0x38]
lea rcx, [rax + rax*2]
mov rax, qword [0x1402c3278]
lea r14, [r15 + rcx*8]
mov rcx, r12
mov rdx, r14
call qword [str.PB__]
test eax, eax
js 0x140167039
mov rbx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140166900
test eax, eax
js 0x140167020
mov rcx, qword [0x1402bfe50]
mov edx, 4
lea r8d, [rdx + 0x14]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [rsp + 0x40]
xorps xmm0, xmm0
mov rbp, rax
xor eax, eax
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [r14]
mov qword [rbp + 0x10], rcx
movups xmmword [rbp], xmm0
mov eax, dword [rsi + 4]
cmp dword [rsi], eax
jne 0x140167014
mov r8, qword [rsi + 8]
add eax, eax
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rsi + 4], eax
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov qword [rsi + 8], rax
mov ecx, dword [rsi]
mov rax, qword [rsi + 8]
mov qword [rax + rcx*8], rbp
inc dword [rsi]
call fcn.1401665a0
test al, al
je 0x140167039
mov rax, qword [0x1402c3248]
mov rcx, rbx
call qword [str.PB__]
inc edi
cmp edi, dword [rsp + 0xa8]
jb 0x140166f60
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x98]
call fcn.1401665a0
nop
test al, al
je 0x140166ecf
lfence
mov rax, qword [0x1402c3278]
lea r8, [rsp + 0x48]
lea rdx, [0x140230228]
mov rcx, r12
call qword [str.PB__]
test eax, eax
js 0x140166ecf
mov rbx, qword ds:[rsp + 0x48]
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140166900
test eax, eax
js 0x1401670e9
mov rcx, qword [0x1402bfe50]
mov edx, 4
lea r8d, [rdx + 0x14]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdx, qword [rsp + 0x50]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov rcx, rsi
movups xmm0, xmmword [0x140230228]
mov qword [rax + 0x10], rdx
mov rdx, rax
movups xmmword [rax], xmm0
call sym.SystemInformer.exe_PhAddItemList
call fcn.1401665a0
test al, al
je 0x140166ecf
mov rax, qword [0x1402c3248]
mov rcx, rbx
call qword [str.PB__]
jmp 0x140166ecf