Function at 0x101e4e2
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 0x101e73a
cmp dword [ebp + 0xc], eax
je 0x101e73a
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, 0x1002cb4
jl 0x101e705
mov eax, dword [ebp - 4]
test eax, eax
je 0x101e71c
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
push 0x1002e68
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x101e618
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 0x101e602
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x118]
push eax
call fcn.0101ce16
test eax, eax
jl 0x101e5e4
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.010183fd
test eax, eax
jge 0x101e5ca
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e70b
test byte [ecx + 0x1c], 2
je 0x101e70b
push eax
push esi
push 0x1d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e4a
jmp 0x101e705
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 0x101e73c
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e70b
test byte [ecx + 0x1c], 2
je 0x101e70b
push eax
push esi
push 0x1e
jmp 0x101e5ba
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e637
test byte [ecx + 0x1c], 2
je 0x101e637
push eax
push esi
push 0x1f
jmp 0x101e62c
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e637
test byte [ecx + 0x1c], 2
je 0x101e637
push eax
push esi
push 0x20
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e4a
lea eax, [ebp - 8]
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x101e6e6
cmp dword [ebp - 8], 0
je 0x101e6e6
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 0x101e6cd
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x118]
push eax
call fcn.0101ce16
test eax, eax
jl 0x101e6b4
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.010183fd
test eax, eax
jge 0x101e5ca
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e70b
test byte [ecx + 0x1c], 2
je 0x101e70b
push eax
push esi
push 0x21
jmp 0x101e5ba
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e70b
test byte [ecx + 0x1c], 2
je 0x101e70b
push eax
push esi
push 0x22
jmp 0x101e5ba
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e70b
test byte [ecx + 0x1c], 2
je 0x101e70b
push eax
push esi
push 0x23
jmp 0x101e5ba
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e70b
test byte [ecx + 0x1c], 2
je 0x101e70b
push eax
push esi
push 0x24
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01040e4a
mov ecx, dword [section..data]
mov eax, dword [ebp - 4]
test eax, eax
je 0x101e722
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
mov ecx, dword [section..data]
cmp ecx, edi
je 0x101e73a
test byte [ecx + 0x1c], 2
je 0x101e73a
push esi
push 0x25
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010141a1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8