Function at 0x14000bff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400b2080]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, r9
mov rax, r8
mov rbx, rcx
mov qword [rbp - 0x48], rcx
xor esi, esi
mov dword [rbp - 0x50], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], sil
mov dword [rbp - 0x50], 1
cmp qword [r8 + 0x18], 0xf
jbe 0x14000c04c
mov rax, qword [r8]
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000c233
mov dword [rbp - 0x40], esi
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14000c086
mov rdx, qword [r14]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x10]
xor r8d, r8d
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c229
mov eax, dword [rbp - 0x10]
dec eax
cmp eax, 1
ja 0x14000c229
mov edi, dword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
cmp rdi, 0xf
ja 0x14000c0f0
mov qword [rbp - 0x20], rdi
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14008b680
mov byte [rbp + rdi - 0x30], 0
jmp 0x14000c161
mov r15, rdi
or r15, 0xf
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp r15, rax
cmovb r15, rax
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x14000c13c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000c25f
mov rcx, rax
call fcn.140011dac
test rax, rax
je 0x14000c259
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000c144
call fcn.140011dac
mov rsi, rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], r15
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.14008b680
mov byte [rsi + rdi], 0
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rax, qword [rbp - 0x30]
cmp qword [r14 + 0x18], 0xf
jbe 0x14000c179
mov r14, qword [r14]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c1f2
lea rax, [rbp - 0x30]
cmp rbx, rax
je 0x14000c1f2
mov rdi, qword [rbp - 0x20]
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov rax, qword [rbx + 0x18]
cmp rdi, rax
ja 0x14000c1e6
mov rsi, rbx
cmp rax, 0xf
jbe 0x14000c1ce
mov rsi, qword [rbx]
mov qword [rbx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call fcn.14008afe0
mov byte [rsi + rdi], 0
jmp 0x14000c1f2
mov rdx, rdi
mov rcx, rbx
call fcn.14000aa60
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000c229
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c224
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c259
call fcn.140011df0
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140011af0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140069490
int3
call fcn.1400011f0
int3