Function at 0x1400c5380
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xc8
mov qword [rbp + 7], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov r12, rcx
lea r14, [0x14014dd40]
mov rcx, qword [0x14014dd40]
cmp rcx, r14
je 0x1400c53ef
test byte [rcx + 0x1c], 1
je 0x1400c53ef
cmp byte [rcx + 0x19], 5
jb 0x1400c53ef
mov rax, qword [r8 + 0x10]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdx + 8]
mov rcx, qword [rcx + 0x10]
call fcn.1400c1e94
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov qword [rbp - 0x79], r13
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400c22a4
mov esi, eax
lea r15, [0x1401275f0]
mov r10, qword [0x14014dd40]
cmp r10, r14
je 0x1400c5446
test byte [r10 + 0x1c], 2
je 0x1400c5446
cmp byte [r10 + 0x19], 4
jb 0x1400c5446
mov edx, 0x9a
mov r9d, eax
mov r8, r15
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
mov r10, qword [0x14014dd40]
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], r13
test esi, esi
jne 0x1400c5576
mov rax, qword [r12]
mov rbx, qword [rax + 0x58]
mov rcx, rbx
call qword [fcn.140009050]
mov rcx, r12
call rbx
test rax, rax
je 0x1400c5565
mov rdi, r13
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
mov qword [rbp - 1], r13
mov rax, qword [r12]
mov rbx, qword [rax + 0x58]
mov rcx, rbx
call qword [fcn.140009050]
mov rcx, r12
call rbx
mov qword [rbp - 0x39], r13
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x1400c54d1
mov esi, r13d
mov rdi, qword [rbp - 0x39]
mov qword [rbp - 0x11], rdi
mov r10, qword [0x14014dd40]
cmp r10, r14
je 0x1400c5506
test byte [r10 + 0x1c], 2
je 0x1400c5506
cmp byte [r10 + 0x19], 4
jb 0x1400c5506
mov edx, 0x9b
mov r9d, esi
mov r8, r15
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
mov r10, qword [0x14014dd40]
test esi, esi
jne 0x1400c554e
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.1400bd880
mov esi, eax
mov r10, qword [0x14014dd40]
cmp r10, r14
je 0x1400c554e
test byte [r10 + 0x1c], 2
je 0x1400c554e
cmp byte [r10 + 0x19], 4
jb 0x1400c554e
mov edx, 0x9c
mov r9d, eax
mov r8, r15
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
mov r10, qword [0x14014dd40]
test rdi, rdi
je 0x1400c556e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r10, qword [0x14014dd40]
jmp 0x1400c556e
mov r10, qword [0x14014dd40]
jmp 0x1400c5572
mov rdi, qword [rbp + 0x6f]
mov rbx, qword [rbp + 0x67]
mov r15d, r13d
cmp dword [rbp - 0x79], r13d
jle 0x1400c5c5f
mov r14, r13
mov qword [rbp - 0x71], r13
mov dword [rbp + 0x77], r13d
test r15d, r15d
js 0x1400c5c54
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5c54
mov rax, qword [rsp + 0x30]
lea r8, [rbp + 0x77]
mov rdx, qword [rax + r14*8]
mov rcx, r12
call fcn.1400c3a54
mov esi, eax
mov r10, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp r10, rax
je 0x1400c55ff
test byte [r10 + 0x1c], 2
je 0x1400c55ff
cmp byte [r10 + 0x19], 4
jb 0x1400c55ff
mov edx, LoadRegTypeLib
mov r9d, esi
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
mov r10, qword [0x14014dd40]
lea rax, [0x14014dd40]
test esi, esi
jne 0x1400c5655
cmp dword [rbp + 0x77], 1
jne 0x1400c5655
cmp r10, rax
je 0x1400c5b9f
test byte [r10 + 0x1c], 2
je 0x1400c5b9f
cmp byte [r10 + 0x19], 4
jb 0x1400c5b9f
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5bbc
mov edx, RegisterTypeLib
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + r14*8]
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.140003638
jmp 0x1400c5b98
mov dword [rbp - 0x61], r13d
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5c49
mov rax, qword [rsp + 0x30]
lea r9, [rbp - 0x61]
lea r8, str.DefaultAuthorization
mov rdx, qword [rax + r14*8]
mov rcx, r12
call fcn.1400c3cf4
test eax, eax
jne 0x1400c56ca
cmp dword [rbp - 0x61], 1
jne 0x1400c56ca
mov r10, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp r10, rax
je 0x1400c5b9f
test byte [r10 + 0x1c], 2
je 0x1400c5b9f
cmp byte [r10 + 0x19], 4
jb 0x1400c5b9f
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5bc7
mov edx, RegisterTypeLib
jmp 0x1400c5637
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5c3e
mov r11, qword [rsp + 0x30]
mov ecx, r13d
cmp dword [rbx + 8], r13d
jle 0x1400c572f
mov r9, qword [rbx]
mov r10d, r13d
cmp qword [r11 + r14*8], r13
setne r10b
test r10d, r10d
je 0x1400c5bd2
mov rax, qword [r9]
mov r8, qword [r11 + r14*8]
sub r8, rax
movzx edx, word [rax]
cmp dx, word [rax + r8]
jne 0x1400c571b
add rax, 2
test dx, dx
jne 0x1400c5703
mov eax, r13d
jmp 0x1400c5720
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400c5732
inc ecx
add r9, 8
cmp ecx, dword [rbx + 8]
jl 0x1400c56f0
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x1400c5772
mov r10, qword [0x14014dd40]
lea rbx, [0x14014dd40]
cmp r10, rbx
je 0x1400c5b9f
test byte [r10 + 0x1c], 2
je 0x1400c5b9f
cmp byte [r10 + 0x19], 4
jb 0x1400c5b9f
mov edx, RegisterTypeLib
mov r9, qword [r11 + r14*8]
jmp 0x1400c5640
cmp qword [rdi + 0x10], r13
je 0x1400c58d5
mov rax, qword [0x14014e920]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140009050]
lea rcx, [0x14014e920]
call rbx
add rax, 0x18
mov qword [rbp - 0x49], rax
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5be8
mov rax, qword [rsp + 0x30]
lea r9, [rbp - 0x49]
lea r8, str.NetworkInterface
mov rdx, qword [rax + r14*8]
mov rcx, r12
call fcn.1400c3eec
mov rcx, qword [rbp - 0x49]
test eax, eax
jne 0x1400c58a4
cmp dword [rcx - 0x10], r13d
je 0x1400c58a4
mov rax, qword [rdi]
jmp 0x1400c580b
mov rdx, qword [rax + 0x10]
mov r10, rcx
sub r10, rdx
movzx r8d, word [rdx]
movzx r9d, word [rdx + r10]
sub r8d, r9d
jne 0x1400c5803
add rdx, 2
test r9d, r9d
jne 0x1400c57ec
test r8d, r8d
je 0x1400c5813
mov rax, qword [rax]
test rax, rax
jne 0x1400c57e2
mov rax, r13
test rax, rax
jne 0x1400c58a4
mov r10, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp r10, rax
je 0x1400c586e
test byte [r10 + 0x1c], 2
je 0x1400c586e
cmp byte [r10 + 0x19], 4
jb 0x1400c586e
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5bdd
mov rax, qword [rsp + 0x30]
mov edx, reloc.OLEAUT32.dll_LoadRegTypeLib
mov qword [rsp + 0x20], rcx
mov r9, qword [rax + r14*8]
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.14000abd8
mov rcx, qword [rbp - 0x49]
lea r14, [rcx - 0x18]
or eax, 0xffffffff
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x1400c589b
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
mov rdx, r14
mov rcx, rdi
call rbx
mov r14, qword [rbp - 0x71]
jmp 0x1400c5b98
lea r14, [rcx - 0x18]
or eax, 0xffffffff
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x1400c58d1
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
mov rdx, r14
mov rcx, rdi
call rbx
mov r14, qword [rbp - 0x71]
mov r12d, r13d
cmp dword [rbp - 0x51], 0
jle 0x1400c5b53
xor edi, edi
mov qword [rbp - 0x29], rdi
and qword [rbp - 0x21], rdi
and qword [rbp - 0x19], rdi
mov rsi, qword [rbp + 0x5f]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x58]
mov rcx, rbx
call qword [fcn.140009050]
mov rcx, rsi
call rbx
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.140004d1c
nop
lea r8d, [rdi + 1]
lea rdx, str._DB
lea rcx, [rbp - 0x69]
call fcn.1400046e8
test r13, r13
js 0x1400c5c14
cmp r12d, dword [rbp - 0x51]
jge 0x1400c5c14
mov rax, qword [rbp - 0x59]
mov rdx, qword [rax + r13*8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x69]
call fcn.1400046e8
and qword [rbp - 0x31], rdi
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rbp - 0x69]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x1400c5987
mov rdi, qword [rbp - 0x31]
mov qword [rbp - 0x29], rdi
mov rcx, qword [0x14014dd40]
lea rbx, [0x14014dd40]
cmp rcx, rbx
je 0x1400c59be
test byte [rcx + 0x1c], 2
je 0x1400c59be
cmp byte [rcx + 0x19], 4
jb 0x1400c59be
mov edx, reloc.OLEAUT32.dll_RegisterTypeLib
mov r9d, esi
lea r8, [0x1401275f0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
test esi, esi
jne 0x1400c5a5e
and dword [rbp - 0x5d], esi
test r14, r14
js 0x1400c5c09
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5c09
mov rax, qword [rsp + 0x30]
mov dword [rbp - 0x3d], 4
lea rcx, [rbp - 0x3d]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x5d]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x41]
xor r8d, r8d
mov rdx, qword [rax + r14*8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400c5a21
mov eax, dword [rbp - 0x41]
sub eax, 4
neg eax
sbb esi, esi
and esi, 0xd
mov rcx, qword [0x14014dd40]
cmp rcx, rbx
je 0x1400c5a58
test byte [rcx + 0x1c], 2
je 0x1400c5a58
cmp byte [rcx + 0x19], 4
jb 0x1400c5a58
mov edx, reloc.OLEAUT32.dll_QueryPathOfRegTypeLib
mov r9d, esi
lea r8, [0x1401275f0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov rcx, qword [0x14014dd40]
cmp dword [rbp - 0x5d], 0
jne 0x1400c5ab6
mov r14, qword [rbp - 0x69]
or eax, 0xffffffff
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x1400c5a8e
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400c5a9d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r12d
inc r13
cmp r12d, dword [rbp - 0x51]
jge 0x1400c5b53
mov r14, qword [rbp - 0x71]
jmp 0x1400c58e2
cmp rcx, rbx
je 0x1400c5b07
test byte [rcx + 0x1c], 2
je 0x1400c5b07
cmp byte [rcx + 0x19], 4
jb 0x1400c5b07
cmp r12d, dword [rbp - 0x51]
jge 0x1400c5bfe
mov rax, qword [rbp - 0x59]
mov r8, qword [rax + r13*8]
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5bf3
mov rax, qword [rsp + 0x30]
mov edx, ConnectToConnectionPoint
mov qword [rsp + 0x20], r8
mov r9, qword [rax + r14*8]
lea r8, [0x1401275f0]
mov rcx, qword [rcx + 0x10]
call fcn.14000abd8
nop
mov r14, qword [rbp - 0x69]
or eax, 0xffffffff
lock xadd dword [r14 - 8], eax
xor r13d, r13d
sub eax, 1
jg 0x1400c5b3a
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400c5b49
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rbp - 0x71]
mov r12, qword [rbp + 0x5f]
jmp 0x1400c5b98
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5c33
mov rdx, qword [rsp + 0x30]
mov r14, qword [rbp - 0x71]
mov rdx, qword [rdx + r14*8]
mov r12, qword [rbp + 0x5f]
mov rcx, r12
call fcn.1400c26bc
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5c28
movsxd rcx, r15d
mov rax, qword [rsp + 0x30]
lea rdx, [rax + rcx*8]
mov rcx, qword [rbp + 0x7f]
call fcn.140019b78
xor r13d, r13d
mov r10, qword [0x14014dd40]
inc r15d
inc r14
mov qword [rbp - 0x71], r14
cmp r15d, dword [rbp - 0x79]
jge 0x1400c5c1f
mov rdi, qword [rbp + 0x6f]
mov rbx, qword [rbp + 0x67]
jmp 0x1400c558a
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0x80004005
call fcn.140005300
nop
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0xc000008c
call fcn.1400052e8
nop
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0xc000008c
call fcn.1400052e8
nop
lea r14, [0x14014dd40]
jmp 0x1400c5c5f
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0xc000008c
call fcn.1400052e8
int3
mov ecx, 0xc000008c
call fcn.1400052e8
int3
cmp r10, r14
je 0x1400c5ca4
test byte [r10 + 0x1c], 1
je 0x1400c5ca4
movzx edx, byte [r10 + 0x19]
mov eax, esi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x1400c5ca4
mov rax, qword [rbp + 0x7f]
mov eax, dword [rax + 8]
mov edx, ConnectToConnectionPoint
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x1401275f0]
mov rcx, qword [r10 + 0x10]
call fcn.14000574c
nop
lea rcx, [rbp - 0x59]
call fcn.140019c20
nop
lea rcx, [rsp + 0x30]
call fcn.140019c20
mov eax, esi
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret