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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2010]
mov eax, 0x2110
call fcn.1400720f0
sub rsp, rax
mov rax, qword [0x1400cf728]
xor rax, rsp
mov qword [rbp + 0x2000], rax
mov r13, rdx
mov r15, rcx
xor esi, esi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], rsi
mov dword [rbp - 0x6c], 0xf003f
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000420b
xor al, al
jmp 0x140004609
mov r14d, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov rdi, rsi
mov qword [rbp - 0x18], rsi
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], rbx
mov byte [rbp - 0x28], sil
mov dword [rbp - 0x70], 0x800
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x70]
lea r8, [rbp + 0x1000]
mov edx, r14d
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r12d, eax
test eax, eax
jne 0x1400045bd
lea r9, [rbp + 0x1000]
mov r8, r13
lea rdx, str._s_s
lea rcx, [rbp + 0x1800]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x1800]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x80]
test eax, eax
jne 0x140004633
mov dword [rbp - 0x70], 0x800
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x6c]
xor r8d, r8d
lea rdx, str.DisplayName
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400043d4
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
lea rax, [rbp]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x140004303
lea rdx, [rbp]
lea rcx, [rbp - 0x68]
call fcn.14000a3f8
nop
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
setae r9b
cmovae rcx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x68]
test r9b, r9b
cmovne rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140009d78
nop
mov r8, qword [rbp - 0x38]
cmp r8, 1
jae 0x14000436f
mov r8d, 7
lea rdx, str.Unknown
lea rcx, [rbp - 0x48]
call fcn.140008630
mov r8, qword [rbp - 0x38]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.140008630
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400043c3
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004656
call fcn.1400719e0
nop
lea rcx, [rbp - 0x68]
call fcn.14000851c
mov rbx, qword [rbp - 0x10]
mov rdi, qword [rbp - 0x18]
mov dword [rbp - 0x70], 0x800
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x800]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x6c]
xor r8d, r8d
lea rdx, str.InstallSource
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400045b2
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
lea rax, [rbp + 0x800]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x14000442a
lea rdx, [rbp + 0x800]
lea rcx, [rbp - 0x68]
call fcn.14000a3f8
nop
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
setae r9b
cmovae rcx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x68]
test r9b, r9b
cmovne rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140009d78
nop
mov rsi, qword [rbp - 0x38]
cmp rsi, 1
jae 0x140004499
mov r8d, 7
lea rdx, str.Unknown
lea rcx, [rbp - 0x48]
call fcn.140008630
mov rsi, qword [rbp - 0x38]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
lea rdx, [rbp - 0x28]
cmp rbx, 0x10
cmovae rdx, qword [rbp - 0x28]
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.14000a858
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
and qword [rsp + 0x70], 0
and qword [rsp + 0x78], 0
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov r8, rsi
lea rcx, [rsp + 0x60]
call fcn.14000a858
nop
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14000454f
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
xor esi, esi
mov qword [rsp + 0x50], rsi
lea eax, [rsi + 0xf]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x40], sil
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x30], xmm1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x60], sil
add qword [r15 + 8], 0x40
jmp 0x14000455e
lea r8, [rsp + 0x40]
mov rcx, r15
call fcn.14000c00c
xor esi, esi
lea rcx, [rsp + 0x40]
call fcn.14000465c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400045a5
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000459f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000464a
call fcn.1400719e0
nop
lea rcx, [rbp - 0x68]
call fcn.14000851c
mov rbx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp rbx, 0x10
jb 0x1400045f1
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004650
call fcn.1400719e0
inc r14d
test r12d, r12d
je 0x14000420e
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x2000]
xor rcx, rsp
call fcn.1400719c0
mov rbx, qword [rsp + 0x2160]
add rsp, 0x2110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x140004204
call fcn.14007cac8
nop
call fcn.14007cac8
nop
call fcn.14007cac8
int3