Function at 0x4f1710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a71d
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x7f206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x428], ecx
call fcn.004ff840
mov edx, eax
lea ecx, [ebp - 0x420]
call fcn.00502200
push 0x5c
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], 3
call fcn.00518740
inc eax
lea ecx, [ebp - 0x420]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00526f80
push 0
push 0x1a
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 4
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or ebx, 0xffffffff
test eax, eax
je 0x4f17ec
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x424]
call fcn.0041d400
add esp, 4
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x41c]
call fcn.00524830
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f17f6
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f17f6
push ecx
call fcn.004a8172
add esp, 4
jmp 0x4f17f6
mov dword [ebp - 0x41c], 0x7a135c
push ecx
mov eax, esp
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x41c]
mov dword [eax], str.Adobe_photoshop
lea eax, [ebp - 0x42c]
push eax
call fcn.00527e80
push ecx
mov ecx, esp
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x430]
mov dword [ecx], edi
lea ecx, [ebp - 0x424]
push ecx
mov ecx, eax
call fcn.00527e80
mov edx, dword [ebp - 0x41c]
mov ecx, dword [eax]
mov dword [ebp - 0x41c], ecx
mov dword [eax], edx
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f1866
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f1866
push ecx
call fcn.004a8172
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x42c]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f188e
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f188e
push ecx
call fcn.004a8172
add esp, 4
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x420]
call fcn.00527220
mov esi, dword [ebp - 0x420]
test al, al
je 0x4f18cc
mov eax, dword [ebp - 0x41c]
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x4f18e2
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [ebp - 0x41c]
jmp 0x4f18e2
lea ecx, [esi - 8]
cmp ecx, 0x7a1354
je 0x4f18e0
mov eax, 1
lock xadd dword [ecx], eax
mov eax, esi
mov ecx, dword [ebp - 0x428]
xchg dword [ecx], eax
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x4f1908
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f1908
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x41c]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f192c
mov eax, ebx
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f192c
push ecx
call fcn.004a8172
add esp, 4
add edi, 0xfffffff8
cmp edi, 0x7a1354
je 0x4f194a
mov eax, ebx
lock xadd dword [edi], eax
test eax, eax
jne 0x4f194a
push edi
call fcn.004a8172
add esp, 4
add esi, 0xfffffff8
cmp esi, 0x7a1354
je 0x4f1966
lock xadd dword [esi], ebx
test ebx, ebx
jne 0x4f1966
push esi
call fcn.004a8172
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7e5e
mov esp, ebp
pop ebp
ret