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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x1401a7d98]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov eax, dword [rcx]
xor r14d, r14d
mov dword [rbp + 0xf], r14d
mov r12, r8
mov r13, rdx
mov rdi, rcx
lea r15d, [r14 + 1]
test eax, eax
jne 0x1400a4d08
lock cmpxchg dword [rcx], r15d
jne 0x1400a4d08
lea eax, [r14 + 2]
xchg dword [rcx], eax
mov rcx, qword [0x1401a9f18]
test rcx, rcx
je 0x1400a4d08
mov rax, qword [rcx]
lea rdx, str.CMicrodom
mov r8, rdi
mov rax, qword [rax]
call qword [case.0x14010a1e6.0]
mov dword [rdi + 4], eax
jmp 0x1400a4d08
call qword [0x1401775d0]
nop dword [rax + rax]
test eax, eax
js 0x1400a4e71
mov eax, dword [rdi]
cmp eax, 2
jne 0x1400a4cf4
mov eax, r14d
test eax, eax
js 0x1400a4fc5
mov rax, qword gs:[0x60]
xor edx, edx
mov r8d, 0x268
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400a4e79
and qword [rbx + 0x80], 0
lea rax, [0x14012c7b8]
and qword [rbx + 0x90], 0
lea r15, [rbx + 0x20]
mov qword [rbx], rax
mov esi, 7
mov dword [rbx + 8], r14d
lea rax, [0x14012d3a8]
mov qword [r15], r14
mov qword [r15 + 8], r14
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x38], r14
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x48], r14
mov qword [rbx + 0x60], r14
lea r14, [rbx + 0xa0]
mov qword [rbx + 0x78], r14
mov qword [rbx], rax
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], 0x23
mov rcx, r14
call fcn.140014710
add r14, 0x20
sub rsi, 1
jne 0x1400a4db0
xor r14d, r14d
mov qword [rbx + 0x1a0], r15
mov qword [rbx + 0x188], r14
lea r15d, [rsi + 1]
mov qword [rbx + 0x190], r14
xorps xmm0, xmm0
mov qword [rbx + 0x198], r14
xor eax, eax
mov dword [rbx + 0x1b8], r14d
mov qword [rbx + 0x1c0], r14
mov qword [rbx + 0x1c8], r14
mov qword [rbx + 0x1d0], r14
mov qword [rbx + 0x1d8], r14
mov qword [rbx + 0x1e0], r14
mov qword [rbx + 0x1e8], r14
movups xmmword [rbx + 0x208], xmm0
mov qword [rbx + 0x218], rax
mov byte [rbx + 0x228], r14b
mov qword [rbx + 0x230], r14
mov qword [rbx + 0x238], r14
mov qword [rbx + 0x240], r14
mov qword [rbx + 0x248], r14
mov qword [rbx + 0x250], r14
mov qword [rbx + 0x258], r14
mov qword [rbx + 0x260], r14
movups xmmword [rbx + 0x1f0], xmm0
mov qword [rbx + 0x200], rax
jmp 0x1400a4e7c
mov dword [rbp + 0x13], eax
jmp 0x1400a4d12
mov rbx, r14
test rbx, rbx
jne 0x1400a4eb2
lea rax, str.onecoreinternal_baseinc_rtl_object_library.h
mov dword [rbp - 0x21], 0x1c9
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x31]
lea rax, str.Windows::Rtl::CRtlObjectTypeDescription_class_MicrodomImplementation::CMicrodom_::CreateInstance
mov qword [rbp - 0x29], rax
lea rax, str.NewInstance.Allocate__
mov qword [rbp - 0x19], rax
jmp 0x1400a4f45
mov rdx, r13
mov rcx, rbx
call fcn.1400a05fc
mov esi, eax
test eax, eax
js 0x1400a4f55
mov qword [rbx + 0x10], rbx
xor edx, edx
mov qword [rbx + 0x18], rdi
mov rax, qword gs:[0x60]
lea r8d, [rdx + 0x18]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x1400a4f11
mov qword [rax + 8], r14
lea rax, [0x14012c750]
mov qword [rsi], rax
lea rax, [0x14012d240]
mov qword [rsi + 0x10], rax
jmp 0x1400a4f14
mov rsi, r14
test rsi, rsi
jne 0x1400a4f70
lea rax, str.onecoreinternal_baseinc_rtl_object_library.h
mov dword [rbp - 1], 0x1da
mov qword [rbp - 0x11], rax
lea rcx, [rbp - 0x11]
lea rax, str.Windows::Rtl::CRtlObjectTypeDescription_class_MicrodomImplementation::CMicrodom_::CreateInstance
mov qword [rbp - 9], rax
lea rax, str.NewTearoff.Allocate__
mov qword [rbp + 7], rax
mov r8d, 0xc0000017
call fcn.1400c81b4
mov esi, 0xc0000017
test rbx, rbx
je 0x1400a4f6c
mov r8, qword [rbx]
mov edx, r15d
mov rcx, rbx
mov rax, qword [r8]
call qword [case.0x14010a1e6.0]
mov eax, esi
jmp 0x1400a4fc5
mov qword [rsi + 8], rbx
mov rcx, rbx
mov rax, qword [rbx]
mov rax, qword [rax + 8]
call qword [case.0x14010a1e6.0]
mov rcx, qword [0x1401a9f18]
test rcx, rcx
je 0x1400a4fb3
mov rax, qword [rcx]
lea rdx, str.CMicrodom
mov r8d, dword [rdi + 4]
mov r9d, 0x268
mov byte [rsp + 0x20], r15b
mov rax, qword [rax + 0x10]
call qword [case.0x14010a1e6.0]
add rsi, 0x10
cmp qword [r12], r14
je 0x1400a4fbe
int3
mov eax, dword [rbp + 0xf]
mov qword [r12], rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140109af0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret