Function at 0x140244760
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 [0x144db4000]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rax, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r15b
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], r15b
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140243f00
test al, al
jne 0x140244892
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 - 0x60]
cmp rdx, 0x10
jb 0x14024482c
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140244826
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140244b7c
call fcn.1403940dc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140244869
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140244864
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140244b88
call fcn.1403940dc
mov rax, rdi
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1403941f0
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 [0x140512f58]
movaps xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [0x140512f68]
movsd qword [rbp - 0x30], xmm0
lea r8, [rbp - 0x78]
mov rsi, qword [rbp - 0x78]
mov r14, qword [rbp - 0x60]
cmp r14, 0x10
cmovae r8, rsi
lea rcx, [rbp - 0x50]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1402448d0
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 0x1402448e0
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 0x140244965
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 0x14024482c
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14024495d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140244b7c
mov rcx, rsi
jmp 0x140244826
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 0x140244af5
cmp dword [rsp + 0x34], 1
jne 0x140244af5
mov eax, dword [rsp + 0x30]
cmp rax, 0x400
jae 0x140244b9a
mov byte [rbp + rax + 0x3b0], bl
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], bl
lea rax, [rbp + 0x3b0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140244a00
lea rdx, [rbp + 0x3b0]
lea rcx, [rsp + 0x68]
call fcn.140002170
nop
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1401f3a20
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140244a66
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140244a61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140244b8e
call fcn.1403940dc
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
cmp r14, 0x10
jb 0x140244ab0
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140244aa7
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140244b94
mov rcx, rsi
call fcn.1403940dc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140244869
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140244864
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140244b82
jmp 0x140244864
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 0x140244b3b
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140244b32
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140244b7c
mov rcx, rsi
call fcn.1403940dc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140244869
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140244864
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140244b88
jmp 0x140244864
call fcn.14039b04c
nop
call fcn.14039b04c
int3
call fcn.14039b04c
nop
call fcn.14039b04c
nop
call fcn.14039b04c
nop
call fcn.140394b80
int3