Function at 0x5cbaa0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0063a460
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor edx, edx
mov byte [ebp - 0x20d], dl
lea ecx, [ebp - 0x20d]
call fcn.005cc6a0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5cbb25
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea ecx, [ebp - 0x214]
call fcn.00413220
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x3c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str._s__dx_d.jpg
lea edx, [ebp - 0x214]
push edx
call fcn.00422a10
add esp, 0x18
lea ecx, [ebp - 0x214]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5cbd03
mov ecx, dword [ebp - 0x21c]
add ecx, 0x44
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5cbbb0
push 0x6abaf4
mov ecx, dword [ebp + 8]
call fcn.004131e0
lea ecx, [ebp - 0x214]
call fcn.00413870
mov eax, dword [ebp + 8]
jmp 0x5cbd20
push 0x28
call fcn.006135e5
add esp, 4
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x5cbbef
push 2
push 1
mov ecx, dword [ebp - 0x21c]
add ecx, 0x44
call fcn.0040d3c0
push eax
mov ecx, dword [ebp - 0x228]
call fcn.005a06d0
mov dword [ebp - 0x22c], eax
jmp 0x5cbbf9
mov dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
call fcn.00484140
test eax, eax
je 0x5cbc85
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x220], edx
cmp dword [ebp - 0x220], 0
je 0x5cbc51
push 1
mov eax, dword [ebp - 0x220]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x234], eax
jmp 0x5cbc5b
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x218], 0
push 0x6abaf8
mov ecx, dword [ebp + 8]
call fcn.004131e0
lea ecx, [ebp - 0x214]
call fcn.00413870
mov eax, dword [ebp + 8]
jmp 0x5cbd20
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.0047ff20
add esp, 0xc
lea ecx, [ebp - 0x214]
call fcn.0040d3c0
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00483b10
push eax
call fcn.00480550
add esp, 8
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x224], 0
je 0x5cbcf9
push 1
mov eax, dword [ebp - 0x224]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x23c], eax
jmp 0x5cbd03
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x214]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00421650
lea ecx, [ebp - 0x214]
call fcn.00413870
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 0x10