Function at 0x10115e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101efe56
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x102632d4]
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 esi, ecx
mov dword [ebp - 0x138], esi
lea ecx, [ebp - 0x144]
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10015540
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x10115f60
lea eax, [ebp - 0x20]
push eax
push 0xa
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x10115f60
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10115f60
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x10115f60
mov eax, dword [ecx]
lea edi, [ebp - 0x14]
push edi
push 0x1020806c
push 0
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x10115f60
mov dword [ebp - 0x14], 0
xor bl, bl
lea ecx, [ebp - 0x144]
call fcn.10015630
mov al, bl
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.101912fd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10115f35
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx]
push edx
push 0xe0
push 0
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x10115f35
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10115f35
push 0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov eax, dword [ecx]
xorps xmm0, xmm0
push edx
push 1
push ecx
movlpd qword [ebp - 0x140], xmm0
call dword [eax + 0xc]
mov edi, dword [ebp - 0x13c]
mov ebx, dword [ebp - 0x140]
cmp eax, 1
je 0x10116075
nop
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1011606f
push 0x110
lea eax, [ebp - 0x134]
push 0
push eax
call fcn.101a9880
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x134]
add esp, 0xc
mov ecx, dword [eax]
push edx
push 3
push esi
push eax
call dword [ecx + 0x48]
test eax, eax
js 0x10116045
cmp dword [ebp - 0x12c], 0
jne 0x10116045
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x10116045
push eax
lea ecx, [ebp - 0x15c]
call fcn.10008860
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 1
call fcn.101160e0
add ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x15c]
adc edi, edx
call fcn.10008820
push dword [ebp - 0x128]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push 0
push edx
mov dword [ebp - 0x18], 0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
cmp eax, 1
jne 0x10115fc0
mov esi, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10116089
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1011609d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x101160b2
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x101160c6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x24], 0
mov dword [esi], ebx
mov bl, 1
mov dword [esi + 4], edi
jmp 0x10115f37