Function at 0x552150
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x80], rcx
nop
mov dword [rbp + 0x58], 0
sub dword [rbp + 0x4c], 0x2c4
mov eax, dword [rbp + 0x54]
add eax, dword [rbp + 0x50]
cmp eax, dword [rbp + 0x4c]
jle 0x5521ad
mov eax, 0x18b
sub eax, dword [rbp + 0x50]
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x58]
test eax, eax
jle 0x5521c0
mov eax, dword [rbp + 0x54]
add eax, 0x72
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x5c], eax
add dword [rbp + 0x5c], 0x39a
add dword [rbp + 0x58], 1
cmp dword [rbp + 0x58], 3
jne 0x55218f
nop
mov eax, 0x140
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x54], eax
mov eax, 0x164
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x50]
imul eax, eax, 0x189
mov dword [rbp + 0x54], eax
mov ecx, 0x400
call fcn.00409020
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x4c]
add eax, 0x245
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x60]
call fcn.0040e5d0
mov eax, dword [rbp + 0x5c]
cmp eax, dword [rbp + 0x5c]
jle 0x55222e
mov eax, dword [rbp + 0x58]
sub dword [rbp + 0x5c], eax
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1cf0]
call fcn.0040fe40
mov eax, 0x5a
sub eax, dword [rbp + 0x5c]
cmp eax, 0x10a
jge 0x552255
mov eax, dword [rbp + 0x5c]
add dword [rbp + 0x5c], eax
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1d10]
call fcn.0040fe40
mov dword [rbp + 0x5c], 0
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1ca8]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
add dword [rbp + 0x5c], eax
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
add dword [rbp + 0x5c], eax
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x2e7
mov dword [rbp + 0x4c], eax
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0042be80
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x38]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x30c
mov dword [rbp + 0x4c], eax
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0042be80
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x30]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x2f0
mov dword [rbp + 0x4c], eax
lea rcx, [rbp + 0x60]
lea rdx, [0x00552508]
call fcn.0040fe40
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x2b4
mov dword [rbp + 0x4c], eax
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1cf8]
call fcn.0040fe40
sub dword [rbp + 0x4c], 0x278
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
mov eax, dword [rbp + 0x4c]
add eax, 0x23c
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x60]
mov rdx, qword [0x005d1d28]
call fcn.0040fe40
mov dword [rbp + 0x58], 0
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x2e6
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x50]
sub eax, dword [rbp + 0x4c]
cmp eax, dword [rbp + 0x5c]
jge 0x552388
add dword [rbp + 0x50], 0x20e
mov eax, dword [rbp + 0x50]
add eax, dword [rbp + 0x50]
cmp dword [rbp + 0x58], eax
jne 0x55239f
mov eax, 0x115
sub eax, dword [rbp + 0x50]
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x58]
test eax, eax
jle 0x5523b5
mov eax, 0x9d
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x5c]
add eax, dword [rbp + 0x58]
mov ecx, dword [rbp + 0x58]
add ecx, dword [rbp + 0x54]
cmp eax, ecx
jge 0x5523cb
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
add dword [rbp + 0x58], 1
cmp dword [rbp + 0x58], 3
jne 0x55236a
nop
mov eax, 0x12b
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x54], eax
mov eax, 0x16f
sub eax, dword [rbp + 0x50]
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x50]
imul eax, eax, 0x194
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x50]
imul eax, eax, 0x1d8
mov dword [rbp + 0x50], eax
mov eax, 0x15d
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x50]
imul eax, eax, 0x1a2
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x50]
imul eax, eax, 0x1c6
mov dword [rbp + 0x54], eax
add dword [rbp + 0x50], 0x1eb
xor ecx, ecx
mov rdx, qword [rbp + 0x68]
mov r8d, 0x23
or r9d, 0xffffffff
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, dword [rbp + 0x4c]
sub eax, 0x274
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x68]
call fcn.0040fba0
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
call fcn.0054f5e0
lea rcx, [rbp + 0x28]
lea rdx, [0x00552518]
call fcn.0040fe40
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x28]
call fcn.0040fc80
mov eax, dword [rbp + 0x5c]
imul eax, eax, 0x30d
mov dword [rbp + 0x5c], eax
mov rcx, qword [rbp + 0x68]
call fcn.00409050
sub dword [rbp + 0x4c], 0x2b5
nop
lea rcx, [rbp + 0x20]
mov edx, 4
call fcn.0040e6b0
lea rcx, [rbp + 0x60]
call fcn.0040e5d0
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x70]
pop rbp
ret