Function at 0x10026a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x100b52f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 1
call fcn.10026300
test eax, eax
je 0x10026ac0
push str.IsLudashiPCVip
call fcn.1001f5a0
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053047
mov esp, ebp
pop ebp
ret
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1005fb60
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x430]
add esp, 0xc
push eax
push 0x1a
push 0
call ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10026b0d
push dword [ebp - 0x430]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1005fb60
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.TabXExplorerconfig.ini
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x1009293c
push str.level
push str.settings
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.10026fa0
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push eax
call fcn.1007044d
mov edx, dword [ebp - 0x418]
xor ecx, ecx
add esp, 0x18
test eax, eax
setns cl
mov dword [ebp - 0x434], ecx
cmp edx, 8
jb 0x10026bce
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10026bbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026d5d
push edx
push ecx
call fcn.10052cd6
mov ecx, dword [ebp - 0x434]
add esp, 8
test ecx, ecx
je 0x10026bf1
push str.IsTabXVip
call fcn.1001f5a0
add esp, 4
mov eax, esi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053047
mov esp, ebp
pop ebp
ret
call fcn.10026150
test eax, eax
je 0x10026c19
push str.IsGameMasterVip
call fcn.1001f5a0
add esp, 4
mov eax, esi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053047
mov esp, ebp
pop ebp
ret
call fcn.10025bd0
test eax, eax
je 0x10026c41
push str.IsBizhiVip
call fcn.1001f5a0
add esp, 4
mov eax, esi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053047
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1005fb60
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
push 0x1a
push 0
call ebx
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10026c87
push dword [ebp - 0x430]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1005fb60
add esp, 0xc
lea eax, [ebp - 0x414]
push str.HaloDesktopDataconfig.ini
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x1009293c
push str.level
push str.config
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.10026fa0
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push eax
call fcn.1007044d
mov edx, dword [ebp - 0x418]
xor ebx, ebx
add esp, 0x18
test eax, eax
setns bl
cmp edx, 8
jb 0x10026d38
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10026d2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026d62
push edx
push ecx
call fcn.10052cd6
add esp, 8
test ebx, ebx
je 0x10026d49
push str.IsHaloVip
call fcn.1001f5a0
add esp, 4
mov ecx, dword [ebp - 4]
xor esi, esi
pop ebx
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10053047
mov esp, ebp
pop ebp
ret
call fcn.10062c39
call fcn.10062c39
int3