Function at 0x1400c5910
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x478
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x1e0], 0
mov qword [rsp + reloc.mfc110u.dll_Ordinal_488], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.140004620
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREATI_TechnologiesInstaller
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c5b2d
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], reloc.mfc110u.dll_Ordinal_520
jae 0x1400c59b7
jmp 0x1400c59bc
call fcn.1400f3e98
xor eax, eax
mov rcx, qword [rsp + 0x78]
mov word [rsp + rcx + 0x250], ax
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x50], reloc.mfc110u.dll_Ordinal_520
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.BaseLocation
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c5b22
movzx eax, word [rsp + 0x250]
test eax, eax
jne 0x1400c5a2e
mov qword [rsp + 0x90], 0
jmp 0x1400c5a44
lea rcx, [rsp + 0x250]
call qword [sym.imp.MSVCR110.dll_wcslen]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x1d0]
call fcn.140004990
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + reloc.mfc110u.dll_Ordinal_488], 8
jb 0x1400c5a93
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x38], rax
jmp 0x1400c5aa0
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1400cbf60
movzx eax, al
test eax, eax
je 0x1400c5b22
mov rax, qword [rsp + 0x480]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x480]
mov qword [rax + 0x18], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x480]
call fcn.140004620
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x480]
call fcn.140003fb0
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1d0]
call fcn.140004620
mov rax, qword [rsp + 0x480]
jmp 0x1400c5de8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x200], 0
mov qword [rsp + reloc.mfc110u.dll_Ordinal_520], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1f0]
call fcn.140004620
nop
lea rdx, [rsp + 0x1f0]
mov ecx, 0x26
call fcn.1400c6830
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0xd0]
call fcn.1400034f0
nop
lea rax, [rsp + 0xd0]
test rax, rax
je 0x1400c5ba6
lea rax, [rsp + 0xd0]
add rax, 0x10
mov qword [rsp + 0x88], rax
jmp 0x1400c5bb2
mov qword [rsp + 0x88], 0
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x88]
call fcn.140002f10
lea rax, [rsp + 0xd0]
test rax, rax
je 0x1400c5be7
lea rax, [rsp + 0xd0]
add rax, 0x10
mov qword [rsp + 0x70], rax
jmp 0x1400c5bf0
mov qword [rsp + 0x70], 0
cmp qword [rsp + reloc.mfc110u.dll_Ordinal_520], 8
jb 0x1400c5c17
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x48], rax
jmp 0x1400c5c24
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400c4ef0
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14000f7c0
lea rax, [rsp + 0xd0]
test rax, rax
je 0x1400c5c5e
lea rax, [rsp + 0xd0]
add rax, 0x10
mov qword [rsp + 0x80], rax
jmp 0x1400c5c6a
mov qword [rsp + 0x80], 0
lea rdx, str.ATI_CIM
mov rcx, qword [rsp + 0x80]
call fcn.14000f7c0
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xd0]
call fcn.140005c20
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 8
jb 0x1400c5cd0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x1400c5cda
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400cbf60
mov byte [rsp + 0x30], al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x210]
call fcn.140004620
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400c5d47
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0xd0]
call fcn.140005c20
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1d0]
call fcn.14000fec0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x230]
call fcn.140004620
mov rax, qword [rsp + 0x480]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x480]
mov qword [rax + 0x18], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x480]
call fcn.140004620
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x480]
call fcn.140003fb0
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x168]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x168]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1f0]
call fcn.140004620
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1d0]
call fcn.140004620
mov rax, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0x478
ret