Function at 0x4873ce
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0xa0]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.0047224c
lea r9, [rsp + 0x34]
and dword [r9], 0
lea r13, [rsp + 0x30]
and dword [r13], 0
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x28], r13
and qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004fa101
test eax, eax
je 0x487471
and qword [rsi + 8], 0
mov dword [rsi + 0x10], eax
mov dword [rsi], 6
mov rcx, qword [rsp + 0xa0]
mov rdx, rdi
call fcn.004ae5e3
nop
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 0xa
ja case.0x48748e.5
lea rcx, [0x004878b4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov edx, dword [rsp + 0x30]
shr rdx, 1
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.004fa05d
mov r14, qword [r14 + 8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004fa101
test eax, eax
je 0x487642
and qword [rsi + 8], 0
mov dword [rsi + 0x10], eax
mov dword [rsi], 6
jmp 0x4876a4
mov r14d, dword [rsp + 0x30]
mov rcx, r14
mov dl, 1
call fcn.0042a810
mov r12, rax
mov r15, rdx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004fa101
test eax, eax
je 0x4876ae
and qword [rsi + 8], 0
mov dword [rsi + 0x10], eax
mov dword [rsi], 6
mov rcx, r12
mov rdx, r15
call fcn.0045b973
jmp 0x48744c
cmp dword [rsp + 0x30], 4
jne case.0x48748e.5
lea rax, [rsp + 0x38]
and dword [rax], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004fa101
test eax, eax
jne 0x48743e
mov eax, dword [rsp + 0x38]
and dword [rsi], 0
mov dword [rsi + 4], eax
jmp 0x48744c
mov edx, dword [rsp + 0x30]
shr rdx, 1
lea r14, [rsp + 0x70]
mov rcx, r14
call fcn.004fa05d
mov r14, qword [r14 + 8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004fa101
test eax, eax
je 0x4876c5
and qword [rsi + 8], 0
mov dword [rsi + 0x10], eax
mov dword [rsi], 6
jmp 0x487884
cmp dword [rsp + 0x30], 8
jne case.0x48748e.5
lea rax, [rsp + 0x38]
and qword [rax], 0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegQueryValueExW
mov ecx, eax
call fcn.004fa101
test eax, eax
jne 0x48743e
mov rax, qword [rsp + 0x38]
mov dword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x48744c
and qword [rsi + 8], 0
mov dword [rsi + 0x10], 0x8007000d
jmp 0x487446
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.004fa0de
lea rcx, [rax + rdx*2]
lea rbx, [rsp + 0x38]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
and word [rbx + 0x10], 0
lea r15, [rsp + 0x88]
mov rcx, r15
mov rdx, rbx
call fcn.004fa275
movups xmm0, xmmword [r15]
movups xmmword [rbx + 4], xmm0
mov rax, qword [r15 + 0x10]
mov qword [rbx + 0x14], rax
mov dword [rsi], 2
movups xmm0, xmmword [rbx]
mov rax, qword [rbx + 0xc]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x14]
mov qword [rsi + 0x18], rax
movups xmmword [rsi + 4], xmm0
mov rcx, qword [rsp + 0x58]
jmp 0x487889
mov dword [rsi], 3
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r14
jmp 0x48744c
mov rdx, qword [rsp + 0x80]
mov rcx, r14
call fcn.004fa0de
lea r8, [rsp + 0xb8]
mov qword [r8], rax
mov qword [r8 + 8], rdx
mov byte [r8 + 0x10], 0
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r8
call fcn.004a2429
cmp qword [rbx + 8], 0
je 0x487867
mov ecx, 0x60
mov edx, 8
call fcn.00403ce0
test rax, rax
je 0x4878a2
mov rbx, rax
lea rcx, [rsp + 0x38]
mov rax, qword [rcx + 0x10]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rcx]
movups xmmword [rbx], xmm0
mov rax, qword [rsp + 0xc8]
lea r14, [rsp + 0xd0]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [r14], xmm0
mov r13d, 1
mov r12d, 4
mov edi, 0x18
lea r15, [rsp + 0x58]
mov rcx, r15
mov rdx, r14
call fcn.004a2429
cmp qword [rsp + 0x60], 0
je 0x487858
cmp r13, r12
jne 0x487839
cmp byte [rsp + 0xe0], 1
mov ebp, 0
adc rbp, 1
add rbp, r12
jb 0x48789b
lea rax, [r12 + r12]
cmp rax, rbp
cmova rbp, rax
cmp rbp, 5
jae 0x4877b8
mov ebp, 4
xor r8d, r8d
movabs rax, 0x555555555555556
cmp rbp, rax
setb r8b
imul rdx, rbp, 0x18
shl r8, 3
test r12, r12
je 0x4877ee
imul rax, r12, 0x18
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rax
mov eax, 8
jmp 0x4877f0
xor eax, eax
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x88]
lea r9, [rsp + 0x38]
call fcn.004fa13f
cmp qword [rsp + 0x88], 0
mov rcx, qword [rsp + 0x90]
je 0x487833
mov rdx, qword [rsp + 0x98]
movabs rax, 0x8000000000000001
cmp rdx, rax
je 0x487839
jmp 0x487896
mov r12, rbp
mov rbx, rcx
mov rax, qword [rsp + 0x68]
mov qword [rbx + rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx + rdi], xmm0
inc r13
add rdi, 0x18
jmp 0x487768
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0xa8]
jmp 0x487872
mov ebx, 8
xor r13d, r13d
xor r12d, r12d
mov dword [rsi], 4
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], r13
mov rcx, qword [rsp + 0x70]
mov rdx, r14
call fcn.004ae5e3
jmp 0x48744c
test rdx, rdx
jne 0x4878ac
call fcn.004042b0
ud2
mov ecx, 0x60
mov edx, 8
call fcn.00404d20
ud2