Function at 0x1400cfd38
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r15, rcx
mov edx, dword [0x140278510]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rdx, qword [rax + rdx*8]
or r12d, 0xffffffff
mov eax, dword [rdx + rcx]
cmp dword [0x140279360], eax
jle 0x1400cfde1
lea rcx, [0x140279360]
call fcn.140022ce0
cmp dword [0x140279360], r12d
jne 0x1400cfde1
xor eax, eax
mov byte [rsp + 0x30], al
lea rdx, [0x140279350]
lea rcx, [rsp + 0x30]
call fcn.1400ce78c
lea rcx, [0x140179cc8]
call fcn.140022924
nop
lea rcx, [0x140279360]
call fcn.140022c80
mov rax, qword [0x140279350]
mov rbx, qword [rax]
xor r13d, r13d
jmp 0x1400cff4b
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r13
mov word [rbp - 0x78], r13w
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.14005e8b0
nop
lea rdx, [rsp + 0x78]
mov rcx, qword [rax]
call fcn.140021f4c
nop
lea r8, [rbp - 0x78]
lea rdx, [rbx + 0x1c]
mov rcx, qword [rax]
call fcn.140020be8
mov sil, al
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x1400cfe68
mov edx, r12d
lock xadd dword [rdi + 8], edx
add edx, r12d
jne 0x1400cfe68
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
add eax, r12d
jne 0x1400cfe68
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1400cfe9e
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x1400cfe9e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
add eax, r12d
jne 0x1400cfe9e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test sil, sil
je 0x1400cfefc
call fcn.140045480
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140018960
nop
lea r8, [rbp - 0x78]
mov edx, dword [rbx + 0x20]
mov rcx, qword [rax]
call fcn.1400d00a0
nop
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x1400cfefc
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x1400cfefc
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
add eax, r12d
jne 0x1400cfefc
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.140007eb8
cmp byte [rbx + 0x19], r13b
jne 0x1400cff44
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r13b
jne 0x1400cff28
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r13b
je 0x1400cff1a
jmp 0x1400cff44
mov rax, qword [rbx + 8]
jmp 0x1400cff3b
cmp rbx, qword [rax + 0x10]
jne 0x1400cff41
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r13b
je 0x1400cff2e
mov rbx, rax
mov rax, qword [0x140279350]
cmp rbx, rax
mov qword [rsp + 0x38], rax
jne 0x1400cfdf3
call fcn.140045480
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140018960
nop
lea r8, [0x140271f78]
mov edx, 7
mov rcx, qword [rax]
call fcn.1400d00a0
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400cffb7
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x1400cffb7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x1400cffb7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x10]
call fcn.14002c550
nop
lea rcx, [rbp - 0x10]
call fcn.1400b66bc
test al, al
je 0x1400d0070
lea rax, vtable.RefCounted.0
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], r13d
lea rax, vtable.ORegistryKey.0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r13
mov word [rbp - 0x40], r13w
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x18], 1
mov dword [rbp - 0x14], 0x85
call fcn.140045480
lea rcx, [rax + 0x18]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9b, 1
lea r8, [0x140271710]
lea rdx, [rbp - 0x50]
call fcn.140010588
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x10]
call fcn.14002c734
nop
mov r9b, 1
mov r8, rax
lea rdx, [0x140271730]
lea rcx, [rbp - 0x50]
call fcn.140011a64
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x18]
call fcn.140007eb8
nop
lea rcx, [rbp - 0x50]
call fcn.1400069c4
nop
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140022430
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret