Function at 0x14001f330
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40f8]
mov eax, 0x41f8
call fcn.14011b5b0
sub rsp, rax
mov rax, qword [0x1401807c0]
xor rax, rsp
mov qword [rbp + 0x40e0], rax
mov r14, r9
mov r15, r8
mov rdi, rdx
mov r12, rcx
xor r13d, r13d
cmp qword [rdx + 0x18], 0xf
jbe 0x14001f37c
mov rdx, qword [rdx]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001f62a
mov esi, r13d
mov dword [rsp + 0x60], 0x3fff
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x60]
lea r8, [rbp + 0xe0]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x14001f4d4
test eax, eax
jne 0x14001f4d4
mov r8d, dword [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.140001c50
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.1400aa9e0
nop
lea rcx, [rsp + 0x40]
call fcn.140004b20
mov r8, r15
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x68]
call fcn.14001e6b0
nop
lea rbx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rbx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
test r8, r8
je 0x14001f47f
mov edx, 0x3f
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14001f47f
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x14001f47f
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.140020530
nop
lea rcx, [rbp - 0x68]
call fcn.140004b20
nop
lea rcx, [rbp - 0x48]
call fcn.140004b20
inc esi
mov dword [rsp + 0x60], 0x3fff
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x60]
lea r8, [rbp + 0xe0]
mov edx, esi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x14001f3e0
mov dword [rsp + 0x70], 0x100
mov ebx, r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14001f61f
movabs rsi, 0x7fffffffffffffff
lea rdx, [0x140155c78]
mov rcx, qword [rdi + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, 1
jb 0x14001f64d
mov r9, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14001f543
mov r9, qword [rdi]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x48]
call fcn.140020f10
nop
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001f570
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.140004b80
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x48]
call fcn.140004b20
mov r9, r14
mov r8, r15
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.14001f330
mov dword [rsp + 0x70], 0x100
inc ebx
lea rcx, [rsp + 0x78]
call fcn.140004b20
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x20]
mov edx, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
lea rdx, [0x140155c78]
je 0x14001f522
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x40e0]
xor rcx, rsp
call fcn.14011ab50
add rsp, 0x41f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400019e0
int3