Function at 0x14003f180
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x11], rcx
xor r12d, r12d
mov rcx, rdx
call fcn.14003ecb0
mov rsi, rax
test rax, rax
jne 0x14003f1d5
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
jmp 0x14003f323
mov r8, rdi
mov r10, qword [rdi + 0x18]
cmp r10, 8
jb 0x14003f1e5
mov r8, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov r9, 0xffffffffffffffff
test rdx, rdx
je 0x14003f214
mov rcx, rdx
mov rax, r8
nop dword [rax + rax]
cmp word [rax], 0x5c
je 0x14003f344
add rax, 2
sub rcx, 1
jne 0x14003f200
mov rax, r9
inc rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
cmp rdx, rax
jb 0x14003f491
sub rdx, rax
cmp rdx, r9
cmovb r9, rdx
cmp r10, 8
jb 0x14003f245
mov rdi, qword [rdi]
lea rdx, [rdi + rax*2]
mov r8, r9
lea rcx, [rbp - 9]
call fcn.140028870
nop
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x11]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14003f2d8
mov dword [rbp - 0x15], r12d
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x14003f2a8
mov rdx, qword [r15]
lea rax, [rbp - 0x15]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14003f358
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14003f323
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f31e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f48b
call fcn.14006459c
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140064540
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rax, rax
je 0x14003f214
sub rax, r8
sar rax, 1
jmp 0x14003f217
mov r14d, dword [rbp - 0x15]
mov rdi, r12
mov rsi, r12
test r14, r14
je 0x14003f3b5
cmp r14, 0x1000
jb 0x14003f399
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x14003f497
call fcn.140064560
test rax, rax
je 0x14003f485
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14003f3a4
mov rcx, r14
call fcn.140064560
mov rdi, rax
lea rsi, [rdi + r14]
mov r8, r14
xor edx, edx
mov rcx, rdi
call fcn.14008c700
cmp qword [r15 + 0x18], 8
jb 0x14003f3bf
mov r15, qword [r15]
lea rax, [rbp - 0x15]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14003f436
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
test rdi, rdi
je 0x14003f2e3
sub rsi, rdi
cmp rsi, 0x1000
jb 0x14003f426
add rsi, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x14003f485
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14006459c
jmp 0x14003f2e3
mov qword [rbx], rdi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14003f323
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f31e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f48b
jmp 0x14003f31e
call fcn.1400987f4
nop
call fcn.1400987f4
int3
call fcn.140028550
nop
call fcn.140021700
int3