Function at 0x14005c770
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 [0x1401ae6f8]
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.140098c80
nop
mov r9, qword [rsp + 0x78]
mov r8, qword [rbp - 0x80]
cmp r9, r8
jne 0x14005c9bf
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.14005d180
mov r9, rax
cmp byte [rax + 0x13], 0
je 0x14005c98c
xor ebx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14005c950
movdqa xmm5, xmmword [0x1401906d0]
movdqa xmm4, xmmword [0x1401909a0]
mov r13d, 4
movd xmm6, r13d
movdqa xmm7, xmmword [0x140190720]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x140190920]
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
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 [0x1401908d0]
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
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 [0x1401908d0]
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 0x14005c850
cmp eax, 0x14
jge 0x14005c98c
movsxd r8, ebx
add r8, r9
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, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x14
jl 0x14005c960
mov rdx, r9
mov rcx, r10
call fcn.1400799c0
mov dword [rsp + 0x28], 0x5dc
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.14000d060
mov rcx, rax
call fcn.14000d070
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 rdi, 0xe38e38e38e38e39
mov rax, rdi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jne 0x14005c9f1
mov rcx, qword [r9]
jmp 0x14005d0c7
xor ebx, ebx
mov word [rsp + 0x70], bx
movzx r15d, bx
lea r13d, [rbx + 4]
lea r14d, [rbx + 0x1f]
mov r12d, dword [reloc.WS2_32.dll_accept]
nop dword [rax + rax]
mov esi, ebx
sub r8, r9
mov rax, rdi
imul r8
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14005cb53
mov rdi, rbx
movabs r13, 0xe38e38e38e38e39
nop dword [rax]
mov r8d, 0x100
lea rdx, [rbp - 0x70]
mov rcx, qword [r9 + rdi]
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 [0x140187c88]
mov word [rsp + 0x20], cx
movzx ecx, byte [0x140187c8a]
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x21], 0x37
xor cl, 0x38
mov byte [rsp + 0x22], cl
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400799c0
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 0x14005cac0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140016190
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.140016710
lea rdx, [0x140079b90]
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.14000d000
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 0x14005ca40
movabs rdi, 0xe38e38e38e38e39
mov r13d, 4
lea r14d, [r13 + 0x1b]
movups xmm0, xmmword [0x140186940]
movups xmmword [rsp + 0x40], xmm0
movzx eax, byte [0x140186950]
mov byte [rsp + 0x50], al
mov ecx, ebx
cmp r12d, 2
jl 0x14005ccb0
movdqa xmm5, xmmword [0x1401906d0]
movdqa xmm4, xmmword [0x1401909a0]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140190720]
movd xmm8, r14d
movdqa xmm0, xmmword [0x140190920]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x44]
mov r8d, dword [rsp + 0x60]
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
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 [0x1401908d0]
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
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 [0x1401908d0]
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 0x14005cbb0
cmp ecx, 0x11
jge 0x14005ccec
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax + rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x14005ccc0
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.1400799c0
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 0x14005cd60
mov r8, qword [rbp - 0x80]
mov rcx, r8
mov r9, qword [rsp + 0x78]
sub rcx, r9
mov rax, rdi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movzx ecx, word [rsp + 0x70]
cmp rcx, rdx
ja 0x14005cd60
cmp ecx, 1
jae 0x14005d0b2
movsd xmm0, qword [0x140187058]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [str.wQ046C]
mov dword [rsp + 0x38], eax
movzx eax, word [0x140187064]
mov word [rsp + 0x3c], ax
cmp byte [0x140187065], 0
je 0x14005cedc
mov ecx, ebx
cmp r12d, 2
jl 0x14005cea4
movdqa xmm4, xmmword [0x1401909a0]
movd xmm6, r13d
movd xmm5, r14d
movdqa xmm2, xmmword [0x1401906d0]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140190720]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
mov eax, dword [0x140190920]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140187058]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1401906e0]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140190720]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
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
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x14005ceb0
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.1400799c0
lea rdx, [0x140079b90]
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
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14005cf20
imul rax, rax, 0x64
jmp 0x14005cf3b
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
movabs rcx, 0x7fffffffe2329aff
cmp rax, rcx
jge 0x14005cf52
add rax, 0x1dcd6500
jmp 0x14005cf5c
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.14000d1a0
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.U_K9]
mov dword [rsp + 0x28], eax
cmp byte [reloc.WS2_32.dll_gethostname], 0
je 0x14005d080
cmp r12d, 2
jl 0x14005d046
movdqa xmm3, xmmword [0x1401906d0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401909a0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401909a0]
shufps xmm2, xmm0, 0xdd
movd xmm0, r13d
psrad xmm2, xmm0
movd xmm0, r14d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140190720]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140190920]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
jmp 0x14005d080
lea r9, [rsp + 0x28]
mov r8d, ebx
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14005d050
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
inc r15w
cmp r15w, 3
jae 0x14005d15e
mov r8, qword [rbp - 0x80]
mov r9, qword [rsp + 0x78]
movzx ecx, word [rsp + 0x70]
movabs rdi, 0xe38e38e38e38e39
cmp bx, cx
je 0x14005ca10
movzx eax, cx
lea rcx, [rax + rax*8]
mov rcx, qword [r9 + rcx*8 - 0x48]
mov qword [0x1401cb168], rcx
lea rdx, [0x1401cb740]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [0x1401cb740]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1401cb138], rax
test rax, rax
je 0x14005d167
cmp dword [0x1401cb740], 0
je 0x14005d167
cmp qword [0x1401cb168], 0
je 0x14005d167
mov byte [0x1401cb150], 1
lea rcx, [rsp + 0x78]
call fcn.140075fc0
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140127920
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 [0x1401903dc]
call fcn.140097df0
int3