Function at 0x140105dd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rdi, rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x14033ba90]
movdqu xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x70], bl
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x14033ba70]
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 + 0x298], ebx
mov dword [rbp + 0x2a0], ebx
mov dword [rbp + 0x2a8], 4
lea rdx, [rsp + 0x58]
lea ecx, [rbx + 0x11]
call fcn.1401069e0
lea rdx, [rsp + 0x38]
lea ecx, [rbx + 0x12]
call fcn.1401069e0
lea rdx, [rbp - 0x70]
lea ecx, [rbx + 0x11]
call fcn.140106800
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 0x140105efb
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rax, [rbp + 0x2a8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x298]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2a0]
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140105eea
cmp dword [rbp + 0x2a0], 4
je 0x140105ef0
mov dword [rbp + 0x298], ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
mov qword [rbp - 0x30], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140105f14
mov qword [rbp - 0x28], rax
mov eax, dword [0x1403f38f4]
mov dword [rbp - 0x80], eax
mov eax, dword [0x1403f38f8]
mov dword [rbp], eax
mov eax, dword [0x1403f38fc]
mov dword [rbp - 0x50], eax
mov eax, dword [rbp + 0x298]
mov dword [rbp - 0x40], eax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x40], xmm1
mov qword [rbp - 0x80], 0x2222
lea rax, [rbp + 0x10]
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x60], rbx
lea rsi, vtable.fmt::v10::basic_memory_buffer_char__500__class_std::allocator_char__.0
mov qword [rbp + 0x50], rsi
lea rax, [rbp + 0x70]
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x68], 0x1f4
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x50], xmm1
mov r9, rbx
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x50]
call fcn.140009340
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp - 0x20]
call fcn.14000b280
nop
mov qword [rbp + 0x50], rsi
lea rax, [rbp + 0x70]
mov rcx, qword [rbp + 0x58]
cmp rcx, rax
je 0x14010601a
mov rdx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140106015
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106158
call fcn.14022d284
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14000bd30
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140106062
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010605c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010615e
call fcn.14022d284
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1401060a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010609f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106164
call fcn.14022d284
movdqa xmm0, xmmword [0x14033ba70]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1401060f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401060f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010616a
call fcn.14022d284
movdqa xmm0, xmmword [0x14033ba70]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], bx
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14010613f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010613a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106152
call fcn.14022d284
mov rbx, qword [rsp + 0x390]
add rsp, 0x370
pop rdi
pop rsi
pop rbp
ret
call fcn.1402c2874
nop
call fcn.1402c2874
nop
call fcn.1402c2874
nop
call fcn.1402c2874
nop
call fcn.1402c2874
int3