Function at 0x1800090f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.18001f6b0
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.18001f6b0
mov rcx, rsi
xor bl, bl
call fcn.1800083d0
test al, al
je 0x1800091a5
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov rcx, rsi
call fcn.1800068d0
test al, al
je 0x1800091a5
mov r8, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov edi, 1
mov qword [rsp + 0x20], rax
mov r9d, edi
xor ecx, ecx
lea edx, [rdi + 0x2b]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
movzx ebx, bl
cmove ebx, edi
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x1800091b9
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
lea r8d, [r9 + 0x2c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rsp + 0x40]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1800091c2
mov eax, dword [0x18003ff24]
mov dword [rcx], eax
lea rcx, [rsp + 0x40]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1800091e0
movups xmm1, xmmword [str.PuddingZip]
mov edx, dword [0x18003fee8]
movzx r8d, word [0x18003feec]
movups xmmword [rcx], xmm1
mov dword [rcx + 0x10], edx
mov word [rcx + 0x14], r8w
lea rcx, [rsp + 0x40]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180009214
mov dword [rcx], eax
lea rax, [rsp + 0x40]
sub rax, 2
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x180009230
movups xmmword [rax], xmm1
lea rcx, [rsp + 0x40]
mov dword [rax + 0x10], edx
mov word [rax + 0x14], r8w
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180009250
cmp qword [rsi + 0x48], 8
lea rbx, [rsi + 0x30]
movsd xmm0, qword [0x18003ff28]
movzx eax, word [0x18003ff30]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
jb 0x180009282
mov r8, qword [rbx]
jmp 0x180009285
mov r8, rbx
lea r9, [rsp + 0x40]
lea rdx, str.CfgRootPath
lea rcx, str.Globals
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rsi + 0x28], 8
lea rdi, [rsi + 0x10]
jb 0x1800092ae
mov r8, qword [rdi]
jmp 0x1800092b1
mov r8, rdi
lea r9, [rsp + 0x40]
lea rdx, str.CfgUserPath
lea rcx, str.Globals
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea r8, [rsi + 0x90]
cmp qword [r8 + 0x18], 8
jb 0x1800092db
mov r8, qword [r8]
lea r9, str.PuddingZip.ini
lea rdx, str._s_s
lea rcx, [rsp + 0x250]
call fcn.180009f60
cmp qword [rbx + 0x18], 8
jb 0x180009302
mov r8, qword [rbx]
jmp 0x180009305
mov r8, rbx
lea r9, [rsp + 0x250]
lea rdx, str.CfgRootPath
lea rcx, str.AppInfo
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rdi + 0x18], 8
jb 0x18000932d
mov r8, qword [rdi]
jmp 0x180009330
mov r8, rdi
lea r9, [rsp + 0x250]
lea rdx, str.CfgUserPath
lea rcx, str.AppInfo
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x180009356
mov rbx, qword [rbx]
mov r9, rbx
lea r8, str.CfgRootPath
lea rdx, str.AppInfo
lea rcx, str.PuddingZip
call fcn.18000bcd0
cmp qword [rdi + 0x18], 8
jb 0x18000937d
mov rdi, qword [rdi]
mov r9, rdi
lea r8, str.CfgUserPath
lea rdx, str.AppInfo
lea rcx, str.PuddingZip
call fcn.18000bcd0
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.18001d7b0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret