Function at 0x140047ee0
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 [0x140311fd0]
movdqu xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x70], bl
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1403248e0]
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.1400eaea0
lea rdx, [rsp + 0x38]
lea ecx, [rbx + 0x12]
call fcn.1400eaea0
lea rdx, [rbp - 0x70]
lea ecx, [rbx + 0x11]
call fcn.14004bb70
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 0x14004800b
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 0x140047ffa
cmp dword [rbp + 0x2a0], 4
je 0x140048000
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 0x140048024
mov qword [rbp - 0x28], rax
mov eax, dword [0x140402164]
mov dword [rbp - 0x80], eax
mov eax, dword [0x140402168]
mov dword [rbp], eax
mov eax, dword [0x14040216c]
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::v9::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.14008a1c0
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.140018d70
nop
mov qword [rbp + 0x50], rsi
lea rax, [rbp + 0x70]
mov rcx, qword [rbp + 0x58]
cmp rcx, rax
je 0x14004812a
mov rdx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048125
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048268
call fcn.14009be98
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400fd0b0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140048172
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004816c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004826e
call fcn.14009be98
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400481b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400481af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048274
call fcn.14009be98
movdqa xmm0, xmmword [0x1403248e0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140048205
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048200
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004827a
call fcn.14009be98
movdqa xmm0, xmmword [0x1403248e0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], bx
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14004824f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004824a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140048262
call fcn.14009be98
mov rbx, qword [rsp + 0x390]
add rsp, 0x370
pop rdi
pop rsi
pop rbp
ret
call fcn.1400ed40c
nop
call fcn.1400ed40c
nop
call fcn.1400ed40c
nop
call fcn.1400ed40c
nop
call fcn.1400ed40c
int3