Function at 0x10026cd0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018261e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x101f7210]
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 ebx, ecx
mov dword [ebp - 0x3ac], ebx
xor eax, eax
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], 0
mov word [ebp - 0x288], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x25c], 0xf
mov dword [ebp - 0x260], eax
mov byte [ebp - 0x270], al
mov dword [ebp - 0x244], 7
mov dword [ebp - 0x248], eax
mov word [ebp - 0x258], ax
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x240], al
push eax
push 0x101cf8e0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 3
call fcn.1001e640
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 4
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x10027111
cmp word [ebp - 0x218], ax
jne 0x10026daf
xor ecx, ecx
jmp 0x10026dcf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x10026dc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026dc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x288]
call fcn.1001e640
cmp dword [0x101f8818], 0
jne 0x1002709f
push str.AppDataRoaming
lea ecx, [ebp - 0x3a8]
call fcn.10002570
push 3
push 0
lea eax, [ebp - 0x3c8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x288]
call fcn.10012740
push eax
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 6
call fcn.10002870
mov byte [ebp - 4], 8
cmp dword [ebp - 0x3b4], 8
jb 0x10026e44
push dword [ebp - 0x3c8]
call fcn.1002fb32
add esp, 4
push 5
xor eax, eax
mov dword [ebp - 0x3b4], 7
push str.Users
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x3b8], 0
mov word [ebp - 0x3c8], ax
call fcn.100125b0
push ecx
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x228], str.WPFHelper.cpp:GetClientLogRootPath__:Line_1369
mov dword [ebp - 0x224], 0
call fcn.10002930
movq xmm0, qword [ebp - 0x228]
push eax
push str._tusers_root_s_n
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.10005540
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
movq qword [ebp - 0x228], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
sub esp, 0x4c
mov byte [ebp - 4], 9
lea eax, [ebp - 0x348]
mov ecx, esp
push eax
call fcn.100026c0
lea ecx, [ebp - 0x228]
call fcn.10026af0
mov ecx, dword [ebp - 0x224]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x228]
add esp, 0x60
sub ecx, edi
imul ecx
lea ecx, [ebp - 0x2e8]
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
call fcn.10002440
mov byte [ebp - 4], 0xa
test ebx, ebx
jle 0x10027055
mov esi, edi
cmp dword [esi + 0x14], 8
jb 0x10026f4e
mov edx, dword [esi]
jmp 0x10026f50
mov edx, esi
cmp word [edx], 0
jne 0x10026f5a
xor eax, eax
jmp 0x10026f6f
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10026f60
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2e8]
call fcn.1001e640
cmp dword [ebp - 0x394], 8
lea edx, [ebp - 0x3a8]
cmovae edx, dword [ebp - 0x3a8]
cmp word [edx], 0
jne 0x10026f9a
xor ecx, ecx
jmp 0x10026faf
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026fa0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2e8]
call fcn.100125b0
push 0xe
push 0x101d10d4
lea ecx, [ebp - 0x2e8]
call fcn.100125b0
cmp dword [ebp - 0x2d4], 8
lea eax, [ebp - 0x2e8]
cmovae eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10027045
push ecx
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x3c0], str.WPFHelper.cpp:GetClientLogRootPath__:Line_1383
mov dword [ebp - 0x3bc], 0
call fcn.10002930
movq xmm0, qword [ebp - 0x3c0]
push eax
push str._tusers_path_s_n
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.10005540
mov ecx, dword [ebp - 0x3ac]
lea eax, [ebp - 0x2e8]
add esp, 0x14
push eax
call fcn.10013bd0
add esi, 0x60
dec ebx
jne 0x10026f44
mov edi, dword [ebp - 0x228]
lea ecx, [ebp - 0x2e8]
call fcn.100024d0
test edi, edi
je 0x10027087
mov ebx, dword [ebp - 0x224]
mov esi, edi
cmp edi, ebx
je 0x1002707e
mov ecx, esi
call fcn.100024d0
add esi, 0x60
cmp esi, ebx
jne 0x10027070
push edi
call fcn.1002fb32
add esp, 4
lea ecx, [ebp - 0x348]
call fcn.100024d0
lea ecx, [ebp - 0x3a8]
call fcn.100024d0
jmp 0x10027111
push ecx
lea ecx, [ebp - 0x288]
call fcn.10002b70
push 0xd
push str.zs_isp_client
lea ecx, [ebp - 0x288]
call fcn.100125b0
push ecx
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x3c0], str.WPFHelper.cpp:GetClientLogRootPath__:Line_1392
mov dword [ebp - 0x3bc], 0
call fcn.10002930
movq xmm0, qword [ebp - 0x3c0]
push eax
push str._tusers_path_s_n
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.10005540
add esp, 0x14
lea eax, [ebp - 0x288]
mov ecx, ebx
push eax
call fcn.10013bd0
lea ecx, [ebp - 0x288]
call fcn.100024d0
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.1014aad2
mov esp, ebp
pop ebp
ret