Function at 0x1401b4a80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x144269058]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rax, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], r15b
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], r15b
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401b4220
test al, al
jne 0x1401b4bb2
mov qword [rdi], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], al
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1401b4b4c
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b4b46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4e9e
call fcn.14030698c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1401b4b89
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b4b84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4eaa
call fcn.14030698c
mov rax, rdi
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140306aa0
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [str.SYSTEMCurrentControlSetControlClass_]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x1403eeee0]
movaps xmmword [rbp - 0x50], xmm1
movsd xmm0, qword [0x1403eeef0]
movsd qword [rbp - 0x40], xmm0
lea r8, [rbp - 0x80]
mov rsi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x68]
cmp r14, 0x10
cmovae r8, rsi
lea rcx, [rbp - 0x60]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1401b4bf0
xor edx, edx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1401b4c00
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1401b4c85
mov qword [rdi], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
cmp r14, 0x10
jb 0x1401b4b4c
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1401b4c7d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4e9e
mov rcx, rsi
jmp 0x1401b4b46
mov dword [rsp + 0x30], 0x3ff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.OpenCLDriverName
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1401b4e17
cmp dword [rsp + 0x34], 1
jne 0x1401b4e17
mov eax, dword [rsp + 0x30]
cmp rax, 0x400
jae 0x1401b4ebc
mov byte [rbp + rax + 0x3a0], bl
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], bl
lea rax, [rbp + 0x3a0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1401b4d20
lea rdx, [rbp + 0x3a0]
lea rcx, [rsp + 0x60]
call fcn.140002080
nop
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14016c1f0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1401b4d87
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b4d82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4eb0
call fcn.14030698c
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
cmp r14, 0x10
jb 0x1401b4dd2
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1401b4dc9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4eb6
mov rcx, rsi
call fcn.14030698c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1401b4b89
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b4b84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4ea4
jmp 0x1401b4b84
mov qword [rdi], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
cmp r14, 0x10
jb 0x1401b4e5d
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1401b4e54
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4e9e
mov rcx, rsi
call fcn.14030698c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1401b4b89
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401b4b84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401b4eaa
jmp 0x1401b4b84
call fcn.14030d68c
nop
call fcn.14030d68c
int3
call fcn.14030d68c
nop
call fcn.14030d68c
nop
call fcn.14030d68c
nop
call fcn.140307430
int3