Function at 0x140004460
Capabilities:
Create thread
Encode data using xor

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 - 0x38]
sub rsp, 0x110
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14017f840]
xor rax, rsp
mov qword [rbp - 0x20], rax
xor r13d, r13d
mov ecx, 8
call fcn.1400cb348
lea rcx, [0x140002b30]
mov qword [rax], rcx
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140005d20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140004a9f
call fcn.140003660
movups xmm0, xmmword [0x140145e80]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x140145e90]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x140145ea0]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x140145eb0]
movups xmmword [rsp + 0x60], xmm1
movzx eax, word [0x140145ec0]
mov word [rsp + 0x70], ax
movzx eax, byte [0x140145ec2]
mov byte [rsp + 0x72], al
mov ecx, r13d
movdqa xmm7, xmmword [0x140145f90]
mov r12d, dword [reloc.WS2_32.dll_accept]
cmp r12d, 2
jl 0x140004664
movdqa xmm5, xmmword [0x140145f70]
movdqa xmm4, xmmword [0x140145fb0]
movdqa xmm6, xmmword [str.2222]
movdqa xmm0, xmmword [0x140145fa0]
movdqa xmmword [rbp - 0x40], xmm0
lea rdx, [rsp + 0x30]
mov r8d, dword [rbp - 0x40]
nop dword [rax]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], 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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm3, xmm0
movd dword [rdx + 4], xmm3
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x140004580
cmp ecx, 0x43
jge 0x14000469c
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, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x43
jl 0x140004670
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400046c0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140001560
nop
lea rbx, [rbp - 0x80]
mov rsi, qword [rbp - 0x80]
mov r15, qword [rbp - 0x68]
cmp r15, 0xf
cmova rbx, rsi
lea rcx, [rbp - 0x80]
cmova rcx, rsi
mov r14, qword [rbp - 0x70]
add r14, rcx
cmp rbx, r14
je 0x140004740
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohl
nop dword [rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004eb0
lea rdx, [0x140005080]
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]
lea rcx, [rbp - 0x40]
call fcn.140004d10
inc rbx
cmp rbx, r14
jne 0x140004710
cmp r15, 0xf
jbe 0x140004777
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000476f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004a2b
mov rcx, rsi
call fcn.1400cb340
call fcn.140003660
cmp dword [rbp - 0x28], 0
je 0x140004a93
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140004a93
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
call fcn.140003660
call fcn.140003660
mov ecx, 0xd9a
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140003660
call fcn.140003660
movups xmm0, xmmword [0x140145e08]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x140145e18]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x140145e28]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x140145e38]
mov dword [rsp + 0x60], eax
movzx eax, word [0x140145e3c]
mov word [rsp + 0x64], ax
mov r8d, r13d
cmp r12d, 2
jl 0x140004927
movdqa xmm5, xmmword [0x140145f70]
movdqa xmm4, xmmword [0x140145fb0]
movdqa xmm6, xmmword [str.2222]
movdqa xmm0, xmmword [0x140145fa0]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x30]
mov edx, dword [rbp - 0x40]
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
andps xmm2, xmm7
packuswb xmm2, xmm2
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
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm3, xmm0
movd dword [rcx + 4], xmm3
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x140004840
cmp r8d, 0x36
jge 0x140004970
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
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, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x36
jl 0x140004940
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
lea rax, [rsp + 0x30]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140004984
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140001560
nop
lea rbx, [rbp - 0x60]
mov rdi, qword [rbp - 0x60]
mov r14, qword [rbp - 0x48]
cmp r14, 0xf
cmova rbx, rdi
lea rcx, [rbp - 0x60]
cmova rcx, rdi
mov rsi, qword [rbp - 0x50]
add rsi, rcx
cmp rbx, rsi
je 0x140004a00
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohl
nop
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004eb0
lea rdx, [0x140005080]
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]
lea rcx, [rbp - 0x40]
call fcn.140004d10
inc rbx
cmp rbx, rsi
jne 0x1400049d0
cmp r14, 0xf
jbe 0x140004a3a
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140004a32
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400cb340
call fcn.140002ea0
cmp dword [rbp - 0x28], 0
je 0x140004a93
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140004a93
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400cb320
lea r11, [rsp + 0x110]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x28], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3