Function at 0x14009dba0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rsi
mov rax, qword [0x14013c010]
xor rax, rbp
mov qword [rbp], rax
mov r12, rdx
mov r15, rcx
test rdx, rdx
jne 0x14009dbdd
mov eax, 0x80004003
jmp 0x14009ddca
xor ebx, ebx
mov qword [rdx], rbx
lea rdx, [0x1400d64c0]
lea ecx, [rbx + 0x68]
call fcn.1400c1ca4
mov rsi, rax
test rax, rax
je 0x14009ddc5
mov rcx, qword [0x140145538]
xorps xmm0, xmm0
mov qword [rax + 8], rbx
mov dword [rax + 0x30], ebx
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rbx
mov dword [rax + 0x28], ebx
xor eax, eax
movups xmmword [rsi + 0x38], xmm0
movups xmmword [rsi + 0x48], xmm0
mov qword [rsi + 0x58], rax
mov byte [rsi + 0x60], al
lea rax, vtable.ATL::CComObject_class_ATL::CComEnum_struct_IEnumConnectionPoints__struct___s_GUID_const__GUID_b196b285_bab4_101a_b69c_00aa00341d07__struct_IConnectionPoint____ptr64__class_ATL::_CopyInterface_struct_IConnectionPoint___class_ATL::CComMultiThreadModel__.0
mov qword [rsi], rax
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140145530], eax
jle 0x14009dc98
lea rcx, [0x140145530]
call fcn.1400c18b8
cmp dword [0x140145530], 0xffffffff
jne 0x14009dc98
lea rcx, [0x140145530]
mov qword [0x140145520], 0x10
mov qword [0x140145528], 0xffffffffffffffff
call fcn.1400c184c
lfence
mov ecx, 8
call fcn.14009e4c0
test al, al
je 0x14009dcba
mov ecx, dword [rsp]
sub rsp, 0x10
lea r14, [rsp + 0x30]
mov eax, dword [r14]
jmp 0x14009dcd8
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14009dd8e
mov qword [rax], rbx
lea r14, [rax + 0x10]
mov rbx, rax
test r14, r14
je 0x14009dd8e
mov rdx, qword [0x140145940]
mov rax, qword [rdx]
cmp rax, 0xffffffffffffffff
je 0x14009dd21
mov rdi, r14
add rdx, 8
cmp rax, 0xfffffffffffffffe
jne 0x14009dd0e
mov rax, qword [rdx]
xor ecx, ecx
call qword [case.0x140048c62.0]
mov rdx, rax
jmp 0x14009dd18
add rax, r15
mov qword [rdi], rax
add rdi, 8
mov rax, qword [rdx]
cmp rax, 0xffffffffffffffff
jne 0x14009dcf4
lea r8, [r14 + 8]
mov dword [rsp + 0x20], 3
mov r9, r15
mov rdx, r14
mov rcx, rsi
call fcn.14009e1d0
mov edi, eax
lfence
test eax, eax
mov rcx, rsi
mov rax, qword [rsi]
jns 0x14009dd5b
mov rax, qword [rax + 0x38]
mov edx, 1
call qword [case.0x140048c62.0]
jmp 0x14009dda8
mov rax, qword [rax]
lea rdx, [0x14010d9c0]
mov r8, r12
call qword [case.0x140048c62.0]
mov edi, eax
test eax, eax
jns 0x14009dda8
lfence
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
mov rax, qword [rax + 0x38]
call qword [case.0x140048c62.0]
jmp 0x14009dda8
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
mov rax, qword [rax + 0x38]
call qword [case.0x140048c62.0]
mov edi, 0x8007000e
test rbx, rbx
je 0x14009ddc1
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
jne 0x14009ddb0
mov eax, edi
jmp 0x14009ddca
mov eax, 0x8007000e
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400c17f0
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret