Function at 0x1400e5040
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xc8
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor r13d, r13d
mov qword [rbp - 0x41], r8
mov r15d, r13d
mov qword [rbp + 7], r13
mov r14d, r13d
mov qword [rbp - 1], r13
mov qword [rbp - 9], r13
mov rdi, r8
mov dword [rbp - 0x49], edx
mov rbx, rcx
call fcn.140182060
mov rcx, rax
test rax, rax
jne 0x1400e509d
mov eax, 0x8007007e
jmp 0x1400e5617
mov eax, 0x5a4d
mov qword [rsp + 0x118], rsi
cmp word [rcx], ax
jne 0x1400e5636
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1400e5636
cmp dword [rdx + rcx], 0x4550
jne 0x1400e5636
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400e5636
cmp dword [rdx + 4], r13d
je 0x1400e5636
lea r8, [rcx + rax]
mov word [rsp + 0x20], r13w
lea r9, str.DllGetClassObject
call fcn.14017f180
test rax, rax
je 0x1400e5636
lea r8, [rbp + 0xf]
lea rdx, [0x140210c20]
lea rcx, [0x14028ba60]
call qword [case.0x14013dbaa.0]
mov esi, eax
test eax, eax
js 0x1400e5166
mov rcx, qword [rbp + 0xf]
lea r9, [rbp + 7]
lea r8, [0x14028ba70]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov rcx, qword ds:[rbp + 0xf]
mov esi, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
test esi, esi
js 0x1400e55b6
mov edx, dword [0x1402c3658]
mov rcx, qword [str.RootCIMV2]
shr edx, 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rcx, qword [rbp + 7]
lea rdx, [rbp - 1]
mov qword [rsp + 0x40], rdx
mov rdi, rax
mov qword [rbp - 0x31], rax
xor r9d, r9d
mov qword [rsp + 0x38], r13
xor r8d, r8d
mov rax, qword [rcx]
mov rdx, rdi
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r13
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov esi, eax
test eax, eax
js 0x1400e5587
lea rax, [rbx + 0x100]
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0x38], rax
lea r9, str.FROM
lea rax, str.HostProcessIdentifier
mov qword [rsp + 0x30], rax
lea r8, str.Namespace_Provider_User___RELPATH
lea rax, str.WHERE
mov qword [rsp + 0x28], rax
lea rdx, str.SELECT
lea rax, str.Msft_Providers
lea rcx, [0x140282a18]
mov qword [rsp + 0x20], rax
call sym.SystemInformer.exe_PhFormatString
mov edx, dword [0x1402c3638]
mov r14, rax
mov rcx, qword [0x1402c3640]
shr edx, 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov qword [rbp - 0x39], rax
mov r12, rax
test r14, r14
je 0x1400e5258
mov rcx, qword [r14 + 8]
jmp 0x1400e525b
mov rcx, r13
mov edx, dword [r14]
shr edx, 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rcx, qword [rbp - 1]
lea rdx, [rbp - 9]
mov r13, rax
mov qword [rsp + 0x28], rdx
xor ebx, ebx
mov r9d, 0x30
mov r8, r13
mov qword [rsp + 0x20], rbx
mov rax, qword [rcx]
mov rdx, r12
mov rax, qword [rax + 0xa0]
call qword [case.0x14013dbaa.0]
mov esi, eax
test eax, eax
js 0x1400e5563
mov rdx, qword [0x1402cb8c8]
mov ecx, 0x10
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402cba10]
mov edx, 4
mov r8d, 8
mov r15, rax
mov dword [rax], ebx
mov dword [rax + 4], 1
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [rbp + 0xf], ebx
lea r9, [rbp - 0x29]
mov qword [r15 + 8], rax
mov r8d, 1
mov rcx, qword [rbp - 9]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x20]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x20], rdx
mov edx, dword [rbp - 0x49]
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x1400e5563
lfence
mov r12d, dword [rbp - 0x49]
nop word [rax + rax]
cmp dword [rbp + 0xf], 0
je 0x1400e555b
mov rcx, qword [0x1402cba10]
mov edx, 4
mov r8d, 0x28
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xorps xmm0, xmm0
lea r9, [rbp - 0x21]
mov rbx, rax
xor r8d, r8d
xor eax, eax
mov qword [rsp + 0x28], r8
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
mov edi, r8d
movups xmmword [rbx], xmm0
mov qword [rsp + 0x20], r8
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x20]
lea rdx, str.Namespace
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x1400e53ac
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400e53a2
call sym.SystemInformer.exe_PhCreateString
mov rdi, rax
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov qword [rbx + 0x10], rdi
lea r9, [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
xor edx, edx
xor eax, eax
mov qword [rsp + 0x28], rdx
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
mov edi, edx
mov qword [rsp + 0x20], rdx
mov rax, qword [rcx]
lea rdx, str.Provider
movups xmmword [rbp - 0x21], xmm0
xor r8d, r8d
mov rax, qword [rax + 0x20]
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x1400e5409
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400e53ff
call sym.SystemInformer.exe_PhCreateString
mov rdi, rax
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov qword [rbx + 8], rdi
lea r9, [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
xor edx, edx
xor eax, eax
mov qword [rsp + 0x28], rdx
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
mov edi, edx
mov qword [rsp + 0x20], rdx
mov rax, qword [rcx]
lea rdx, str.User
movups xmmword [rbp - 0x21], xmm0
xor r8d, r8d
mov rax, qword [rax + 0x20]
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x1400e5466
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400e545c
call sym.SystemInformer.exe_PhCreateString
mov rdi, rax
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov qword ds:[rbx + 0x20], rdi
lea r9, [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
xor edx, edx
xor eax, eax
mov qword [rsp + 0x28], rdx
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
mov edi, edx
mov qword [rsp + 0x20], rdx
mov rax, qword [rcx]
lea rdx, str.__RELPATH
movups xmmword [rbp - 0x21], xmm0
xor r8d, r8d
mov rax, qword [rax + 0x20]
call qword [case.0x14013dbaa.0]
test eax, eax
js 0x1400e54c6
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400e54bb
call sym.SystemInformer.exe_PhCreateString
mov rdi, rax
lea rcx, ds:[rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov qword ds:[rbx], rdi
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
movabs r10, 0xcf559e8a7cd8c970
mov rax, qword [rax + 0x10]
call qword [0x14020e260]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e5515
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400e5515
lea r8, [rbp - 0x49]
mov qword [rbp - 0x49], 0
call fcn.1400e4c20
test eax, eax
js 0x1400e5515
mov rax, qword [rbp - 0x49]
mov qword [rbx + 0x18], rax
mov rdx, rbx
mov rcx, r15
call sym.SystemInformer.exe_PhAddItemList
mov rcx, qword [rbp - 9]
lea rdx, [rbp + 0xf]
mov dword [rbp + 0xf], 0
lea r9, [rbp - 0x29]
mov qword [rsp + 0x20], rdx
mov r8d, 1
mov edx, r12d
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x14013dbaa.0]
test eax, eax
jns 0x1400e5320
mov r12, qword [rbp - 0x39]
mov rdi, qword [rbp - 0x31]
test r13, r13
je 0x1400e5571
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r12, r12
je 0x1400e557f
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r12, qword [rsp + 0xc0]
test rdi, rdi
je 0x1400e5595
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14, r14
je 0x1400e55b2
lea rcx, [r14 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400e55b2
call fcn.140142200
mov rdi, qword [rbp - 0x41]
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1400e55d6
mov rax, qword [rcx]
movabs r10, 0x90a807b370d34370
mov rax, qword [rax + 0x10]
call qword [0x14020e260]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1400e55ec
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400e5606
mov rax, qword ds:[rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
test esi, esi
js 0x1400e560d
mov qword [rdi], r15
mov eax, esi
mov rsi, qword [rsp + 0x118]
mov rcx, qword ds:[rbp + 0x17]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0xc8
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret
mov esi, 0x8007007f
jmp 0x1400e55b6