Function at 0x14005f540
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rdi, rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140647b10]
movdqu xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], bl
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x140647b00]
movdqu xmmword [rsp + 0x68], xmm1
mov word [rsp + 0x58], bx
movups xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], bx
mov qword [rsp + 0x30], rbx
mov dword [rbp + 0x288], ebx
mov dword [rbp + 0x290], ebx
mov dword [rbp + 0x298], 4
lea rdx, [rsp + 0x58]
lea ecx, [rbx + 0x11]
call fcn.14003f360
lea rdx, [rsp + 0x38]
lea ecx, [rbx + 0x12]
call fcn.14003f360
lea rdx, [rbp - 0x50]
lea ecx, [rbx + 0x11]
call fcn.14003f150
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005f66b
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rax, [rbp + 0x298]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x288]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x290]
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005f65a
cmp dword [rbp + 0x290], 4
je 0x14005f660
mov dword [rbp + 0x288], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
mov qword [rbp - 0x20], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14005f684
mov qword [rbp - 0x18], rax
mov eax, dword [0x140a82834]
mov dword [rbp - 0x80], eax
mov eax, dword [0x140a82838]
mov dword [rbp - 0x10], eax
mov eax, dword [0x140a8283c]
mov dword [rbp - 0x30], eax
mov eax, dword [rbp + 0x288]
mov dword [rbp - 0x70], eax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x30], xmm1
mov qword [rbp - 0x80], 0x2222
lea rax, [rbp]
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x50], rbx
lea rsi, vtable.fmt::v9::basic_memory_buffer_char__500__class_std::allocator_char__.0
mov qword [rbp + 0x40], rsi
lea rax, [rbp + 0x60]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], 0x1f4
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x30], xmm1
mov r9, rbx
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x40]
call fcn.14004bec0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov r8, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.140029e90
nop
mov qword [rbp + 0x40], rsi
lea rax, [rbp + 0x60]
mov rcx, qword [rbp + 0x48]
cmp rcx, rax
je 0x14005f78a
mov rdx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f785
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f8c8
call fcn.14002bfe4
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.1400895e0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14005f7d2
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f7cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f8ce
call fcn.14002bfe4
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14005f814
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f80f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f8d4
call fcn.14002bfe4
movdqa xmm0, xmmword [0x140647b00]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14005f865
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f860
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f8da
call fcn.14002bfe4
movdqa xmm0, xmmword [0x140647b00]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], bx
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14005f8af
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f8aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f8c2
call fcn.14002bfe4
mov rbx, qword [rsp + 0x380]
add rsp, 0x360
pop rdi
pop rsi
pop rbp
ret
call fcn.140012048
nop
call fcn.140012048
nop
call fcn.140012048
nop
call fcn.140012048
nop
call fcn.140012048
int3