Function at 0x1400244c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x140480c38]
xor rax, rsp
mov qword [rsp + 0x60], rax
movsd xmm0, qword [0x1401ffc08]
lea rax, [rsp + 0x50]
mov esi, dword [reloc.WS2_32.dll_accept]
xor ebx, ebx
mov qword [rsp + 0x40], rax
mov r8d, ebx
mov eax, dword [0x1401ffc10]
mov dword [rsp + 0x58], eax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_60]
lea ebp, [rbx + 1]
mov byte [rsp + 0x5c], al
lea r14d, [rbx + 0x1f]
movsd qword [rsp + 0x50], xmm0
cmp esi, 2
jl 0x140024645
movdqa xmm2, xmmword [0x140201780]
mov r8d, 8
movdqa xmm4, xmmword [0x1402017c0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140201790]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ebp
movd xmm5, r14d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1402017a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1401ffc08]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1402017d0]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x50], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1402017a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x54]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1402017d0]
pxor xmm2, xmm0
movd dword [rsp + 0x54], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140024650
lea rax, [rsp + 0x50]
mov rdi, rbx
mov qword [rsp + 0x48], rax
nop dword [rax]
mov rcx, qword [rsp + rdi*8 + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov r8d, ebp
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x1400246cf
inc rdi
cmp rdi, 2
jl 0x140024690
jmp 0x14002488d
movups xmm0, xmmword [str.tC_EQG]
movups xmmword [rsp + 0x50], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14002486c
cmp esi, 2
jl 0x140024831
movdqa xmm0, xmmword [0x1402017d0]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140201780]
movdqa xmm4, xmmword [0x1402017c0]
movdqa xmm7, xmmword [0x1402017a0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm6, ebp
movd xmm8, r14d
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140024730
jmp 0x14002486c
lea r8, [rsp + 0x50]
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, bl
inc ebx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x10
jl 0x140024840
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x50]
call fcn.140003780
lea rdx, [0x140006b40]
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 rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b7590
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
ret