Function at 0x140039440
Capabilities:
Create process on windows
Delete file
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm7
mov rax, qword [0x14017b180]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm3, xmmword [0x1401619b0]
movups xmmword [rsp + 0x38], xmm3
xor esi, esi
mov edi, dword [0x14017b1d8]
pextrw eax, xmm3, 7
test ax, ax
je 0x1400395b4
cmp edi, 2
jl 0x140039576
movdqa xmm4, xmmword [0x1401620b0]
movdqa xmm2, xmmword [0x140161d90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140161dc0]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140161de0]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rsp + 0x38], xmm2
movdqa xmm3, xmmword [0x140161db0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140161dc0]
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140161de0]
movq xmm0, qword [rsp + 0x40]
xorps xmm2, xmm0
movq qword [rsp + 0x40], xmm2
jmp 0x1400395b4
lea r9, [rsp + 0x38]
mov r8d, esi
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x37
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x140039580
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
lea rax, [rsp + 0x38]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], si
jne 0x1400395d2
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14004a800
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.140038f00
nop
movups xmm7, xmmword [0x1401619c0]
movups xmmword [rsp + 0x38], xmm7
movsd xmm0, qword [0x1401619d0]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x1401619d8]
mov dword [rsp + 0x50], eax
cmp word [0x1401619da], 0
je 0x140039760
mov ecx, esi
cmp edi, 2
jl 0x14003971e
movdqa xmm4, xmmword [0x1401620b0]
movdqa xmm2, xmmword [0x140161d90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140161dc0]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, qword [0x140161de0]
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rsp + 0x38], xmm3
movdqa xmm2, xmmword [0x140161db0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140161dc0]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, qword [0x140161de0]
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x40]
xorps xmm3, xmm0
movq qword [rsp + 0x40], xmm3
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x38]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x35
movzx eax, cx
sub ax, dx
add ax, 0x37
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0xe
jl 0x140039730
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
lea rax, [rsp + 0x38]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140039780
mov r8, rbx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.14004a800
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.140038f00
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.140048140
nop
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.140048140
mov rcx, rax
call fcn.1400392b0
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call fcn.140048140
mov rcx, rax
call fcn.140039120
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x58]
call fcn.140048140
mov rdi, rax
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140048140
mov rbx, rax
mov r9, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140039846
mov r9, qword [rdi]
mov r8, rbx
cmp qword [rax + 0x18], 7
jbe 0x140039853
mov r8, qword [rax]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x1400398aa
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400398a5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039979
mov rcx, r8
call fcn.140099b60
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x1400398f8
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400398f3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039979
mov rcx, r8
call fcn.140099b60
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x140039986
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039980
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039980
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140099b60
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x1400399c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400399c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400399c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099b60
movdqa xmm0, xmmword [0x140161d20]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], si
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140039a1d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039a18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039a18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099b60
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140099710
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm7, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret