Function at 0x140084258
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1401a7d98]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov eax, dword [rcx]
xor r15d, r15d
mov dword [rbp + 0x1f], r15d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
lea r12d, [r15 + 1]
test eax, eax
jne 0x1400842e2
lock cmpxchg dword [rcx], r12d
jne 0x1400842e2
lea eax, [r15 + 2]
xchg dword [rcx], eax
mov rcx, qword [0x1401a9f18]
test rcx, rcx
je 0x1400842e2
mov rax, qword [rcx]
lea rdx, str.CCdfBinaryTableEnumerator
mov r8, rdi
mov rax, qword [rax]
call qword [case.0x14010a1e6.0]
mov dword [rdi + 4], eax
jmp 0x1400842e2
call qword [0x1401775d0]
nop dword [rax + rax]
test eax, eax
js 0x140084360
mov eax, dword [rdi]
cmp eax, 2
jne 0x1400842d2
mov eax, r15d
test eax, eax
js 0x1400844d3
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x30]
lea r8d, [rdx + 0x60]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140084365
xor edx, edx
lea rcx, [rax + 8]
lea r8d, [rdx + 0x58]
call fcn.14010b670
lea rax, [0x14012c7b8]
mov qword [rbx + 0x20], r15
mov qword [rbx], rax
lea rax, [0x14012c7b8]
mov qword [rbx], rax
mov dword [rbx + 8], r15d
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x38], r15
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], r15
mov qword [rbx + 0x50], r15
jmp 0x140084368
mov dword [rbp + 0x23], eax
jmp 0x1400842ec
mov rbx, r15
test rbx, rbx
jne 0x1400843a9
lea rax, str.onecoreinternal_baseinc_rtl_object_library.h
mov dword [rbp - 0x11], 0x1c9
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 0x21]
lea rax, str.Windows::Rtl::CRtlObjectTypeDescription_class_Windows::Cdf::Implementation::CCdfBinaryTableEnumerator_::CreateInstance
mov r8d, 0xc0000017
mov qword [rbp - 0x19], rax
lea rax, str.NewInstance.Allocate__
mov qword [rbp - 9], rax
call fcn.1400c81b4
jmp 0x140084479
lea rax, [rbx + 0x60]
neg rax
mov rax, qword [rsi]
sbb rcx, rcx
xor edx, edx
and rcx, rbx
movups xmm0, xmmword [rax]
lea r8d, [rdx + 0x18]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x40], xmm0
movsd xmm1, qword [rax + 0x30]
movsd qword [rcx + 0x50], xmm1
mov qword [rcx + 0x58], r15
mov qword [rbx + 0x10], rbx
mov qword [rbx + 0x18], rdi
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140084428
mov qword [rax + 8], r15
lea rax, [0x14012c750]
mov qword [rsi], rax
lea rax, [0x14012c990]
mov qword [rsi + 0x10], rax
jmp 0x14008442b
mov rsi, r15
test rsi, rsi
jne 0x140084480
lea rax, str.onecoreinternal_baseinc_rtl_object_library.h
mov dword [rbp + 0xf], 0x1da
mov qword [rbp - 1], rax
lea rcx, [rbp - 1]
lea rax, str.Windows::Rtl::CRtlObjectTypeDescription_class_Windows::Cdf::Implementation::CCdfBinaryTableEnumerator_::CreateInstance
mov r8d, 0xc0000017
mov qword [rbp + 7], rax
lea rax, str.NewTearoff.Allocate__
mov qword [rbp + 0x17], rax
call fcn.1400c81b4
mov rax, qword [rbx]
mov edx, r12d
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14010a1e6.0]
mov eax, 0xc0000017
jmp 0x1400844d3
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 0x1400844c3
mov rax, qword [rcx]
lea rdx, str.CCdfBinaryTableEnumerator
mov r8d, dword [rdi + 4]
mov r9d, 0x60
mov byte [rsp + 0x20], r12b
mov rax, qword [rax + 0x10]
call qword [case.0x14010a1e6.0]
add rsi, 0x10
cmp qword [r14], r15
je 0x1400844cd
int3
mov eax, dword [rbp + 0x1f]
mov qword [r14], rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140109af0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret