Function at 0x10001320
Capabilities:
Get common file path
Get session user name
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a400
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [section..data]
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 edi, ecx
mov dword [ebp - 0x344], edi
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.100069a0
push str.LOCALAPPDATA
call fcn.1000b41d
add esp, 0x10
test eax, eax
je 0x1000138d
push str.LOCALAPPDATA
call fcn.1000b41d
add esp, 4
push eax
jmp 0x10001465
lea eax, [ebp - 0x320]
mov dword [ebp - 0x320], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x100013ea
lea eax, [ebp - 0x218]
push eax
push str.C:Users_sAppDataLocal
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.10001010
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.1000a939
add esp, 0x18
test eax, eax
jne 0x100013ea
lea eax, [ebp - 0x114]
push eax
jmp 0x10001465
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], 0
push eax
push 0
push 0x8000
push 0x1001b1a0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
lea eax, [ebp - 0x114]
jne 0x10001447
push 0x104
push dword [ebp - 0x33c]
push 0x104
push eax
push 0
call fcn.1000ad5a
add esp, 0x14
push dword [ebp - 0x33c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x114]
push eax
jmp 0x10001465
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
lea ecx, [ebp - 0x114]
mov edx, 0x10022a38
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x338]
call fcn.100016e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x338]
cmp dword [ebp - 0x324], 0xf
cmova eax, dword [ebp - 0x338]
push eax
push str._sSteamlocalData.vdf
lea eax, [ebp - 0x31c]
push 0x104
push eax
call fcn.10001010
lea eax, [ebp - 0x31c]
push 0x10022a88
push eax
call fcn.10008656
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x100014e0
push 2
push 0
push ebx
call fcn.10008aab
push ebx
call fcn.1000856f
mov esi, eax
add esp, 0x10
mov dword [edi], esi
test esi, esi
jne 0x1000151f
push ebx
call fcn.10008792
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0x324]
cmp ecx, 0xf
jbe 0x10001630
mov edx, dword [ebp - 0x338]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001626
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000164e
jmp 0x10001626
cmp esi, 0x7fffffff
ja 0x10001653
cmp esi, 0x1000
jb 0x1000155a
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x10001658
push eax
call fcn.10004dce
add esp, 4
test eax, eax
je 0x1000164e
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10001565
push esi
call fcn.10004dce
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100069a0
push 0
push 0
push ebx
call fcn.10008aab
mov ecx, dword [ebp - 0x344]
push ebx
push dword [ecx]
push 1
push edi
call fcn.1000af70
add esp, 0x28
xor ecx, ecx
test esi, esi
je 0x1000159a
not byte [edi + ecx]
inc ecx
cmp ecx, esi
jb 0x10001592
push ebx
call fcn.10008792
mov eax, dword [ebp - 0x344]
mov eax, dword [eax]
lea eax, [eax + eax*4]
push eax
mov dword [ebp - 0x340], eax
call fcn.1000b428
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100015e3
mov eax, dword [ebp - 0x344]
push dword [eax]
lea eax, [ebp - 0x340]
push edi
push eax
push ebx
call fcn.100021f0
test eax, eax
je 0x10001616
push ebx
call fcn.1000a9c3
add esp, 4
xor ebx, ebx
test edi, edi
je 0x100014e2
cmp esi, 0x1000
jb 0x10001607
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1000164e
mov edi, ecx
push esi
push edi
call fcn.10004dfe
add esp, 8
jmp 0x100014e2
mov ecx, dword [ebp - 0x344]
mov eax, dword [ebp - 0x340]
mov dword [ecx], eax
jmp 0x100015e5
push ecx
push edx
call fcn.10004dfe
add esp, 8
mov eax, ebx
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.10004dc0
mov esp, ebp
pop ebp
ret
call fcn.1000b2e0
call fcn.100017f0
call fcn.100010f0
int3