Function at 0x100241d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181d94
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x101f7210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.1000ebc0
xor ecx, ecx
mov dword [ebp - 0x284], 7
mov dword [ebp - 0x288], 0
mov word [ebp - 0x298], cx
mov dword [ebp - 0x26c], 0xf
mov dword [ebp - 0x270], ecx
mov byte [ebp - 0x280], cl
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x258], ecx
mov word [ebp - 0x268], cx
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ecx
mov byte [ebp - 0x250], cl
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 5
cmp ecx, eax
je 0x10024291
push 0xffffffffffffffff
push 0
push eax
call fcn.1001e2d0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x224], 8
jb 0x100242ac
push dword [ebp - 0x238]
call fcn.1002fb32
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea ecx, [ebp - 0x2f8]
lea eax, [ebp + 8]
mov dword [ebp - 0x228], 0
push eax
call fcn.100026c0
push ecx
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 8
call fcn.10002b70
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x298]
cmovae eax, dword [ebp - 0x298]
push eax
push str._s.user
lea eax, [ebp - 0x3b8]
push eax
push 0x10203748
call fcn.10010fa0
add esp, 0x10
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
jb 0x10024324
mov edx, dword [edx]
cmp word [edx], 0
jne 0x1002432e
xor ecx, ecx
jmp 0x10024342
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024333
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2f8]
call fcn.100125b0
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 8
call fcn.100024d0
push 0xd
push str.cur_user_name
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
call fcn.1001ec60
xor eax, eax
mov byte [ebp - 4], 0xa
push 0x101cd0f8
mov word [ebp - 0x21b], ax
lea eax, [ebp - 0x21c]
push 3
push eax
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x21c], 0xbfbbef
push eax
call fcn.10004d00
cmp dword [ebp - 0x224], 0x10
lea eax, [ebp - 0x238]
push 0x101cd100
push dword [ebp - 0x228]
cmovae eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.10004d00
cmp dword [ebp - 0x224], 0x10
jb 0x100243ff
push dword [ebp - 0x238]
call fcn.1002fb32
add esp, 4
lea ecx, [ebp - 0x2f8]
call fcn.100024d0
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0
call fcn.100024d0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x358]
call fcn.100026c0
push ecx
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0xb
call fcn.10002b70
push 0x11
push 0x101cffd0
lea ecx, [ebp - 0x358]
call fcn.100125b0
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x418]
call fcn.100026c0
push 1
push 0
push 0x101cd7f8
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0xc
call fcn.10014300
cmp eax, 0xffffffff
je 0x100244fb
cmp dword [ebp - 0x344], 8
lea eax, [ebp - 0x358]
cmovae eax, dword [ebp - 0x358]
push eax
push 0x101d08a0
lea eax, [ebp - 0x3b8]
push eax
push 0x10203748
call fcn.10010fa0
add esp, 0x10
mov edx, eax
mov byte [ebp - 4], 0xd
cmp dword [edx + 0x14], 8
jb 0x100244bd
mov edx, dword [edx]
cmp word [edx], 0
jne 0x100244c7
xor ecx, ecx
jmp 0x100244df
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100244d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x418]
call fcn.1001e640
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0xc
call fcn.100024d0
sub esp, 0x60
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100026c0
lea ecx, [ebp - 0x478]
call fcn.10023930
add esp, 0x60
lea eax, [ebp - 0x47c]
mov byte [ebp - 4], 0xe
push eax
xor esi, esi
push edi
push esi
mov dword [ebp - 0x47c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x100246ed
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10150100
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x100246ed
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.100026c0
push ecx
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0xf
call fcn.10002b70
push 0xa
push str.config.ini
lea ecx, [ebp - 0x3b8]
call fcn.100125b0
lea ecx, [ebp - 0x298]
call fcn.10002440
sub esp, 0x60
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x3b8]
mov dword [ebp - 0x21c], esp
mov ecx, esp
push eax
call fcn.100026c0
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 0x11
push eax
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x484], esp
push 0x101cf8e0
call fcn.10002570
sub esp, 0x60
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x488], esp
push str.desktop_name
call fcn.10002570
sub esp, 0x60
mov byte [ebp - 4], 0x13
mov ecx, esp
push str.config
call fcn.10002570
mov byte [ebp - 4], 0x10
call fcn.10011c00
cmp dword [ebp - 0x288], esi
jne 0x10024637
push str.ZS_ISP_Client
lea ecx, [ebp - 0x298]
call fcn.10002620
cmp dword [0x101f8818], 0
je 0x10024650
push str._Portable
lea ecx, [ebp - 0x298]
call fcn.10002670
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x298]
cmovae eax, dword [ebp - 0x298]
push eax
lea eax, [ebp - 0x218]
push eax
push str._s_s.lnk
lea eax, [ebp - 0x2f8]
push eax
push 0x10203748
call fcn.10010fa0
sub esp, 0x4c
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x478]
mov ecx, esp
push eax
call fcn.100026c0
cmp dword [ebp - 0x2e4], 8
lea ecx, [ebp - 0x2f8]
lea eax, [ebp - 0x418]
cmovae ecx, dword [ebp - 0x2f8]
cmp dword [ebp - 0x404], 8
push ecx
cmovae eax, dword [ebp - 0x418]
push eax
call fcn.1000d300
lea ecx, [ebp - 0x2f8]
mov esi, eax
call fcn.100024d0
lea ecx, [ebp - 0x298]
call fcn.100024d0
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0xe
call fcn.100024d0
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
jne 0x1002477e
push 0x101d090c
lea eax, [ebp - 0x2f8]
push eax
push 0x10203748
call fcn.10010fa0
add esp, 0xc
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x2f8]
cmp dword [ebp - 0x2e4], 8
cmovae eax, dword [ebp - 0x2f8]
push eax
call fcn.1014f3ce
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x230], str.WPFHelper.cpp:SetDesktopLnk__:Line_917
mov dword [ebp - 0x22c], esi
call fcn.10002930
movq xmm0, qword [ebp - 0x230]
push eax
push 0x101cf018
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 3
call fcn.10005540
add esp, 0x14
lea ecx, [ebp - 0x2f8]
call fcn.100024d0
lea ecx, [ebp - 0x478]
call fcn.100024d0
lea ecx, [ebp - 0x418]
call fcn.100024d0
lea ecx, [ebp - 0x358]
call fcn.100024d0
lea ecx, [ebp + 8]
call fcn.100024d0
mov eax, esi
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.1014aad2
mov esp, ebp
pop ebp
ret