Function at 0x10014a00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081256
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100a7070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], edx
mov edi, ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x21c], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x220], 0
call fcn.1005d9b0
add esp, 0xc
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x10014a8b
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x10014aa0
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x10014aa2
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
push 0
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x10014b2c
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x10014b2c
push 0x100969a4
mov ecx, edi
call fcn.10018a60
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10014b0c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x10014b0a
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10014b0c
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x10014c39
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
jmp 0x10014c39
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x228]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x10014bdb
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014b66
sub ecx, edx
sar ecx, 1
je 0x10014bb8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014b90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.10019610
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x10014bdb
mov eax, dword [ebp - 0x21c]
push dword [ebp - 0x220]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
add esi, 0xfffffff0
mov ecx, esi
call fcn.10019540
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [edi], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10014c22
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x10014c20
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10014c22
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x10014c39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004450b
mov esp, ebp
pop ebp
ret