Function at 0x101e528
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
cmp ebx, eax
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
je 0x101e780
cmp dword [ebp + 0xc], eax
je 0x101e780
mov word [ebx], ax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
mov edi, section..data
mov esi, 0x1002cac
jl 0x101e74b
mov eax, dword [ebp - 4]
test eax, eax
je 0x101e762
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
push 0x1002e60
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x101e65e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push 1
push dword [ebp - 0xc]
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x101e648
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x118]
push eax
call fcn.0101ceb2
test eax, eax
jl 0x101e62a
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.01018462
test eax, eax
jge 0x101e610
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e751
test byte [ecx + 0x1c], 2
je 0x101e751
push eax
push esi
push 0x1d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101420b
jmp 0x101e74b
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x101e782
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e751
test byte [ecx + 0x1c], 2
je 0x101e751
push eax
push esi
push 0x1e
jmp 0x101e600
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e67d
test byte [ecx + 0x1c], 2
je 0x101e67d
push eax
push esi
push 0x1f
jmp 0x101e672
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e67d
test byte [ecx + 0x1c], 2
je 0x101e67d
push eax
push esi
push 0x20
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101420b
lea eax, [ebp - 8]
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x101e72c
cmp dword [ebp - 8], 0
je 0x101e72c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
push 1
push dword [ebp - 8]
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x101e713
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x118]
push eax
call fcn.0101ceb2
test eax, eax
jl 0x101e6fa
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.01018462
test eax, eax
jge 0x101e610
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e751
test byte [ecx + 0x1c], 2
je 0x101e751
push eax
push esi
push 0x21
jmp 0x101e600
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e751
test byte [ecx + 0x1c], 2
je 0x101e751
push eax
push esi
push 0x22
jmp 0x101e600
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e751
test byte [ecx + 0x1c], 2
je 0x101e751
push eax
push esi
push 0x23
jmp 0x101e600
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e751
test byte [ecx + 0x1c], 2
je 0x101e751
push eax
push esi
push 0x24
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101420b
mov ecx, dword [section..data]
mov eax, dword [ebp - 4]
test eax, eax
je 0x101e768
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e780
test byte [ecx + 0x1c], 2
je 0x101e780
push esi
push 0x25
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010141c0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8