Function at 0x140021740
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0xc0
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
mov rax, qword [0x1401798e0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov qword [r11 - 0x70], rdx
mov rsi, qword [0x14017a690]
mov byte [rsi + 0x20], 0
xor ebx, ebx
mov qword [r11 - 0x68], rbx
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x50], 0xf
mov byte [rsp + 0x60], bl
lea rdx, [0x140179900]
cmp qword [0x140179918], 0x10
cmovae rdx, qword [0x140179900]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400217c0
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400217ea
lea rdx, [0x140179940]
cmp qword [0x140179958], 0x10
cmovae rdx, qword [0x140179940]
mov r8, qword [0x140179950]
jmp 0x14002183a
lea rdx, [0x140179920]
cmp qword [0x140179938], 0x10
cmovae rdx, qword [0x140179920]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002180e
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140021b2e
lea rdx, [0x140179960]
cmp qword [0x140179978], 0x10
cmovae rdx, qword [0x140179960]
mov r8, qword [0x140179970]
lea rcx, [rsp + 0x60]
call fcn.140020970
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8d, 0x63dd
mov rcx, qword [rsi + 0x48]
call fcn.1400242a0
test al, al
jne 0x140021a59
lea rdx, [rsp + 0x58]
call fcn.140021d60
mov r10, rax
movzx eax, byte [rax + 5]
test al, al
je 0x14002189f
xor byte [r10], 0x34
xor byte [r10 + 1], 0x35
xor byte [r10 + 2], 0x36
xor byte [r10 + 3], 0x37
xor byte [r10 + 4], 0x38
xor al, 0x39
mov byte [r10 + 5], al
lea rdx, [rsp + 0x30]
call fcn.140021d80
mov r11, rax
cmp byte [rax + 0x1e], 0
je 0x140021a3c
cmp dword [0x1401798c0], 2
jl 0x140021a07
movdqa xmm5, xmmword [0x1400b0940]
movdqa xmm4, xmmword [0x1400b0990]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x1400b0960]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rsp + 0x20], xmm0
mov rcx, r11
mov edx, dword [rsp + 0x20]
movd xmm2, ebx
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x140021903
cmp eax, 0x1f
jge 0x140021a3c
movsxd r8, ebx
add r8, r11
nop dword [rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x34
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1f
jl 0x140021a10
xor r9d, r9d
mov r8, r10
mov rdx, r11
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140021a99
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021a94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021a94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400825b4
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140021ae2
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140021add
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021b27
mov rcx, r8
call fcn.1400825b4
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140082c20
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [rsp + 0x58]
call fcn.140021d60
mov r10, rax
movzx eax, byte [rax + 5]
test al, al
je 0x140021b61
xor byte [r10], 0x34
xor byte [r10 + 1], 0x35
xor byte [r10 + 2], 0x36
xor byte [r10 + 3], 0x37
xor byte [r10 + 4], 0x38
xor al, 0x39
mov byte [r10 + 5], al
lea rdx, [rsp + 0x30]
call fcn.140021d30
mov r11, rax
cmp byte [rax + 0x20], 0
je 0x140021d0c
cmp dword [0x1401798c0], 2
jl 0x140021cd4
movdqa xmm5, xmmword [0x1400b0940]
movdqa xmm4, xmmword [0x1400b0990]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x1400b0960]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rsp + 0x20], xmm0
mov rcx, r11
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ebx
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400b0970]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x140021bd0
cmp eax, 0x21
jge 0x140021d0c
movsxd r8, ebx
add r8, r11
nop word [rax + rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x34
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x21
jl 0x140021ce0
xor r9d, r9d
mov r8, r10
mov rdx, r11
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3