Function at 0x1800054fc
Capabilities:
Create directory
Get common file path
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov dword [rbp + 0x260], 0x100
lea rax, [rbp + 0x268]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x1800b8470]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebx, ebx
xor r8d, r8d
test eax, eax
jne 0x1800057b0
lea rax, [rbp + 0x260]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [0x1800b8498]
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800056cd
lea rdx, [0x1800b84b8]
lea rcx, [rbp + 0x150]
call fcn.180052f60
test eax, eax
jne 0x180005604
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea ecx, [rbx + 1]
call fcn.18003e9d8
mov r8, rax
lea rdx, [0x1800b84c8]
lea rcx, [0x1800b84d0]
call fcn.18003e618
mov ebx, 4
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x1800b7cc0]
lea rcx, [0x1800a2d80]
call fcn.18000a840
mov rcx, rax
call fcn.18000b040
call fcn.180008028
jmp 0x18000579e
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rbp + 0x40]
dec rcx
inc rcx
cmp byte [rcx], bl
jne 0x180005626
mov eax, dword [0x1800b84d8]
mov dword [rcx], eax
mov al, byte [0x1800b84dc]
mov byte [rcx + 4], al
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbp + 0x40]
dec rcx
inc rcx
cmp byte [rcx], bl
jne 0x180005651
movups xmm0, xmmword [0x1800b84e0]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x1800b84f0]
movsd qword [rcx + 0x10], xmm0
mov al, byte [0x1800b84f8]
mov byte [rcx + 0x18], al
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180007e0c
nop
cmp qword [rbp - 0x48], rbx
je 0x1800056a9
lea rdx, [0x1800b7cb8]
lea rcx, [rsp + 0x30]
call fcn.18000a840
lea rcx, [rsp + 0x30]
call fcn.180007cf0
nop
lea rcx, [rbp - 0x28]
call fcn.180007d8c
nop
lea rax, [0x1800ad780]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.180037168
nop
jmp 0x18000579e
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rbp + 0x40]
dec rcx
inc rcx
cmp byte [rcx], bl
jne 0x1800056ef
movups xmm0, xmmword [0x1800b8500]
movups xmmword [rcx], xmm0
mov eax, dword [0x1800b8510]
mov dword [rcx + 0x10], eax
movzx eax, word [0x1800b8514]
mov word [rcx + 0x14], ax
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbp + 0x40]
dec rcx
inc rcx
cmp byte [rcx], bl
jne 0x180005727
movups xmm0, xmmword [0x1800b8518]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x1800b8528]
movsd qword [rcx + 0x10], xmm0
mov al, byte [0x1800b8530]
mov byte [rcx + 0x18], al
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180007e0c
nop
cmp qword [rbp - 0x48], rbx
je 0x18000577f
lea rdx, [0x1800b7cb8]
lea rcx, [rsp + 0x30]
call fcn.18000a840
lea rcx, [rsp + 0x30]
call fcn.180007cf0
nop
lea rcx, [rbp - 0x28]
call fcn.180007d8c
nop
lea rax, [0x1800ad780]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.180037168
nop
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180005889
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rbp + 0x40]
dec rcx
inc rcx
cmp byte [rcx], bl
jne 0x1800057cf
movups xmm0, xmmword [0x1800b8538]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x1800b8548]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [0x1800b8550]
mov dword [rcx + 0x18], eax
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbp + 0x40]
dec rcx
inc rcx
cmp byte [rcx], bl
jne 0x180005809
movups xmm0, xmmword [0x1800b8558]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x1800b8568]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [0x1800b8570]
mov dword [rcx + 0x18], eax
mov al, byte [0x1800b8574]
mov byte [rcx + 0x1c], al
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180007e0c
nop
cmp qword [rbp - 0x48], rbx
je 0x18000586a
lea rdx, [0x1800b7cb8]
lea rcx, [rsp + 0x30]
call fcn.18000a840
lea rcx, [rsp + 0x30]
call fcn.180007cf0
nop
lea rcx, [rbp - 0x28]
call fcn.180007d8c
nop
lea rax, [0x1800ad780]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.180037168
nop
mov rbx, qword [rsp + 0x370]
add rsp, 0x350
pop rbp
ret