Function at 0x14000b320
Capabilities:
Create directory
Delete file
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x14006b680]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.140047d20
mov rdi, 0xffffffffffffffff
lea rbx, [0x14006ca90]
mov r8, rdi
mov qword [rsp + 0x20], rbx
lea r9, str._sCredentialsNew.ini
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.1400022c0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax]
test eax, eax
jne 0x14000b3bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b3f2
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, rdi
jne 0x14000b3f9
xor al, al
jmp 0x14000b7c2
mov edx, 0x2002
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, 0x20a
call fcn.14001e3fc
mov qword [rsp + 0x60], rax
mov rbx, rax
test rax, rax
je 0x14000b454
xor edx, edx
mov r8d, 0x208
mov rcx, rax
call fcn.140047d20
lea r8, [rbp - 0x40]
mov byte [rbx + 0x208], sil
mov edx, 0x104
mov rcx, rbx
call fcn.14002ee10
test eax, eax
jne 0x14000b457
mov byte [rbx + 0x208], 1
jmp 0x14000b457
mov rbx, rsi
mov qword [rsp + 0x338], r12
mov qword [rsp + 0x2e0], r13
cmp byte [rbx + 0x208], sil
je 0x14000b784
mov qword [rsp + 0x38], rsi
mov r9d, edi
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], esi
mov edx, 0x80
mov ecx, 0xfde9
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r12, eax
test eax, eax
je 0x14000b784
mov rcx, r12
call fcn.14001e3b0
mov rsi, rax
test rax, rax
je 0x14000b4ca
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.140047d20
xor r13d, r13d
jmp 0x14000b4d0
xor r13d, r13d
mov esi, r13d
mov qword [rsp + 0x38], r13
mov r9d, edi
mov qword [rsp + 0x30], r13
mov r8, rbx
mov dword [rsp + 0x28], r12d
mov edx, 0x80
mov ecx, 0xfde9
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r8, qword [rsp + 0x40]
lea rcx, str.Steam
mov rdx, qword [rsp + 0x48]
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rcx, rsi
test eax, eax
jne 0x14000b531
nop dword [rax + rax]
call fcn.14001e3b8
mov byte [rbx + 0x208], 0
jmp 0x14000b78b
call fcn.14001e3b8
mov edx, 0x20a
mov byte [rbx + 0x208], 0
mov rcx, rbx
call fcn.14001e3b8
xorps xmm0, xmm0
lea rdx, [rbp - 0x78]
xor eax, eax
mov rcx, r15
movups xmmword [rbp - 0x78], xmm0
mov dword [rbp - 0x48], eax
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14000b798
cmp dword [rbp - 0x50], 1
jne 0x14000b762
mov eax, dword [rbp - 0x54]
test eax, eax
je 0x14000b762
cmp dword [rbp - 0x58], 0
jne 0x14000b762
mov ecx, eax
mov ebx, eax
call fcn.14001e3b0
mov rsi, rax
test rax, rax
je 0x14000b5b4
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.140047d20
jmp 0x14000b5b7
mov rsi, r13
mov r8d, dword [rbp - 0x54]
lea r9, [rbp - 0x80]
mov rdx, rsi
mov dword [rbp - 0x80], r13d
mov rcx, r15
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000b671
mov eax, dword ds:[rbp - 0x54]
cmp dword [rbp - 0x80], eax
jne 0x14000b671
xorps xmm0, xmm0
mov dword [rsp + 0x70], eax
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x74], r13d
mov rax, rdi
mov qword [rsp + 0x78], rsi
inc rax
cmp byte [r14 + rax], 0
jne 0x14000b602
test rax, rax
je 0x14000b6aa
mov dword [rsp + 0x64], r13d
mov qword [rsp + 0x68], r14
nop
inc rdi
cmp byte [r14 + rdi], 0
jne 0x14000b620
inc edi
mov dword [rsp + 0x60], edi
movabs r10, 0xb2f49f065a5f9270
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
mov rax, qword [0x14006c9f0]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x28], 1
xor edx, edx
mov qword [rsp + 0x20], r13
call qword [0x14004a4d0]
test eax, eax
jne 0x14000b6ea
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, ds:[rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [rbp - 0x54]
xor eax, eax
mov rdi, rsi
rep stosb byte [rdi], al
mov rcx, rsi
call fcn.14001e3b8
lea rdi, [rbp - 0x78]
xor eax, eax
mov ecx, 0x34
rep stosb byte [rdi], al
jmp 0x14000b7b2
movabs r10, 0xb2f49f065a5f9270
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x70]
mov rax, qword [0x14006c9f0]
xor r8d, r8d
mov dword [rsp + 0x28], 1
xor edx, edx
mov qword [rsp + 0x20], r13
call qword [0x14004a4d0]
test eax, eax
je 0x14000b671
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r8d, dword [rsp + 0x50]
lea r9, [rbp - 0x7c]
mov rdx, qword [rsp + 0x58]
mov rcx, r15
mov dword [rbp - 0x7c], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbp - 0x54]
xor eax, eax
mov rdi, rsi
rep stosb byte [rdi], al
mov ecx, dword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
rep stosb byte [rdi], al
lea rdi, [rbp - 0x78]
mov ecx, 0x34
rep stosb byte [rdi], al
mov rcx, rsi
call fcn.14001e3b8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x14000b7a6
mov al, 1
jmp 0x14000b7b2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdi, [rbp - 0x78]
xor eax, eax
mov ecx, 0x34
rep stosb byte [rdi], al
jmp 0x14000b7b2
mov byte [rbx + 0x208], sil
mov edx, 0x20a
mov rcx, rbx
call fcn.14001e3b8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov r12, qword [rsp + 0x338]
mov r13, qword [rsp + 0x2e0]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14001e390
add rsp, 0x2e8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret