Function at 0x141958f10
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rdx, r8
lea rcx, [rsp + 0x60]
call fcn.141958a40
nop
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.141958ba0
nop
mov ebx, dword [rdi + 0xb4]
xor r12d, r12d
mov qword [rsp + 0x70], r12
or ebx, 0x20019
lea rcx, [rsp + 0x68]
call fcn.14188e360
mov rdx, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or edi, 0xffffffff
test eax, eax
jne 0x141959560
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x141959560
lea rcx, [rsp + 0x60]
call fcn.14188e360
mov rdx, rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x141958ffa
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x141959560
mov ecx, dword [rsp + 0x48]
lea eax, [rcx - 1]
mov edx, dword [rbp + 0xc0]
cmp eax, 1
jbe 0x141959016
cmp ecx, 7
jne 0x14195901f
add edx, 4
jmp 0x141959019
add edx, 2
mov dword [rbp + 0xc0], edx
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.141899cb0
nop
mov rax, qword [rsp + 0x30]
mov r13d, 1
cmp dword [rax], r13d
ja 0x141959044
cmp qword [rax + 0x10], 0x18
je 0x141959066
mov r8d, r12d
cmp dword [rax + 8], 0x80000000
cmovae r8d, r13d
mov edx, dword [rax + 4]
inc edx
lea rcx, [rsp + 0x30]
call fcn.14189b490
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax + 0x10]
add rbx, rax
lea rcx, [rsp + 0x60]
call fcn.14188e360
mov rdx, rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1419590ae
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x141959530
mov r8d, dword [rsp + 0x48]
cmp r8d, 0xb
ja case.0x1419590cf.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + r8*4 + 0x19595e4]
add rcx, rdx
jmp rcx
lea rax, [0x1400367e8]
mov qword [rsp + 0x50], rax
cmp dword [rbp + 0xc0], 0
je 0x141959141
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x78]
call fcn.1418752c0
mov rdx, qword [rsp + 0x50]
mov qword [rbp + 0x48], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x141959133
cmp eax, 0xffffffff
je 0x141959141
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141959141
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test r14, r14
je 0x14195917a
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x58]
call fcn.1419371c0
mov rcx, qword [r14]
mov qword [rbp - 0x40], rcx
mov ecx, dword [r14 + 8]
mov dword [rbp - 0x38], ecx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x58]
call fcn.141918a70
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x14195919d
cmp ecx, 0xffffffff
je 0x141959525
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x141959525
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call fcn.1418993e0
jmp 0x141959525
lea rsi, [0x140036818]
mov qword [rsp + 0x40], rsi
cmp dword [rbp + 0xc0], 0
je 0x14195929e
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, edi
lea rcx, [rsp + 0x38]
call fcn.1418752c0
nop
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx + 4]
lea esi, [rax + 1]
test eax, eax
je 0x14195926d
nop word [rax + rax]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.141879460
nop
mov eax, dword [rbx]
test eax, eax
je 0x14195922b
cmp eax, 0xffffffff
je 0x14195923c
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x14195923c
mov rbx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rbx
call fcn.1418993e0
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
movsxd rax, esi
lea rdx, [rdx + rax*2]
mov r8d, edi
lea rcx, [rsp + 0x38]
call fcn.1418752c0
nop
mov rbx, qword [rsp + 0x38]
mov eax, dword [rbx + 4]
inc esi
add esi, eax
test eax, eax
jne 0x141959200
mov eax, dword [rbx]
test eax, eax
je 0x141959288
cmp eax, 0xffffffff
je 0x141959299
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x141959299
mov rbx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rbx
call fcn.1418993e0
mov rsi, qword [rsp + 0x40]
test r14, r14
je 0x1419592db
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x68]
call fcn.141936e70
mov rcx, qword [r14]
mov qword [rbp - 0x30], rcx
mov ecx, dword [r14 + 8]
mov dword [rbp - 0x28], ecx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x68]
call fcn.141918a70
mov rsi, qword [rsp + 0x40]
mov eax, dword [rsi]
test eax, eax
je 0x1419592f6
cmp eax, 0xffffffff
je 0x14195934f
mov eax, edi
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x14195934f
mov rsi, qword [rsp + 0x40]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd r14, dword [rsi + 8]
add r14, 2
lea r14, [rsi + r14*8]
cmp r14, rbx
je 0x141959346
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x141959330
cmp eax, 0xffffffff
je 0x141959341
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141959341
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.1418993e0
cmp rbx, r14
jne 0x141959313
mov rcx, rsi
call fcn.14196a720
nop
jmp 0x141959525
lea rax, [0x1400367e8]
mov qword [rsp + 0x58], rax
cmp dword [rbp + 0xc0], 0
je 0x1419593cc
mov rcx, qword [rsp + 0x30]
mov r9, qword [rcx + 0x10]
add r9, rcx
mov eax, dword [rcx + 4]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov rdx, r9
lea rcx, [rbp - 0x80]
call fcn.1418752c0
mov rdx, qword [rsp + 0x58]
mov qword [rbp + 0x50], rdx
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1419593be
cmp eax, 0xffffffff
je 0x1419593cc
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419593cc
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test r14, r14
je 0x141959405
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x78]
call fcn.1419371c0
mov rcx, qword [r14]
mov qword [rbp - 0x20], rcx
mov ecx, dword [r14 + 8]
mov dword [rbp - 0x18], ecx
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax], xmm0
lea rcx, [rbp + 0x78]
call fcn.141918a70
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x141959428
cmp ecx, 0xffffffff
je 0x141959525
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x141959525
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call fcn.1418993e0
jmp 0x141959525
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test r14, r14
je 0x141959525
mov edx, dword [rax + rcx]
lea rcx, [rbp - 0x60]
call fcn.141918820
mov rax, qword [r14]
mov qword [rbp - 0x10], rax
mov eax, dword [r14 + 8]
mov dword [rbp - 8], eax
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x60], xmm1
lea rcx, [rbp - 0x60]
jmp 0x14195951c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test r14, r14
je 0x141959525
mov rdx, qword [rax + rcx]
lea rcx, [rbp - 0x50]
call fcn.141918910
mov rax, qword [r14]
mov qword [rbp], rax
mov eax, dword [r14 + 8]
mov dword [rbp + 8], eax
movaps xmm0, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp]
movdqa xmmword [rbp - 0x50], xmm1
lea rcx, [rbp - 0x50]
jmp 0x14195951c
mov qword [rbp + 0x20], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
lea rax, [0x140179e20]
mov qword [rbp + 0x38], rax
lea rdx, [0x140125fd8]
lea rcx, [rbp + 0x20]
call fcn.14187f920
test r14, r14
je 0x141959525
mov dword [rbp - 0x68], 0x80000000
mov qword [rbp - 0x70], r12
mov rax, qword [r14]
mov qword [rbp + 0x10], rax
mov eax, dword [r14 + 8]
mov dword [rbp + 0x18], eax
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x70], xmm1
lea rcx, [rbp - 0x70]
movups xmmword [r14], xmm0
call fcn.141918a70
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x141959550
cmp eax, 0xffffffff
je 0x141959562
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141959562
mov rcx, qword [rsp + 0x30]
mov r8d, 8
mov rdx, r13
call fcn.1418993e0
jmp 0x141959562
xor bl, bl
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x141959582
cmp eax, 0xffffffff
je 0x141959591
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141959591
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1419595af
cmp eax, 0xffffffff
je 0x1419595bd
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1419595bd
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
movzx eax, bl
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret