Function at 0x14004f230
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov r15, rcx
xor r12d, r12d
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
lea r8d, [r12 + 0x1c]
lea rdx, str.UW1kcnVfcGNaTkE_bm5Rcm1wYw
lea rcx, [rbp - 0x70]
call fcn.140030750
nop
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
lea r8d, [r12 + 0xc]
lea rdx, str.P25uTl9wX2s
lea rcx, [rsp + 0x70]
call fcn.140030750
nop
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea r14, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r14, qword [rbp - 0x70]
movabs rdi, 0x7ffffffffffffffe
mov rsi, qword [rbp - 0x60]
cmp rsi, rdi
ja 0x14004f5a9
lea r13d, [r12 + 0xa]
mov qword [rsp + 0x48], 7
cmp rsi, 8
jae 0x14004f2fc
mov qword [rsp + 0x40], rsi
lea r8d, [r12 + 0x10]
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140185440
jmp 0x14004f344
mov rbx, rsi
or rbx, 7
cmp rbx, rdi
jbe 0x14004f30d
mov rbx, rdi
jmp 0x14004f314
cmp rbx, r13
cmovb rbx, r13
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x30]
call fcn.140030fc0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140185440
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x418]
call fcn.14004bc20
lea rcx, [rbp + 0x410]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov rdx, qword [rbp + 0x418]
add rdx, 0xffffffffffffffe8
mov rbx, 0xffffffffffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14004f3a4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
test esi, esi
jne 0x14004f4d4
mov dword [rbp + 0x408], 0x200
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea r14, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r14, qword [rsp + 0x70]
mov rsi, qword [rbp - 0x80]
cmp rsi, rdi
ja 0x14004f5af
mov qword [rsp + 0x68], 7
cmp rsi, 8
jae 0x14004f40b
mov qword [rsp + 0x60], rsi
mov r8d, 0x10
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140185440
jmp 0x14004f451
mov rax, rsi
or rax, 7
cmp rax, rdi
ja 0x14004f421
mov rdi, rax
cmp rax, r13
cmovb rdi, r13
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x50]
call fcn.140030fc0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140185440
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14004bc20
lea rcx, [rbp + 0x408]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [rbp + 0x410]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14004f4aa
mov rcx, qword [rdx]
mov r9, qword [rcx]
call qword [r9 + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
je 0x14004f572
mov rcx, qword [rbp + 0x410]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, 7
lea rdx, str.default
mov rcx, r15
call fcn.140030a80
xor bl, bl
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14004f518
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f512
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f5b5
call fcn.140183144
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14004f554
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f54f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f5a3
call fcn.140183144
movzx eax, bl
mov rbx, qword [rsp + 0x500]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rbp - 0x40]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14004f576
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.140030a80
mov rcx, qword [rbp + 0x410]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x14004f4d6
call fcn.140189c24
nop
call fcn.140030df0
int3
call fcn.140030df0
nop
call fcn.140189c24
int3