Function at 0x140059460
Capabilities:
Delete file
Encode data using xor
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x1400bb040]
xor rax, rsp
mov qword [rsp + 0x190], rax
movzx eax, word [0x1400ae220]
xor ecx, ecx
cmp dword [0x1400bb008], 2
movups xmm0, xmmword [0x1400ae200]
mov word [rsp + 0x40], ax
movups xmm1, xmmword [0x1400ae210]
movzx eax, byte [0x1400ae222]
mov byte [rsp + 0x42], al
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
jl 0x14005960c
movdqa xmm0, xmmword [0x1400aeaf0]
lea rdx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1400aea60]
movdqa xmm4, xmmword [0x1400aeae0]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
movaps xmmword [rsp + 0x1a0], xmm6
movdqa xmm6, xmmword [str.7777]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400aead0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400aead0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x140059500
movaps xmm6, xmmword [rsp + 0x1a0]
cmp ecx, 0x23
jge 0x14005964e
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x37
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x23
jl 0x140059620
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140059681
lea r9d, [rax + 0x11]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Failed_to_create_process_snapshot_
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140059706
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1400596c0
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Failed_to_retrieve_first_process_
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140059706
lea rdx, str.loader.exe
lea rcx, [rsp + 0x8c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov rcx, rbx
test eax, eax
je 0x1400596f5
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400596c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140059706
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14007b600
add rsp, 0x1b0
pop rbx
ret