Function at 0x140248150
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 - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x144dd9080]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rax, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1403dff20]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], r15b
movups xmmword [rsp + 0x68], xmm0
movdqu xmmword [rsp + 0x78], xmm1
mov byte [rsp + 0x68], r15b
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1402478f0
test al, al
jne 0x140248286
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], al
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140248220
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14024821a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14024856f
call fcn.140397cc8
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14024825d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140248258
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14024857b
call fcn.140397cc8
mov rax, rdi
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140397de0
mov rbx, qword [rsp + 0x900]
add rsp, 0x8c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [str.SYSTEMCurrentControlSetControlClass_]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x140518548]
movaps xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [0x140518558]
movsd qword [rbp - 0x30], xmm0
lea r8, [rsp + 0x68]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rbp - 0x80]
cmp r14, 0xf
cmova r8, rsi
lea rcx, [rbp - 0x50]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1402482c6
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1402482e0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140248368
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
cmp r14, 0xf
jbe 0x140248220
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140248360
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14024856f
mov rcx, rsi
jmp 0x14024821a
mov dword [rsp + 0x30], 0x3ff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3b0]
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 0x1402484e5
cmp dword [rsp + 0x34], 1
jne 0x1402484e5
mov eax, dword [rsp + 0x30]
cmp rax, 0x400
jae 0x14024858d
mov byte [rbp + rax + 0x3b0], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea rax, [rbp + 0x3b0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1402483f4
lea rdx, [rbp + 0x3b0]
lea rcx, [rbp - 0x78]
call fcn.140001680
nop
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.1401f80a0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140248457
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140248452
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140248581
call fcn.140397cc8
movdqa xmm0, xmmword [0x1403dff20]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
cmp r14, 0xf
jbe 0x1402484a0
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140248497
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140248587
mov rcx, rsi
call fcn.140397cc8
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14024825d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140248258
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140248575
jmp 0x140248258
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
cmp r14, 0xf
jbe 0x14024852e
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140248525
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14024856f
mov rcx, rsi
call fcn.140397cc8
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14024825d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140248258
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14024857b
jmp 0x140248258
call fcn.14039f1cc
nop
call fcn.14039f1cc
int3
call fcn.14039f1cc
nop
call fcn.14039f1cc
nop
call fcn.14039f1cc
nop
call fcn.1403985f0
int3