Function at 0x1400361d4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rax, qword [rdx]
cmp rax, qword [0x14006af40]
mov rcx, qword [rcx - 8]
jne 0x140035fc5
mov rax, qword [rdx + 8]
cmp rax, qword [0x14006af48]
jne 0x140035fc5
mov rdx, r8
jmp 0x1400361d4
jmp 0x140040620
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
cmp qword [rdx], rbx
je 0x1400361ec
int3
mov r14, qword [rcx + 0x10]
xor edx, edx
mov rcx, qword gs:[0x60]
lea r8d, [rdx + 0x18]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14003625d
mov qword [rax + 8], rbx
lea rax, [0x14005d260]
mov qword [rsi], rax
lea rax, method.q_p7HB.virtual_0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], r14
mov rax, qword [r14]
movabs r10, 0x9b149f3f3ade7270
mov rax, qword [rax + 8]
mov rcx, r14
call qword [case.0x1400569a6.0]
add rsi, 0x10
cmp qword [rdi], rbx
je 0x140036258
int3
mov qword [rdi], rsi
jmp 0x14003629e
lea rax, str.onecoreinternalBaseinc_rtl_object_library.h
mov dword [rsp + 0x30], 0x1fe
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
lea rax, str.Windows::Rtl::CRtlObjectTypeDescription_class_Windows::Rtl::SystemImplementation::CUserProfile_::CreateTearoff
mov r8d, 0xc0000017
mov qword [rsp + 0x28], rax
lea rax, str.NewTearoff.Allocate__
mov qword [rsp + 0x38], rax
call fcn.140052a48
mov ebx, 0xc0000017
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x60
mov rbx, r8
mov rsi, rcx
test r8, r8
jne 0x14004067d
lea rax, str.onecore_basewcp_siluserprofile.cpp
mov r8d, 0xc000000d
mov qword [r11 - 0x48], rax
lea rcx, [r11 - 0x48]
lea rax, str.Windows::Rtl::SystemImplementation::CUserProfile::CreateInterface
mov qword [r11 - 0x40], rax
lea rax, str.Not_null_check_failed:_Out
mov dword [rsp + 0x30], 0x52
mov qword [r11 - 0x30], rax
call fcn.140052a48
mov eax, 0xc000000d
jmp 0x14004073b
mov rcx, qword [rdx]
xor eax, eax
cmp rcx, qword [0x14006afa0]
jne 0x140040698
mov rcx, qword [rdx + 8]
cmp rcx, qword [0x14006afa8]
je 0x1400406b1
mov rcx, qword [rdx]
cmp rcx, qword [0x140070730]
jne 0x140040718
mov rcx, qword [rdx + 8]
cmp rcx, qword [0x140070738]
jne 0x140040718
mov rcx, qword gs:[0x60]
xor edx, edx
mov rsi, qword [rsi + 0x10]
mov rcx, qword [rcx + 0x30]
lea r8d, [rdx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14004074e
and qword [rax + 8], 0
lea rax, [0x14005d260]
mov qword [rdi], rax
lea rax, vtable.q_p7HB.0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rsi
mov rdx, qword [rsi]
movabs r10, 0x9b149f3f3ade7270
mov rax, qword [rdx + 8]
mov rcx, rsi
call qword [case.0x1400569a6.0]
lea rax, [rdi + 0x10]
mov rcx, qword [rbx]
mov qword [rbx], rax
test rcx, rcx
je 0x140040739
mov rax, qword [rcx]
movabs r10, 0xaaa4b7fc7cd10a70
mov rax, qword [rax]
call qword [case.0x1400569a6.0]
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rax, str.onecoreinternalBaseinc_rtl_object_library.h
mov dword [rsp + 0x50], 0x1fe
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
lea rax, str.Windows::Rtl::CRtlObjectTypeDescription_class_Windows::Rtl::SystemImplementation::CUserProfile_::CreateTearoff
mov r8d, 0xc0000017
mov qword [rsp + 0x48], rax
lea rax, str.NewTearoff.Allocate__
mov qword [rsp + 0x58], rax
call fcn.140052a48
mov eax, 0xc0000017
jmp 0x14004073b