Function at 0x14000ca8c
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov dword [rsp + 0x70], 0x208
lea rsi, [rcx + 0xf8]
xor r13d, r13d
lea rax, [r11 + 8]
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x40], rsi
lea ebp, [r13 + 2]
lea r8, [0x1400028d0]
lea rdx, [0x1400028e0]
mov rcx, 0xffffffff80000001
mov r9d, ebp
mov qword [r11 - 0x48], r13
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov r14b, 4
mov r12d, 0x80070057
lea r15, [0x140011038]
test eax, eax
jne 0x14000cb11
cmp word [rsi], r13w
je 0x14000cb11
mov ebx, r13d
jmp 0x14000cbea
lea r8, [0x140002938]
mov eax, 0x7fffffff
mov dword [rsp + 0x70], r13d
mov rdx, r8
mov ecx, eax
mov ebx, r13d
cmp word [rdx], r13w
je 0x14000cb38
add rdx, rbp
dec rcx
jne 0x14000cb2a
test rcx, rcx
jne 0x14000cb45
mov ebx, r12d
mov rax, r13
jmp 0x14000cb48
sub rax, rcx
test ebx, ebx
jns 0x14000cb7a
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000cc21
test byte [rcx + 0x1c], r14b
je 0x14000cbf1
cmp byte [rcx + 0x19], bpl
jb 0x14000cbf1
mov edx, 0x2c
mov r9d, ebx
jmp 0x14000cbda
mov edx, 0x104
cmp rax, rdx
jbe 0x14000cbac
mov ebx, 0x80070018
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000cc21
test byte [rcx + 0x1c], r14b
je 0x14000cbf1
cmp byte [rcx + 0x19], bpl
jb 0x14000cbf1
mov edx, 0x2d
jmp 0x14000cb75
mov rcx, rsi
call fcn.14000a308
mov ebx, eax
test eax, eax
jns 0x14000cbea
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000cc21
test byte [rcx + 0x1c], r14b
je 0x14000cbf1
cmp byte [rcx + 0x19], bpl
jb 0x14000cbf1
mov edx, 0x2e
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002978]
call fcn.140007ea4
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000cc21
test byte [rcx + 0x1c], r14b
je 0x14000cc21
cmp byte [rcx + 0x19], r14b
jb 0x14000cc21
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002978]
mov edx, 0x2f
mov r9, rsi
call fcn.14000a430
mov rcx, qword [0x140011038]
test ebx, ebx
jns 0x14000cc49
cmp rcx, r15
je 0x14000d34e
test byte [rcx + 0x1c], r14b
je 0x14000d34e
cmp byte [rcx + 0x19], bpl
jb 0x14000d34e
mov edx, reloc.OLEAUT32.dll_SafeArrayGetLBound
jmp 0x14000cc9f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 0xf0], rax
test rax, rax
jne 0x14000ccb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14000ccb7
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34e
test byte [rcx + 0x1c], r14b
je 0x14000d34e
cmp byte [rcx + 0x19], bpl
jb 0x14000d34e
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002978]
mov r9d, ebx
call fcn.140007ea4
jmp 0x14000d34e
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002350]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 8], rax
test rax, rax
jne 0x14000cd07
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x15]
lea r9, [0x140002360]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x14000cd57
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x16]
lea r9, [0x140002398]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x1400023c0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x14000cda7
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x17]
lea r9, [0x1400023d8]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002410]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xe0], rax
test rax, rax
jne 0x14000cdfa
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x18]
lea r9, [0x140002428]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002460]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x20], rax
test rax, rax
jne 0x14000ce4a
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x19]
lea r9, [0x140002478]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x1400024b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x14000ce9a
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x1a]
lea r9, [0x1400024c0]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x1400024e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
test rax, rax
jne 0x14000ceea
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x1b]
lea r9, [0x140002500]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002538]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
test rax, rax
jne 0x14000cf3a
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x1c]
lea r9, [0x140002548]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002578]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x50], rax
test rax, rax
jne 0x14000cf8a
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x1d]
lea r9, [0x140002598]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x1400025d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x58], rax
test rax, rax
jne 0x14000cfda
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x1e]
lea r9, [0x1400025f0]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002628]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x60], rax
test rax, rax
jne 0x14000d02a
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x1f]
lea r9, [0x140002638]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002660]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x68], rax
test rax, rax
jne 0x14000d07a
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x20]
lea r9, [0x140002670]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002698]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x70], rax
test rax, rax
jne 0x14000d0ca
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x21]
lea r9, [0x1400026b0]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x1400026f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa8], rax
test rax, rax
jne 0x14000d11d
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x22]
lea r9, [0x140002708]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002740]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xb0], rax
test rax, rax
jne 0x14000d170
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x23]
lea r9, [0x140002750]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x1400026f0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa8], rax
test rax, rax
jne 0x14000d1bc
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x24]
jmp 0x14000d111
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002770]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xb8], rax
test rax, rax
jne 0x14000d20f
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x25]
lea r9, [0x140002788]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x1400027c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xc0], rax
test rax, rax
jne 0x14000d262
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x26]
lea r9, [0x1400027e0]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002810]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xc8], rax
test rax, rax
jne 0x14000d2b5
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x27]
lea r9, [0x140002828]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002858]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xd0], rax
test rax, rax
jne 0x14000d2f9
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x28]
lea r9, [0x140002868]
jmp 0x14000d33b
mov rcx, qword [rdi + 0xf0]
lea rdx, [0x140002898]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xe8], rax
test rax, rax
jne 0x14000d34e
mov rcx, qword [0x140011038]
cmp rcx, r15
je 0x14000d34b
test byte [rcx + 0x1c], r14b
je 0x14000d34b
cmp byte [rcx + 0x19], bpl
jb 0x14000d34b
lea edx, [rax + 0x29]
lea r9, [0x1400028a8]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140002978]
call fcn.14000a430
mov ebx, r12d
lea r11, [rsp + 0x40]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret