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

Disassembly:
mov qword [rsp + 0x10], 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 r13d, r13d
mov dword [rbp + 0xf], r13d
mov r12, r8
mov rsi, rcx
lea r14d, [r13 + 1]
test eax, eax
jne 0x14007d1e5
lock cmpxchg dword [rcx], r14d
jne 0x14007d1e5
lea eax, [r13 + 2]
xchg dword [rcx], eax
mov rcx, qword [0x1401a9f18]
test rcx, rcx
je 0x14007d1e5
mov rax, qword [rcx]
lea rdx, str.CCdfBuilderWrapper
mov r8, rsi
mov rax, qword [rax]
call qword [case.0x14010a1e6.0]
mov dword [rsi + 4], eax
jmp 0x14007d1e5
call qword [0x1401775d0]
nop dword [rax + rax]
test eax, eax
js 0x14007d3b3
mov eax, dword [rsi]
cmp eax, 2
jne 0x14007d1d1
mov eax, r13d
test eax, eax
js 0x14007d4f6
mov rax, qword gs:[0x60]
xor edx, edx
mov r8d, 0x5c8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14007d3bb
mov edi, 7
mov qword [rax + 0x30], r13
lea r14, [rax + 0x50]
mov qword [rax + 0x38], rdi
mov qword [rax + 0x28], r14
mov r15d, edi
mov qword [rax + 0x40], r13
mov qword [rax + 0x48], 0x23
mov rcx, r14
call fcn.140014710
add r14, 0x20
sub r15, 1
jne 0x14007d248
mov dword [rbx + 0x138], r13d
lea r14, [rbx + 0x170]
mov qword [rbx + 0x148], r14
mov r15, rdi
mov qword [rbx + 0x150], r13
mov qword [rbx + 0x158], rdi
mov qword [rbx + 0x160], r13
mov qword [rbx + 0x168], 0x23
mov rcx, r14
call fcn.140014710
add r14, 0x20
sub r15, 1
jne 0x14007d292
mov dword [rbx + 0x258], r13d
lea r14, [rbx + 0x290]
mov qword [rbx + 0x268], r14
mov r15, rdi
mov qword [rbx + 0x270], r13
mov qword [rbx + 0x278], rdi
mov qword [rbx + 0x280], r13
mov qword [rbx + 0x288], 0x23
mov rcx, r14
call fcn.140014710
add r14, 0x20
sub r15, 1
jne 0x14007d2dc
mov dword [rbx + 0x378], r13d
lea r14, [rbx + 0x3b0]
mov qword [rbx + 0x388], r14
mov r15, rdi
mov qword [rbx + 0x390], r13
mov qword [rbx + 0x398], rdi
mov qword [rbx + 0x3a0], r13
mov qword [rbx + 0x3a8], 0x23
mov rcx, r14
call fcn.140014710
add r14, 0x20
sub r15, 1
jne 0x14007d326
mov dword [rbx + 0x498], r13d
lea r14, [rbx + 0x4d0]
mov qword [rbx + 0x4a8], r14
mov qword [rbx + 0x4b0], r13
mov qword [rbx + 0x4b8], rdi
mov qword [rbx + 0x4c0], r13
mov qword [rbx + 0x4c8], 0x23
mov rcx, r14
call fcn.140014710
add r14, 0x20
sub rdi, 1
jne 0x14007d36d
mov dword [rbx + 0x5b8], r13d
lea r14d, [rdi + 1]
or eax, 0xffffffff
mov dword [rbx + 0x5c0], eax
mov dword [rbx + 0x5c4], eax
lea rax, [0x14012c7b8]
mov qword [rbx], rax
lea rax, [0x14012c7d8]
mov qword [rbx], rax
mov dword [rbx + 8], r13d
jmp 0x14007d3be
mov dword [rbp + 0x13], eax
jmp 0x14007d1ef
mov rbx, r13
test rbx, rbx
jne 0x14007d3ff
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_Windows::Cdf::Rtl::CCdfBuilderWrapper_::CreateInstance
mov r8d, 0xc0000017
mov qword [rbp - 0x29], rax
lea rax, str.NewInstance.Allocate__
mov qword [rbp - 0x19], rax
call fcn.1400c81b4
jmp 0x14007d49a
mov qword [rbx + 0x10], rbx
xor edx, edx
mov qword [rbx + 0x18], rsi
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 rdi, rax
test rax, rax
je 0x14007d449
mov qword [rax + 8], r13
lea rax, [0x14012c750]
mov qword [rdi], rax
lea rax, [0x14012c758]
mov qword [rdi + 0x10], rax
jmp 0x14007d44c
mov rdi, r13
test rdi, rdi
jne 0x14007d4a1
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_Windows::Cdf::Rtl::CCdfBuilderWrapper_::CreateInstance
mov r8d, 0xc0000017
mov qword [rbp - 9], rax
lea rax, str.NewTearoff.Allocate__
mov qword [rbp + 7], rax
call fcn.1400c81b4
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14010a1e6.0]
mov eax, 0xc0000017
jmp 0x14007d4f6
mov qword [rdi + 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 0x14007d4e4
mov rax, qword [rcx]
lea rdx, str.CCdfBuilderWrapper
mov r8d, dword [rsi + 4]
mov r9d, 0x5c8
mov byte [rsp + 0x20], r14b
mov rax, qword [rax + 0x10]
call qword [case.0x14010a1e6.0]
add rdi, 0x10
cmp qword [r12], r13
je 0x14007d4ef
int3
mov eax, dword [rbp + 0xf]
mov qword [r12], rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140109af0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret