Function at 0x14005cd50
Capabilities:
Encode data using xor
Execute command
Get graphical window text
Terminate process

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 - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1401b06f8]
xor rax, rsp
mov qword [rbp + 0x90], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.140099de0
nop
mov r9, qword [rsp + 0x78]
mov r8, qword [rbp - 0x80]
cmp r9, r8
jne 0x14005cfa1
mov r10, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x40]
call fcn.14005d820
mov r9, rax
cmp byte [rax + 0x13], 0
je 0x14005cf6e
xor ebx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14005cf38
movdqa xmm5, xmmword [0x140192830]
movdqa xmm4, xmmword [0x140192b20]
mov r13d, 5
movd xmm6, r13d
movdqa xmm7, xmmword [0x1401928f0]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x140192a30]
movdqa xmmword [rsp + 0x60], xmm0
mov rcx, r9
mov edx, dword [rsp + 0x60]
nop
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
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps 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
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x14005ce30
cmp eax, 0x14
jge 0x14005cf6e
movsxd r8, ebx
add r8, r9
nop
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x14
jl 0x14005cf40
mov rdx, r9
mov rcx, r10
call fcn.14007aa70
mov dword [rsp + 0x28], 0x5dc
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000d280
mov rcx, rax
call fcn.14000d290
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, r8
sub rcx, r9
movabs r14, 0xe38e38e38e38e39
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xor ebx, ebx
lea edi, [rbx + 0x1f]
lea r13d, [rbx + 5]
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp rdx, 1
jne 0x14005cfe3
mov rcx, qword [r9]
jmp 0x14005d670
mov word [rsp + 0x70], bx
movzx r12d, bx
nop dword [rax]
mov esi, ebx
sub r8, r9
mov rax, r14
imul r8
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14005d132
mov rdi, rbx
movabs r13, 0xe38e38e38e38e39
nop dword [rax]
mov r8d, 0x100
lea rdx, [rbp - 0x70]
mov rcx, qword [rdi + r9]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [rsi + 1]
movsxd rsi, edx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
movzx ecx, word [0x140189fc4]
mov word [rsp + 0x20], cx
movzx ecx, byte [0x140189fc6]
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x21], 0x32
xor cl, 0x33
mov byte [rsp + 0x22], cl
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14007aa70
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005d0a0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140016340
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, r14
call fcn.1400168c0
lea rdx, [0x14007ac40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x40]
call fcn.14000d220
add rdi, 0x48
mov rcx, qword [rbp - 0x80]
mov r9, qword [rsp + 0x78]
sub rcx, r9
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x14005d020
mov edi, Ordinal_33
lea r13d, [rdi - 0x1a]
movabs r14, 0xe38e38e38e38e39
movups xmm0, xmmword [str.bW_QVB]
movups xmmword [rsp + 0x40], xmm0
movzx eax, byte [0x140189b70]
mov byte [rsp + 0x50], al
mov ecx, ebx
cmp r15d, 2
jl 0x14005d298
movdqa xmm5, xmmword [0x140192830]
movdqa xmm4, xmmword [0x140192b20]
movd xmm6, r13d
movdqa xmm7, xmmword [0x1401928f0]
movd xmm8, edi
movdqa xmm0, xmmword [0x140192a30]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x44]
mov r8d, dword [rsp + 0x60]
nop
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, 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
andps xmm2, xmmword [0x140192a00]
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 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
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x140192a00]
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, 0x10
jl 0x14005d190
cmp ecx, 0x11
jge 0x14005d2de
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x14005d2b0
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007aa70
lea rdx, [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64____ptr64]
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
jne 0x14005d352
mov r8, qword [rbp - 0x80]
mov rcx, r8
mov r9, qword [rsp + 0x78]
sub rcx, r9
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movzx ecx, word [rsp + 0x70]
cmp rcx, rdx
ja 0x14005d352
cmp ecx, 1
jae 0x14005d65b
movsd xmm0, qword [str.xEUY_S]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [str.pTKII_]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1401889cc]
mov word [rsp + 0x3c], ax
cmp byte [0x1401889cd], 0
je 0x14005d4de
mov ecx, ebx
cmp r15d, 2
jl 0x14005d49d
movdqa xmm4, xmmword [0x140192b20]
movd xmm6, r13d
movd xmm5, edi
movdqa xmm2, xmmword [0x140192830]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401928f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
mov eax, dword [0x140192a30]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.xEUY_S]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140192840]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401928f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x14005d4b0
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007aa70
lea rdx, [0x14007ac40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov word [rsp + 0x70], bx
mov qword [rsp + 0x28], 0x1f4
lea rcx, [rsp + 0x28]
call fcn.14000d290
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
mov edx, 0x7fffffff
mov r8d, 0xa
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::ignore_long_long___int64___int____ptr64]
mov eax, dword [str.R_4USGU5]
mov dword [rsp + 0x28], eax
cmp byte [0x14018890f], 0
je 0x14005d633
cmp r15d, 2
jl 0x14005d5f5
movdqa xmm3, xmmword [0x140192830]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140192b20]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140192b20]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r13d
psrad xmm2, xmm0
movd xmm0, edi
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1401928f0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140192a30]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
jmp 0x14005d633
lea r9, [rsp + 0x28]
mov r8d, ebx
nop dword [rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14005d600
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
inc r12w
cmp r12w, 3
jae 0x14005d803
mov r8, qword [rbp - 0x80]
mov r9, qword [rsp + 0x78]
movzx ecx, word [rsp + 0x70]
cmp bx, cx
je 0x14005cff0
movzx eax, cx
lea rcx, [rax + rax*8]
mov rcx, qword [r9 + rcx*8 - 0x48]
mov qword [0x1401cd178], rcx
lea rdx, [0x1401cd750]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [0x1401cd750]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1401cd148], rax
test rax, rax
je 0x14005d80c
cmp dword [0x1401cd750], 0
je 0x14005d80c
cmp qword [0x1401cd178], 0
je 0x14005d80c
mov byte [0x1401cd160], 1
mov eax, dword [str.R_4USGU5]
mov dword [rsp + 0x28], eax
cmp byte [0x14018890f], 0
je 0x14005d7ae
cmp r15d, 2
jl 0x14005d774
movdqa xmm3, xmmword [0x140192830]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140192b20]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140192b20]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r13d
psrad xmm2, xmm0
movd xmm0, edi
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1401928f0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140192a30]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
jmp 0x14005d7ae
lea r8, [rsp + 0x28]
nop dword [rax]
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 4
jl 0x14005d780
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, [rsp + 0x78]
call fcn.140077070
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1401292a0
lea r11, [rsp + 0x1d0]
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]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movss xmm0, dword [0x14019253c]
call fcn.140098f80
int3