Function at 0x1400017a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xac0
mov rax, qword [0x140007c50]
xor rax, rsp
mov qword [rsp + 0xab0], rax
xor r14d, r14d
mov r13, rdx
xor edx, edx
mov rdi, rcx
mov dword [rsp + 0x34], 0x28
mov dword [rsp + 0x48], 0x208
mov r12d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
call fcn.1400016d0
mov rcx, rdi
mov ebx, eax
mov eax, r14d
cmp rdi, r14
je 0x14000181b
cmp word [rdi], r14w
je 0x14000181b
add rcx, 2
inc eax
cmp word [rcx], r14w
jne 0x14000180f
lea esi, [rax + 0x14]
xor ecx, ecx
mov edx, esi
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
cmp rax, r14
je 0x140001b4f
mov rdx, qword [str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_]
lea rcx, [rsp + 0x290]
mov r8d, 0x208
call fcn.1400015a4
lea rcx, str.WinWord
cmp ebx, 3
je 0x14000188b
cmp ebx, 0xffffffff
je 0x14000188b
lea rdx, [rbx + rbx*8]
mov edi, 0x208
mov rdx, qword [rcx + rdx*8]
lea rcx, [rsp + 0x290]
mov r8d, edi
call fcn.140001628
lea rdx, str..exe
jmp 0x14000199a
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call fcn.1400015a4
lea rdx, str._shell_
mov r8d, esi
call fcn.140001628
mov r8d, esi
mov rdx, r13
mov rcx, rbp
call fcn.140001628
lea rdx, str.command
mov r8d, esi
mov rcx, rbp
call fcn.140001628
lea r11, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x140001b47
movzx eax, byte [rsp + 0x80]
cmp dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x40]
cmove eax, r14d
lea r9, [rsp + 0x30]
xor r8d, r8d
mov byte [rsp + 0x80], al
lea rax, [rsp + 0x48]
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r14d
jne 0x140001b47
lea rdx, str..exe
lea rcx, [rsp + 0x80]
call fcn.1400014f8
mov rdx, rax
cmp rax, r14
je 0x140001b47
mov word [rax + 8], r14w
lea rax, [rsp + 0x80]
cmp rdx, rax
jbe 0x140001995
lea r8, [rdx - 2]
movzx ecx, word [r8]
call fcn.140001138
cmp eax, r14d
je 0x140001995
lea rax, [rsp + 0x80]
mov rdx, r8
cmp r8, rax
ja 0x140001973
mov edi, 0x208
lea rcx, [rsp + 0x290]
mov r8d, edi
call fcn.140001628
lea rax, [rsp + 0x38]
mov r13, 0xffffffff80000002
lea rdx, [rsp + 0x290]
mov rcx, r13
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x140001a23
movzx eax, byte [rsp + 0x50]
cmp dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x38]
cmove eax, r14d
lea r9, [rsp + 0x30]
lea rdx, str.UseUrl
mov byte [rsp + 0x50], al
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r14d
je 0x140001b00
cmp ebx, 3
je 0x140001b47
cmp ebx, 0xffffffff
je 0x140001b47
lea rbx, [rbx + rbx*8]
lea rsi, str.WinWord
cmp qword [rsi + rbx*8 + 0x40], r14
je 0x140001b47
mov rdx, qword [str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_]
lea rcx, [rsp + 0x6a0]
mov r8d, edi
call fcn.1400015a4
mov rdx, qword [rsi + rbx*8 + 0x40]
lea rcx, [rsp + 0x6a0]
mov r8d, edi
call fcn.140001628
lea rdx, str..exe
lea rcx, [rsp + 0x6a0]
mov r8d, edi
call fcn.140001628
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x6a0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r13
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x140001b47
movzx eax, byte [rsp + 0x50]
cmp dword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x38]
cmove eax, r14d
lea r9, [rsp + 0x30]
lea rdx, str.UseUrl
mov byte [rsp + 0x50], al
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r14d
jne 0x140001b47
cmp dword [rsp + 0x30], 1
jne 0x140001b33
lea rdx, [0x140007868]
lea rcx, [rsp + 0x50]
call fcn.140001234
cmp eax, r14d
je 0x140001b41
lea rdx, [0x140007860]
lea rcx, [rsp + 0x50]
call fcn.140001234
cmp eax, r14d
je 0x140001b41
cmp dword [rsp + 0x30], 4
jne 0x140001b47
cmp dword [rsp + 0x50], r14d
je 0x140001b47
mov r12d, 1
mov rcx, rbp
call fcn.1400034bc
mov rcx, qword [rsp + 0x40]
cmp rcx, r14
je 0x140001b5f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], r14
cmp rcx, r14
je 0x140001b74
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r12d
mov rcx, qword [rsp + 0xab0]
xor rcx, rsp
call fcn.140005a74
lea r11, [rsp + 0xac0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret