Function at 0x180005958
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, str.SOFTWAREGkPWSCuUuqlkIePJaZQNTyb
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebx, ebx
xor r8d, r8d
test eax, eax
jne 0x180005c0a
lea rax, [rbp + 0x260]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, str.EVsRjgLymXwlHjscpEyQjViyI
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180005b25
lea rdx, str.OYdVjirhIkazKkOiSzNm
lea rcx, [rbp + 0x150]
call fcn.18004f940
test eax, eax
jne 0x180005a60
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea ecx, [rbx + 1]
call fcn.18003b3b8
mov r8, rax
lea rdx, [0x18005e398]
lea rcx, str.CONOUT_
call fcn.18003aff8
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, str.true
lea rcx, [0x1800bd580]
call fcn.18000a340
mov rcx, rax
call fcn.18000a9d8
call fcn.180008a94
jmp 0x180005bf8
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 0x180005a82
mov eax, dword [str.pop]
mov dword [rcx], eax
mov al, byte [0x18005e3ac]
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 0x180005aad
movups xmm0, xmmword [str.SIahWBivhSjmUjV.txt]
movups xmmword [rcx], xmm0
mov eax, dword [0x18005e3c0]
mov dword [rcx + 0x10], eax
mov al, byte [0x18005e3c4]
mov byte [rcx + 0x14], al
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180008878
nop
cmp qword [rbp - 0x48], rbx
je 0x180005b01
lea rdx, str.false
lea rcx, [rsp + 0x30]
call fcn.18000a340
lea rcx, [rsp + 0x30]
call fcn.18000875c
nop
lea rcx, [rbp - 0x28]
call fcn.1800087f8
nop
lea rax, [0x180053760]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.180033b48
nop
jmp 0x180005bf8
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 0x180005b47
movups xmm0, xmmword [str.iiCcoEeyzrdeUKHqV]
movups xmmword [rcx], xmm0
movzx eax, word [0x18005e3d8]
mov word [rcx + 0x10], ax
mov al, byte [0x18005e3da]
mov byte [rcx + 0x12], 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 0x180005b7f
movups xmm0, xmmword [str._vmpGxvZIzwApANFaOfap.txt]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x18005e3f0]
movsd qword [rcx + 0x10], xmm0
movzx eax, word [0x18005e3f8]
mov word [rcx + 0x18], ax
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180008878
nop
cmp qword [rbp - 0x48], rbx
je 0x180005bd9
lea rdx, str.false
lea rcx, [rsp + 0x30]
call fcn.18000a340
lea rcx, [rsp + 0x30]
call fcn.18000875c
nop
lea rcx, [rbp - 0x28]
call fcn.1800087f8
nop
lea rax, [0x180053760]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.180033b48
nop
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180005cea
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 0x180005c29
movups xmm0, xmmword [str.wyhoJbqtWOlZCorITPKndtpiDiY]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x18005e410]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [0x18005e418]
mov dword [rcx + 0x18], eax
mov al, byte [0x18005e41c]
mov byte [rcx + 0x1c], 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 0x180005c6c
movups xmm0, xmmword [str.DYDfEHBzwEaWWfFmL.txt]
movups xmmword [rcx], xmm0
mov eax, dword [0x18005e430]
mov dword [rcx + 0x10], eax
movzx eax, word [0x18005e434]
mov word [rcx + 0x14], ax
mov al, byte [0x18005e436]
mov byte [rcx + 0x16], al
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180008878
nop
cmp qword [rbp - 0x48], rbx
je 0x180005ccb
lea rdx, str.false
lea rcx, [rsp + 0x30]
call fcn.18000a340
lea rcx, [rsp + 0x30]
call fcn.18000875c
nop
lea rcx, [rbp - 0x28]
call fcn.1800087f8
nop
lea rax, [0x180053760]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.180033b48
nop
mov rbx, qword [rsp + 0x370]
add rsp, 0x350
pop rbp
ret