Function at 0x10001000
Capabilities:
Encode data using xor
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x10017024]
xor eax, ebp
mov dword [ebp - 4], eax
push str.SteamUI.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000130b
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1000130b
cmp eax, 0x104
ja 0x1000130b
push str.hid.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004506
add esp, 0xc
lea eax, [ebp - 0x20c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1000130b
push str.config_appdata.vdf
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10004506
add esp, 0xc
mov dword [ebp - 0x428], 0
push ebx
push esi
push edi
push 0x10014ed0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.100040ed
add esp, 0xc
test eax, eax
jne 0x100012f2
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x100012f2
push 2
push 0
push eax
call fcn.100044eb
add esp, 0xc
push dword [ebp - 0x418]
test eax, eax
je 0x10001114
call fcn.100041ab
add esp, 4
jmp 0x100012f2
call fcn.10004021
add esp, 4
mov esi, eax
push dword [ebp - 0x418]
cmp esi, 0xffffffff
jne 0x10001136
call fcn.100041ab
add esp, 4
jmp 0x100012f2
call fcn.1000480e
lea eax, [esi + 1]
add esp, 4
test eax, eax
jne 0x10001158
push dword [ebp - 0x418]
call fcn.100041ab
add esp, 4
jmp 0x100012f2
xor ecx, ecx
mov eax, esi
add eax, 1
push 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.1000402c
add esp, 8
mov ebx, eax
push dword [ebp - 0x418]
test ebx, ebx
jne 0x1000118a
call fcn.100041ab
add esp, 4
jmp 0x100012f2
push esi
push 1
push ebx
call fcn.10004adc
add esp, 0x10
cmp eax, esi
je 0x100011b3
push ebx
call fcn.100048db
push dword [ebp - 0x418]
call fcn.100041ab
add esp, 8
jmp 0x100012f2
mov byte [ebx + esi], 0
push dword [ebp - 0x418]
call fcn.100041ab
add esp, 4
test esi, esi
jle 0x100012f2
cmp esi, 0xd
jb 0x100012f2
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
xor eax, 0xfaac85f0
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x428]
xor eax, 0xffffffff
mov dword [ebp - 0x41c], eax
mov eax, dword [ebx + 8]
xor eax, 0xfaac85f0
add eax, 0x78752c
mov dword [ebp - 0x41c], eax
lea eax, [esi - 0xc]
cmp eax, edi
jne 0x100012f2
push edi
call fcn.10001c25
push edi
lea ecx, [ebx + 0xc]
mov esi, eax
push ecx
push esi
call fcn.100029a0
add esp, 0x10
xor ecx, ecx
test edi, edi
je 0x10001298
mov eax, dword [ebp - 0x424]
cmp edi, 0x40
jb 0x1000128c
movsx edx, al
mov ebx, edi
and ebx, 0xffffffc0
movd xmm0, edx
lea edx, [esi + 0x20]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [edx - 0x20]
add ecx, 0x40
lea edx, [edx + 0x40]
xorps xmm0, xmm1
movups xmmword [edx - 0x60], xmm0
movups xmm0, xmmword [edx - 0x50]
xorps xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movups xmm0, xmmword [edx - 0x40]
xorps xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movups xmm0, xmmword [edx - 0x30]
xorps xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
cmp ecx, ebx
jb 0x10001256
cmp ecx, edi
jae 0x10001298
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jb 0x10001290
push dword [ebp - 0x41c]
call fcn.10001c25
push edi
mov ebx, eax
lea eax, [ebp - 0x41c]
push esi
push eax
push ebx
call dword [sym.imp.zlib1.dll_uncompress]
add esp, 0x14
test eax, eax
je 0x100012cd
push ebx
call fcn.10001c20
push esi
call fcn.10001c20
add esp, 8
jmp 0x100012f2
push esi
call fcn.10001c20
mov eax, dword [ebp - 0x41c]
add esp, 4
test eax, eax
je 0x100012f2
test ebx, ebx
je 0x100012f2
push eax
push ebx
call fcn.10001760
add esp, 8
test eax, eax
jne 0x10001308
mov eax, dword [ebp - 0x428]
inc eax
mov dword [ebp - 0x428], eax
cmp eax, 5
jl 0x100010b5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001c12
mov esp, ebp
pop ebp
ret