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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0xa0
mov eax, dword [rcx]
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov r13d, 1
test eax, eax
jne 0x14003af35
lock cmpxchg dword [rcx], r13d
jne 0x14003af35
lea eax, [r13 + 1]
xchg dword [rcx], eax
mov rcx, qword [0x14007c638]
test rcx, rcx
je 0x14003af35
mov rax, qword [rcx]
movabs r10, 0x88152eea7ad06070
mov rax, qword [rax]
lea rdx, str.CEnumValues
mov r8, rdi
call qword [case.0x1400569a6.0]
mov dword [rdi + 4], eax
jmp 0x14003af35
call qword [sym.imp.ntdll.dll_NtYieldExecution]
nop dword [rax + rax]
test eax, eax
js 0x14003b180
mov eax, dword [rdi]
cmp eax, 2
jne 0x14003af21
mov rcx, qword gs:[0x60]
lea r8d, [rax + 0x7e]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14003b111
and qword [rbx + 0x40], 0
lea rax, [0x14005d1f0]
mov qword [rbx], rax
lea rdx, [rbx + 0x40]
mov dword [rbx + 8], 0
lea rax, [0x14005dc88]
mov qword [rbx], rax
xorps xmm0, xmm0
lea rax, [rbx + 0x20]
and qword [rax + 0x18], 0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
xor eax, eax
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], rax
and qword [rbx + 0x68], rax
and qword [rbx + 0x70], rax
and dword [rbx + 0x78], eax
mov byte [rbx + 0x60], al
mov rcx, qword [rbp + 8]
call fcn.1400350f8
mov esi, eax
test eax, eax
js 0x14003b15d
mov rcx, qword [rbx + 0x40]
lea rdx, [rbx + 0x60]
mov rax, qword [rcx]
movabs r10, 0x85b8af5276569b70
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov r8, qword [rbp + 0x20]
mov rax, qword [rax + 0x28]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rdx
or rdx, 0xffffffffffffffff
mov r9, rdx
call qword [case.0x1400569a6.0]
mov esi, eax
test eax, eax
js 0x14003b15d
mov qword [rbx + 0x10], rbx
xor edx, edx
mov qword [rbx + 0x18], rdi
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 0x14003b0ce
and qword [rax + 8], 0
lea rax, [0x14005d260]
mov qword [rsi], rax
lea rax, [0x14005dc28]
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rbx
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
movabs r10, 0x9b149f3f3ade7270
mov rcx, rbx
call qword [case.0x1400569a6.0]
mov rcx, qword [0x14007c638]
test rcx, rcx
je 0x14003b0b9
mov rax, qword [rcx]
movabs r10, 0x9b8c3faa10d2f170
mov r8d, dword [rdi + 4]
lea rdx, str.CEnumValues
mov rax, qword [rax + 0x10]
mov r9d, 0x80
mov byte [rsp + 0x20], r13b
call qword [case.0x1400569a6.0]
add rsi, 0x10
cmp qword [r14], 0
je 0x14003b0c4
int3
mov qword [r14], rsi
xor eax, eax
jmp 0x14003b180
lea rax, str.onecoreinternalBaseinc_rtl_object_library.h
mov dword [rsp + 0x68], 0x1dc
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
lea rax, str.Windows::Rtl::CRtlObjectTypeDescription_class_Windows::Rtl::SystemImplementation::CEnumValues_::CreateInstance
mov r8d, 0xc0000017
mov qword [rsp + 0x60], rax
lea rax, str.NewTearoff.Allocate__
mov qword [rsp + 0x70], rax
call fcn.140052a48
mov esi, 0xc0000017
jmp 0x14003b162
lea rax, str.onecoreinternalBaseinc_rtl_object_library.h
mov dword [rsp + 0x88], 0x1cb
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
lea rax, str.Windows::Rtl::CRtlObjectTypeDescription_class_Windows::Rtl::SystemImplementation::CEnumValues_::CreateInstance
mov r8d, 0xc0000017
mov qword [rsp + 0x80], rax
lea rax, str.NewInstance.Allocate__
mov qword [rsp + 0x90], rax
call fcn.140052a48
xor ebx, ebx
mov esi, 0xc0000017
test rbx, rbx
je 0x14003b17e
mov r8, qword [rbx]
movabs r10, 0xe2b896ea10d7a870
mov rax, qword [r8]
mov edx, r13d
mov rcx, rbx
call qword [case.0x1400569a6.0]
mov eax, esi
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret