Function at 0x14001c5b0
Capabilities:
Get common file path
Get startup folder
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x7a8]
sub rsp, 0x890
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov r14, rcx
xor r15d, r15d
mov dword [rbp - 0x78], r15d
mov ebx, r15d
mov qword [rbp - 0x40], rbx
mov esi, 7
mov qword [rbp - 0x38], rsi
mov word [rbp - 0x50], r15w
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWAREASUSArmouryDevice
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdi, [rsi - 8]
test eax, eax
jne 0x14001c6a3
mov dword [rbp - 0x78], 0x400
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x380]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Installation_location
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001c6a3
lea rax, [rbp + 0x380]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001c680
lea rdx, [rbp + 0x380]
lea rcx, [rbp - 0x50]
call fcn.140004a60
mov rsi, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov dword [rbp - 0x78], 1
lea rdx, [rbx + 0x27]
lea rcx, [rsp + 0x30]
call fcn.140014540
lea rdx, [rbp - 0x50]
cmp rsi, 8
cmovae rdx, qword [rbp - 0x50]
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.140012db0
mov r8d, Ordinal_41
lea rdx, str.dllArmourySocketServerAuraIC_x64.dll
lea rcx, [rsp + 0x30]
call fcn.140012db0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.1400049f0
test rbx, rbx
je 0x14001c813
lea rdx, str.ReadCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
xor eax, eax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
mov byte [rbp + 0xf0], 6
lea rcx, [r14 + 0x90]
call fcn.14000a5a0
mov edx, eax
lea rax, [rbp + 0x130]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xf0]
mov ecx, 0xb05
mov r8d, 6
call rbx
lea rcx, [rbp + 0x131]
mov rax, rdi
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x14001c7f0
lea rcx, str.Node
lea rbx, [rbp + 0x131]
test rax, rax
cmove rbx, rcx
jmp 0x14001c8db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0xf0]
call fcn.14000a630
nop
mov r9d, Ordinal_27
lea r8, str.Load_AuraIC_x64.dll_fail:
xor edx, edx
mov rcx, rax
call fcn.140014710
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rsi, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rsi, qword [rsp + 0x30]
mov rbx, qword [0x1401a4e50]
test rbx, rbx
jne 0x14001c8ae
lea ecx, [rbx + 4]
call fcn.1400ace1c
mov rbx, rax
mov qword [rsp + 0x78], rax
call fcn.14002cc80
mov dword [rbx], eax
test eax, eax
je 0x14001c8a7
call fcn.14002cd70
nop
mov qword [0x1401a4e50], rbx
mov r8b, 1
mov rdx, rsi
mov rcx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x30]
call fcn.140004bd0
nop
lea rcx, [rbp + 0xf0]
call fcn.140004bd0
lea rbx, str.Node
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x30]
call fcn.14001ffc0
nop
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov rsi, qword [0x1401a4e50]
test rsi, rsi
jne 0x14001c951
lea ecx, [rsi + 4]
call fcn.1400ace1c
mov rsi, rax
mov qword [rsp + 0x78], rax
call fcn.14002cc80
mov dword [rsi], eax
test eax, eax
je 0x14001c94a
call fcn.14002cd70
nop
mov qword [0x1401a4e50], rsi
mov r8b, 1
mov rdx, rbx
mov rcx, rsi
call fcn.14002d1d0
mov qword [rbp + 0x100], r15
mov qword [rbp + 0x108], 7
mov word [rbp + 0xf0], r15w
lea rax, [rbp + 0x170]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x14001c983
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xf0]
call fcn.140004a60
nop
mov r8d, Ordinal_72
lea rdx, str.PackagesB9ECED6F.ArmouryCrate_qmba6cd70vzyyLocalStateNodeName.txt
lea rcx, [rbp + 0xf0]
call fcn.140012db0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rcx, [rbp - 0x70]
call fcn.1400049f0
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
lea rcx, [rsp + 0x50]
call fcn.1400049f0
nop
lea rcx, [rbp + 0xf0]
call fcn.1400049f0
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
cmp qword [rbp + 0x68], 0
jne 0x14001caec
mov edx, reloc.WS2_32.dll_select
lea r8d, [rdx + 0x2e]
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_wchar_t_const____ptr64__int__int_]
test rax, rax
je 0x14001caec
mov r8d, 1
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400216d0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.1400228a0
mov rsi, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x14001ca9d
mov qword [rbp + 0x50], r15
jmp 0x14001caac
mov qword [rbp + 0x50], rsi
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001cad0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14001cad0
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x14001cb10
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop dword [rax + rax]
inc rdi
cmp byte [rbx + rdi], 0
jne 0x14001cb10
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x18]
call fcn.140021790
test rax, rax
jne 0x14001cb54
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x18]
call fcn.140020930
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.1400049f0
nop
lea rcx, [rbp - 0x50]
call fcn.1400049f0
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret