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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov r12, rcx
lea rcx, [0x14007c748]
call fcn.140058958
mov rcx, qword gs:[0x60]
xor ebx, ebx
xor edx, edx
mov rcx, qword [rcx + 0x30]
lea r8d, [rbx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
lea edi, [rbx + 1]
mov rsi, rax
test rax, rax
je 0x140025924
xor eax, eax
lea r8d, [rbx + 0x10]
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
lea rax, [0x14005d268]
mov qword [rsi], rax
mov dword [rsi + 8], edi
mov byte [rsi + 0xd], dil
mov dword [rsi + 0x10], ebx
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400258e9
and dword [rax + 0xc], 0
lea r8d, [rdi + 0x2f]
mov dword [rbx + 8], edi
lea rax, [0x14005d418]
mov qword [rbx], rax
xor edx, edx
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r15, rax
test rax, rax
je 0x1400258b0
and qword [r15 + 0x10], 0
lea rax, vtable.qr:_.0
and qword [r15 + 0x20], 0
xor r9d, r9d
and qword [r15 + 0x28], 0
mov r8, rbx
mov rdx, rsi
mov qword [r15], rax
mov rcx, r15
mov dword [r15 + 8], edi
call fcn.140024a3c
mov r14d, eax
test eax, eax
jns 0x140025746
mov rax, qword [r15]
movabs r10, 0x90b516363c5e5070
mov rax, qword [rax + 0x10]
mov edx, edi
mov rcx, r15
call qword [case.0x1400569a6.0]
jmp 0x140025968
and qword [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.140036dc0
mov rdi, qword [rbp - 0x69]
mov r14d, eax
test eax, eax
js 0x1400257b6
and qword [rbp - 0x39], 0
lea rdx, [rbp - 0x61]
mov r8, r12
mov qword [rbp - 0x61], rsi
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], r15
mov byte [rbp - 0x41], 0
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x3d], 2
call fcn.140028284
mov rcx, qword [rbp - 0x39]
mov r14d, eax
test eax, eax
jns 0x140025824
test rcx, rcx
je 0x1400257b6
call qword [sym.imp.ntdll.dll_LdrUnloadDll]
nop dword [rax + rax]
test eax, eax
jns 0x1400257b6
mov ecx, 7
int 0x29
test rdi, rdi
je 0x1400257d4
mov rax, qword [rdi]
movabs r10, 0xaaa4b7fc7cd10a70
mov rax, qword [rax]
mov rcx, rdi
call qword [case.0x1400569a6.0]
mov rax, qword [r15]
movabs r10, 0xaaa4b7fc7cd10a70
mov rax, qword [rax]
mov rcx, r15
call qword [case.0x1400569a6.0]
mov rax, qword [rbx]
movabs r10, 0xaaa4b7fc7cd10a70
mov rax, qword [rax]
mov rcx, rbx
call qword [case.0x1400569a6.0]
mov rax, qword [rsi]
movabs r10, 0xaaa4b7fc7cd10a70
mov rax, qword [rax]
mov rcx, rsi
call qword [case.0x1400569a6.0]
jmp 0x1400259a5
test rcx, rcx
je 0x140025840
call qword [sym.imp.ntdll.dll_LdrUnloadDll]
nop dword [rax + rax]
test eax, eax
jns 0x140025840
mov ecx, 7
int 0x29
test rdi, rdi
je 0x14002585e
mov rax, qword [rdi]
movabs r10, 0xaaa4b7fc7cd10a70
mov rax, qword [rax]
mov rcx, rdi
call qword [case.0x1400569a6.0]
mov rax, qword [r15]
movabs r10, 0xaaa4b7fc7cd10a70
mov rax, qword [rax]
mov rcx, r15
call qword [case.0x1400569a6.0]
mov rax, qword [rbx]
movabs r10, 0xaaa4b7fc7cd10a70
mov rax, qword [rax]
mov rcx, rbx
call qword [case.0x1400569a6.0]
mov rax, qword [rsi]
movabs r10, 0xaaa4b7fc7cd10a70
mov rax, qword [rax]
mov rcx, rsi
call qword [case.0x1400569a6.0]
xor eax, eax
jmp 0x1400259a8
lea rax, str.onecore_basewcp_sil_ntsystem.cpp
mov dword [rbp - 0x21], 0x22dc
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x31]
lea rax, str.Windows::Rtl::RtlGetDirectSystem
mov r8d, 0xc0000017
mov qword [rbp - 0x29], rax
lea rax, str.DirectUserProvider.Allocate__
mov qword [rbp - 0x19], rax
call fcn.140052a48
jmp 0x14002595d
lea rax, str.onecore_basewcp_sil_ntsystem.cpp
mov dword [rbp - 1], 0x22da
mov qword [rbp - 0x11], rax
lea rcx, [rbp - 0x11]
lea rax, str.Windows::Rtl::RtlGetDirectSystem
mov r8d, 0xc0000017
mov qword [rbp - 9], rax
lea rax, str.DirectRegProvider.Allocate__
mov qword [rbp + 7], rax
call fcn.140052a48
xor ebx, ebx
jmp 0x14002595d
lea rax, str.onecore_basewcp_sil_ntsystem.cpp
mov dword [rbp + 0x1f], 0x22d8
mov qword [rbp + 0xf], rax
lea rcx, [rbp + 0xf]
lea rax, str.Windows::Rtl::RtlGetDirectSystem
mov r8d, 0xc0000017
mov qword [rbp + 0x17], rax
lea rax, str.DirectFsProvider.Allocate__
mov qword [rbp + 0x27], rax
call fcn.140052a48
xor esi, esi
mov r14d, 0xc0000017
test rbx, rbx
je 0x140025984
mov rax, qword [rbx]
movabs r10, 0xef7cb66d1658b370
mov rax, qword [rax + 0x10]
mov edx, edi
mov rcx, rbx
call qword [case.0x1400569a6.0]
test rsi, rsi
je 0x1400259a5
mov r8, qword [rsi]
movabs r10, 0xef7cb66d1658b370
mov rax, qword [r8 + 0x10]
mov edx, edi
mov rcx, rsi
call qword [case.0x1400569a6.0]
mov eax, r14d
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret