Function at 0x1400499d0
Capabilities:
Create thread
Encode data using xor
Execute command
Get common file path
Set console window title
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x370
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14013d080]
xor rax, rsp
mov qword [rbp + 0x250], rax
xor ebx, ebx
lea rcx, [0x1401899f0]
call fcn.1400a66a0
mov eax, dword [0x140118880]
mov dword [rbp - 0x50], eax
movzx eax, word [0x140118884]
mov word [rbp - 0x4c], ax
mov byte [rbp - 0x50], reloc.WLDAP32.dll_Ordinal_46
xor byte [rbp - 0x4f], 0x32
xor byte [rbp - 0x4e], 0x33
xor byte [rbp - 0x4d], 0x34
xor al, 0x35
mov byte [rbp - 0x4c], al
xor byte [rbp - 0x4b], 0x36
lea rcx, [rbp - 0x50]
call fcn.1400495f0
test al, al
jne 0x14004a6a6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14004a6a6
lea ecx, [rbx + 8]
call fcn.1400fab38
lea rcx, [0x140049870]
mov qword [rax], rcx
mov qword [rbp - 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004d860]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14004a696
cmp dword [rsp + 0x48], ebx
je 0x14004a68a
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004a68a
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rsi, rax
lea edx, [rbx - 0x10]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffaffff
mov r8d, eax
lea edx, [rbx - 0x10]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea rdx, [0x140189940]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x140189948]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x14018994c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9d, eax
mov r8d, edi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rcx, str.color_B
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x60]
call fcn.1400498e0
nop
lea r8d, [rbx + 4]
lea rdx, str..exe
mov rcx, rax
call fcn.1400053d0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea rcx, [rsp + 0x60]
call fcn.140005900
lea rcx, [rbp - 0x78]
call fcn.1400498e0
cmp qword [rax + 0x18], 0xf
jbe 0x140049bc7
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rbp - 0x78]
call fcn.140005900
lea rcx, [0x140118b20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140118b20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x78]
call fcn.1400498e0
cmp qword [rax + 0x18], 0xf
jbe 0x140049c11
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rbp - 0x78]
call fcn.140005900
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
movups xmm0, xmmword [0x140118a00]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x140118a10]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x140118a18]
mov word [rsp + 0x58], ax
movzx eax, byte [0x140118a1a]
mov byte [rsp + 0x5a], al
mov r8d, ebx
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp r14d, 2
jl 0x140049db5
movdqa xmm5, xmmword [0x140123cb0]
movdqa xmm4, xmmword [0x140124080]
movdqa xmm6, xmmword [str.5555]
movdqa xmm0, xmmword [0x140123dd0]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rsp + 0x40]
mov edx, dword [rbp - 0x50]
nop dword [rax]
movd xmm2, r8d
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, 4
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
andps xmm2, xmmword [0x140123d60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140123d60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140049cb0
cmp r8d, 0x1b
jge 0x140049df0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1b
jl 0x140049dc0
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.14004c050
lea rdx, [rbp]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14004c220
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.140005530
mov rdx, rax
lea rcx, [0x1401899f0]
call fcn.1400a8130
lea rcx, [0x140118b20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x140118988]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x140118998]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x1401189a0]
mov word [rsp + 0x58], ax
cmp byte [0x1401189a1], 0
jmp 0x140049fec
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.14004c050
mov rcx, rax
lea rdx, [0x14011662c]
call fcn.14004c050
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140118b20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x140189c00], 0
jmp 0x14004a031
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x14004a0bf
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14004a070
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.14004c5b0
nop
lea rcx, [rbp - 0x20]
mov rax, qword [rbp - 0x10]
cmp qword [rbp - 8], 7
jbe 0x14004a0a2
mov rdx, qword [rbp - 0x20]
lea r8, [rdx + rax*2]
jmp 0x14004a0aa
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.14004bc80
nop
lea rcx, [rbp - 0x20]
call fcn.14004b9a0
jmp 0x14004a0df
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
xor r8d, r8d
lea rdx, [0x14010e9f8]
lea rcx, [rbp - 0x40]
call fcn.1400022c0
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 8
jb 0x14004a6b5
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 8
lea r15, str.Clonaze
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call fcn.14004cdd0
nop
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rax, qword [rbp - 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x48], rax
call fcn.1400f9e70
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140048a90
nop
lea rcx, [rsp + 0x60]
call fcn.1400491c0
movzx edi, al
lea rcx, [rsp + 0x60]
call fcn.14004b9a0
nop
lea rcx, [rbp - 0x78]
call fcn.140005900
test dil, dil
jne 0x14004a24f
mov rax, rsi
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 8
jb 0x14004a6bb
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004cdd0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
call fcn.1400f9e70
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140048a90
nop
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
call fcn.1400fa0d0
mov qword [rbp - 0x50], rax
shr rax, 0x20
test eax, eax
jne 0x14004a6c1
lea rcx, [rbp - 0x78]
call fcn.14004b9a0
nop
lea rcx, [rsp + 0x60]
call fcn.140005900
mov rax, rsi
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 0x10
jb 0x14004a6d4
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recv
lea r15, str.Clonazeconfigs
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.14004cdd0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
call fcn.1400f9e70
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140048a90
nop
lea rcx, [rbp - 0x78]
call fcn.1400491c0
movzx edi, al
lea rcx, [rbp - 0x78]
call fcn.14004b9a0
nop
lea rcx, [rsp + 0x60]
call fcn.140005900
test dil, dil
jne 0x14004a3b5
mov rax, qword [rbp - 0x30]
sub rsi, rax
cmp rsi, 0x10
jb 0x14004a6da
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.14004cdd0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
call fcn.1400f9e70
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140048a90
nop
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
call fcn.1400fa0d0
mov qword [rbp - 0x50], rax
shr rax, 0x20
test eax, eax
jne 0x14004a6e0
lea rcx, [rbp - 0x78]
call fcn.14004b9a0
nop
lea rcx, [rsp + 0x60]
call fcn.140005900
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140118b20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140053c00
movups xmm0, xmmword [str.jf_AGCPQd]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x140118a40]
movups xmmword [rsp + 0x70], xmm1
movzx eax, word [0x140118a50]
mov word [rbp - 0x80], ax
cmp r14d, 2
jl 0x14004a532
movdqa xmm5, xmmword [0x140123cb0]
movdqa xmm4, xmmword [0x140124080]
movdqa xmm6, xmmword [str.5555]
movdqa xmm0, xmmword [0x140123dd0]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rsp + 0x60]
mov edx, dword [rbp - 0x50]
nop dword [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, 4
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
andps xmm2, xmmword [0x140123d60]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140123d60]
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, 0x20
jl 0x14004a430
cmp eax, 0x22
jge 0x14004a56c
movsxd rax, ebx
lea r8, [rsp + 0x60]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
sub al, cl
add al, 0x31
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x22
jl 0x14004a540
lea rcx, [rsp + 0x60]
call fcn.1400482b0
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:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, [rbp - 0x40]
call fcn.140005900
nop
lea rcx, [rbp]
call fcn.140005900
nop
lea rcx, [rbp + 0x20]
call fcn.140005900
xor eax, eax
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400fa9f0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140002240
nop
call fcn.140002240
int3
call fcn.140002240
nop
lea r8, [rbp - 0x78]
mov edx, eax
lea rcx, str.create_directory
call fcn.1400490f0
nop
call fcn.140002240
int3
call fcn.140002240
nop
lea r8, [rbp - 0x78]
mov edx, eax
lea rcx, str.create_directory
call fcn.1400490f0
int3