Function at 0x10271fa
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
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
cmp ebx, eax
je 0x102745e
cmp dword [ebp + 0xc], eax
jbe 0x102722b
xor ecx, ecx
cmp dword [ebp + 0xc], eax
mov word [ebx], cx
je 0x102745e
xor eax, eax
mov word [ebx], ax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov edi, section..data
mov esi, 0x1003cdc
test eax, eax
jl 0x1027429
mov eax, dword [ebp - 4]
test eax, eax
je 0x1027440
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
push 0x1003e58
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x102733c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, reloc.Secur32.dll_LsaDeregisterLogonProcess
push edx
push 1
push dword [ebp - 0xc]
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x1027326
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call fcn.01025b53
test eax, eax
jl 0x1027308
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.0101b116
test eax, eax
jge 0x10272ee
mov ecx, dword [section..data]
cmp ecx, edi
je 0x102742f
test byte [ecx + 0x1c], 4
je 0x102742f
push eax
push esi
push 0x23
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101b900
jmp 0x1027429
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 0x1027460
mov ecx, dword [section..data]
cmp ecx, edi
je 0x102742f
test byte [ecx + 0x1c], 4
je 0x102742f
push eax
push esi
push 0x24
jmp 0x10272de
mov ecx, dword [section..data]
cmp ecx, edi
je 0x102735b
test byte [ecx + 0x1c], 4
je 0x102735b
push eax
push esi
push 0x25
jmp 0x1027350
mov ecx, dword [section..data]
cmp ecx, edi
je 0x102735b
test byte [ecx + 0x1c], 4
je 0x102735b
push eax
push esi
push 0x26
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101b900
lea eax, [ebp - 8]
push eax
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x102740a
cmp dword [ebp - 8], 0
je 0x102740a
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, reloc.Secur32.dll_LsaDeregisterLogonProcess
push edx
push 1
push dword [ebp - 8]
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x10273f1
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call fcn.01025b53
test eax, eax
jl 0x10273d8
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.0101b116
test eax, eax
jge 0x10272ee
mov ecx, dword [section..data]
cmp ecx, edi
je 0x102742f
test byte [ecx + 0x1c], 4
je 0x102742f
push eax
push esi
push 0x27
jmp 0x10272de
mov ecx, dword [section..data]
cmp ecx, edi
je 0x102742f
test byte [ecx + 0x1c], 4
je 0x102742f
push eax
push esi
push 0x28
jmp 0x10272de
mov ecx, dword [section..data]
cmp ecx, edi
je 0x102742f
test byte [ecx + 0x1c], 4
je 0x102742f
push eax
push esi
push 0x29
jmp 0x10272de
mov ecx, dword [section..data]
cmp ecx, edi
je 0x102742f
test byte [ecx + 0x1c], 4
je 0x102742f
push eax
push esi
push 0x2a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0101b900
mov ecx, dword [section..data]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1027446
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
mov ecx, dword [section..data]
cmp ecx, edi
je 0x102745e
test byte [ecx + 0x1c], 4
je 0x102745e
push esi
push 0x2b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01017c98
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8