Function at 0x180039e10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f8]
sub rsp, 0x4f8
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180142d48]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rbx, r9
mov r14, rcx
mov qword [rsp + 0x78], rcx
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
mov r9d, 0x20219
lea rcx, [rsp + 0x58]
call fcn.180019b50
movsxd r12, eax
test eax, eax
je 0x18003a0bc
call fcn.18007a080
mov r8, qword [rax]
mov r15d, 1
mov edx, r15d
mov rcx, rax
call qword [r8 + 0x10]
lea rsi, [r15 - 2]
cmp al, r15b
jne 0x18003a02c
movdqa xmm0, xmmword [0x1801180e0]
movdqu xmmword [rbp + 0x1a0], xmm0
mov byte [rbp + 0x190], 0
lea r8d, [r15 + 0x5b]
lea rdx, str.d:jenkins.jenkinsworkspacemaster_lucomputerz_band_win10computerz7_band_win10utils.cpp
lea rcx, [rbp + 0x190]
call fcn.18000f910
nop
movdqa xmm0, xmmword [0x1801180e0]
movdqu xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], 0
lea r8d, [r15 + 2]
lea rdx, [0x1800f4ed4]
lea rcx, [rbp + 0x150]
call fcn.18000f910
nop
call fcn.18007a080
mov rdi, rax
mov r9, r12
lea r8, str.CRegKey_Open_err:_d
mov edx, r15d
lea rcx, [rsp + 0x48]
call fcn.180079c10
nop
mov r9d, 0xa8
lea r8, [rbp + 0x190]
lea rdx, [rbp + 0x150]
lea rcx, [rbp - 0x80]
call fcn.1800143c0
mov rbx, rax
mov rax, qword [rsp + 0x48]
lea rdx, [0x1800f4e38]
test rax, rax
cmovne rdx, rax
mov rcx, rbx
call fcn.180013a00
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
nop
lea rcx, [rbp - 0x80]
call fcn.1800147c0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, r15d
jg 0x180039f93
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x180039fd4
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180039fcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a52c
call fcn.180050640
movdqa xmm0, xmmword [0x1801180e0]
movdqu xmmword [rbp + 0x160], xmm0
mov byte [rbp + 0x150], 0
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 0x10
jb 0x18003a02c
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a027
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a532
call fcn.180050640
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x18003a538
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
lea rdx, [0x1800f3068]
cmp rdx, 0x10000
jae 0x18003a070
movzx edx, dx
mov rcx, r14
call fcn.180012460
jmp 0x18003a086
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x18003a070
mov r8d, esi
mov rcx, r14
call fcn.180013680
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18003a096
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r14
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.180050ad0
add rsp, 0x4f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call fcn.18009b170
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18003a149
mov eax, dword [rsp + 0x40]
dec eax
cmp eax, 1
jbe 0x18003a11d
mov eax, 0xd
jmp 0x18003a149
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18003a13e
test al, 1
jne 0x18003a137
shr rax, 1
cmp word [rbp + rax*2 + 0x1ce], 0
je 0x18003a146
mov eax, 0xd
jmp 0x18003a149
mov word [rbp + 0x1d0], r15w
mov eax, r15d
movsxd r12, eax
test eax, eax
je 0x18003a369
call fcn.18007a080
mov r8, qword [rax]
mov r15d, 1
mov edx, r15d
mov rcx, rax
call qword [r8 + 0x10]
lea rsi, [r15 - 2]
cmp al, r15b
jne 0x18003a307
movdqa xmm0, xmmword [0x1801180e0]
movdqu xmmword [rbp + 0x1c0], xmm0
mov byte [rbp + 0x1b0], 0
lea r8d, [r15 + 0x5b]
lea rdx, str.d:jenkins.jenkinsworkspacemaster_lucomputerz_band_win10computerz7_band_win10utils.cpp
lea rcx, [rbp + 0x1b0]
call fcn.18000f910
nop
movdqa xmm0, xmmword [0x1801180e0]
movdqu xmmword [rbp + 0x180], xmm0
mov byte [rbp + 0x170], 0
lea r8d, [r15 + 2]
lea rdx, [0x1800f4ed4]
lea rcx, [rbp + 0x170]
call fcn.18000f910
nop
call fcn.18007a080
mov rdi, rax
mov r9, r12
lea r8, str.CRegKey_QueryStringValue_err:_d
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.180079c10
nop
mov r9d, 0xb0
lea r8, [rbp + 0x1b0]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x68]
call fcn.1800143c0
mov rbx, rax
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1800f4e38]
test rcx, rcx
cmovne rdx, rcx
mov rcx, rax
call fcn.180013a00
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0x38]
nop
lea rcx, [rbp + 0x68]
call fcn.1800147c0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, r15d
jg 0x18003a269
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x188]
cmp rdx, 0x10
jb 0x18003a2aa
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a2a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a543
call fcn.180050640
movdqa xmm0, xmmword [0x1801180e0]
movdqu xmmword [rbp + 0x180], xmm0
mov byte [rbp + 0x170], 0
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 0x10
jb 0x18003a302
inc rdx
mov rcx, qword [rbp + 0x1b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003a2fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003a549
call fcn.180050640
mov rbx, qword [rsp + 0x58]
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x18003a54f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
lea rdx, [0x1800f3068]
cmp rdx, 0x10000
jae 0x18003a342
movzx edx, dx
mov rcx, r14
call fcn.180012460
jmp 0x18003a358
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x18003a342
mov r8d, esi
mov rcx, r14
call fcn.180013680
nop
test rbx, rbx
je 0x18003a096
mov rcx, rbx
jmp 0x18003a090
call fcn.180011c30
mov rcx, rax
test rax, rax
je 0x18003a55a
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x1d0]
mov rsi, 0xffffffffffffffff
cmp rax, 0x10000
lea rax, [rbp + 0x1d0]
jae 0x18003a3bd
movzx edx, ax
lea rcx, [rsp + 0x38]
call fcn.180012460
mov rbx, qword [rsp + 0x38]
jmp 0x18003a4e5
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x18003a3c0
test edi, edi
jne 0x18003a428
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x18003a4e5
cmp dword [rdx + 0x10], 0
jge 0x18003a3fc
cmp dword [rbx - 0xc], 0
jl 0x18003a565
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x18003a4e5
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18003a411
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
jmp 0x18003a4e5
mov r13d, dword [rbx - 0x10]
lea r12, [rbp + 0x1d0]
sub r12, rbx
sar r12, 1
test edi, edi
js 0x18003a516
mov r15d, 1
sub r15d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, r15d
jge 0x18003a466
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1800125f0
mov rbx, qword [rsp + 0x38]
movsxd rax, edi
lea r15, [rax + rax]
cmp r12, r13
ja 0x18003a4bd
lea rdx, [rbx + r12*2]
test r15, r15
je 0x18003a4d6
test rdx, rdx
jne 0x18003a492
call fcn.18009e3ac
mov dword [rax], 0x16
call fcn.18009e25c
jmp 0x18003a4d6
movsxd rax, dword [rbx - 0xc]
add rax, rax
cmp rax, r15
jae 0x18003a4b0
call fcn.18009e3ac
mov dword [rax], 0x22
call fcn.18009e25c
jmp 0x18003a4d6
mov r8, r15
mov rcx, rbx
call fcn.18009ad00
jmp 0x18003a4d6
movsxd rdx, dword [rbx - 0xc]
add rdx, rdx
mov r9, r15
lea r8, [rbp + 0x1d0]
mov rcx, rbx
call fcn.180012740
cmp edi, dword [rbx - 0xc]
jg 0x18003a521
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r15 + rbx], ax
lea rcx, [rbx - 0x18]
call fcn.180013250
add rax, 0x18
mov qword [r14], rax
lock xadd dword [rbx - 8], esi
sub esi, 1
jg 0x18003a086
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x18003a086
mov ecx, 0x80070057
call fcn.180010480
int3
mov ecx, 0x80070057
call fcn.180010480
nop
call fcn.18009e27c
nop
call fcn.18009e27c
int3
mov ecx, 0x80004005
call fcn.180010480
nop
call fcn.18009e27c
nop
call fcn.18009e27c
int3
mov ecx, 0x80004005
call fcn.180010480
int3
mov ecx, 0x80004005
call fcn.180010480
nop
mov ecx, 0x80070057
call fcn.180010480
int3