Function at 0x1800038a0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Get file attributes
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x10680]
mov eax, 0x10780
call fcn.18000cc50
sub rsp, rax
mov rax, qword [0x180044088]
xor rax, rsp
mov qword [rbp + 0x10670], rax
lea r9, str.CreamAPI
lea r8, [0x1800669e0]
lea rdx, [0x18003b718]
lea rcx, [0x1800a6ac0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [0x1800a6ac0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r9, str.381210
lea r8, [0x1800a6ac0]
lea rdx, [0x18003b738]
lea rcx, [0x1800a6ac0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [0x1800a6ac0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r9, str._remote
lea r8, [0x1800a6ac0]
lea rdx, [0x18003b758]
lea rcx, [0x1800a6ac0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [0x1800a6ac0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r9, str.ProfileSaves
lea r8, [0x1800a6ac0]
lea rdx, [0x18003b788]
lea rcx, [0x1800a6ac0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [0x1800a6ac0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r9, [0x18003abf4]
lea r8, [0x1800a6ac0]
lea rdx, [0x18003b798]
lea rcx, [0x1800a6ac0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [0x1800569d0]
lea rdx, [rbp + 0xf0]
mov edi, 0x30
mov dword [rsp + 0x60], 0x310030
mov dword [rsp + 0x64], 0x300030
mov dword [rsp + 0x68], 0x300031
mov dword [rsp + 0x6c], 0x310030
lea r8d, [rdi - 0x20]
mov dword [rsp + 0x70], 0x70002e
lea esi, [rdi + 1]
mov dword [rsp + 0x74], 0x6f0072
mov dword [rsp + 0x78], 0x6a0066
mov dword [rsp + 0x7c], 0x650063
call fcn.180013f9c
or rbx, 0xffffffffffffffff
lea rax, [rbp + 0xf0]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180003a30
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x20]
call fcn.1800125bc
lea rcx, [rbp + 0x160]
mov r8d, 0x50d
lea rdx, [0x18003d540]
call fcn.18000d7e0
lea rax, [rbp + 0xf0]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180003a70
cmp rbx, 7
jne 0x180003c15
movzx eax, word [rbp + 0x2a]
lea r9, [rsp + 0x50]
mov word [rsp + 0x50], ax
lea r8, [0x1800a6ac0]
movzx eax, word [rbp + 0x2c]
lea rdx, [0x18003b7a8]
mov word [rsp + 0x52], ax
lea rcx, [rbp + 0x670]
movzx eax, word [rbp + 0x26]
mov word [rsp + 0x54], ax
movzx eax, word [rbp + 0x28]
mov word [rsp + 0x56], ax
movzx eax, word [rbp + 0x22]
mov word [rsp + 0x58], ax
movzx eax, word [rbp + 0x24]
mov word [rsp + 0x5a], ax
movzx eax, word [rbp + 0x20]
mov word [rsp + 0x5e], ax
mov word [rsp + 0x5c], si
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x50]
mov word [rsp + 0x5c], di
lea r8, [0x1800a6ac0]
lea rdx, [0x18003b7b8]
lea rcx, [0x1800a6ac0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [0x1800a6ac0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180003b37
lea rcx, [rbp + 0x670]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180003b37
mov al, 1
jmp 0x180003bed
xor edi, edi
lea rcx, [0x1800a6ac0]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rdi
mov rcx, rax
lea rdx, [rbp + 0x160]
mov r8d, 0x50d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x670]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
xor r8d, r8d
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov rcx, rax
lea rdx, [rbp + 0x160]
mov r8d, 0x50d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x10670]
xor rcx, rsp
call fcn.18000c090
lea r11, [rsp + 0x10780]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
cmp rbx, 8
jne 0x180003beb
movzx eax, word [rbp + 0x2c]
lea r9, [rsp + 0x50]
mov word [rsp + 0x50], ax
lea r8, [0x1800a6ac0]
movzx eax, word [rbp + 0x2e]
lea rdx, [0x18003b7c8]
mov word [rsp + 0x52], ax
lea rcx, [0x1800a6ac0]
movzx eax, word [rbp + 0x28]
mov word [rsp + 0x54], ax
movzx eax, word [rbp + 0x2a]
mov word [rsp + 0x56], ax
movzx eax, word [rbp + 0x24]
mov word [rsp + 0x58], ax
movzx eax, word [rbp + 0x26]
mov word [rsp + 0x5a], ax
movzx eax, word [rbp + 0x20]
mov word [rsp + 0x5c], ax
movzx eax, word [rbp + 0x22]
mov word [rsp + 0x5e], ax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [0x1800a6ac0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180003b30
xor edi, edi
lea rcx, [0x1800a6ac0]
jmp 0x180003b99