Function at 0x1400790c0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14020b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x1401f8440]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
mov rdi, rcx
movups xmm0, xmmword [str.uWR__rEWIsOYPn__]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1401f8444]
mov word [rsp + 0x54], ax
movzx eax, byte [0x1401f8446]
mov byte [rsp + 0x56], al
movups xmmword [rsp + 0x40], xmm0
jl 0x14007929c
movdqa xmm0, xmmword [0x1401f8ac0]
lea rcx, [r11 - 0x54]
movdqa xmm5, xmmword [0x1401f89d0]
mov eax, 4
movdqa xmm4, xmmword [0x1401f8ed0]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x1401f89f0]
movd xmm6, eax
mov eax, Ordinal_33
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 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 [0x1401f8a20]
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 [0x1401f8a20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140079180
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x17
jge 0x1400792e3
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x17
jl 0x1400792b0
mov rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x1400792f2
cmp qword [rdi + 0x20], 0x10
lea rsi, [rdi + 8]
mov rbp, qword [rdi + 0x18]
mov rcx, rsi
jb 0x140079310
mov rcx, qword [rsi]
cmp rbp, rax
jne 0x140079326
mov r8, rbp
lea rdx, [rsp + 0x40]
call fcn.14013f970
test eax, eax
je 0x14007937c
cmp byte [reloc.WLDAP32.dll_Ordinal_50], 0
movzx eax, word [0x1401f40f8]
mov word [rsp + 0x20], ax
je 0x140079345
xor byte [rsp + 0x21], 0x32
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_35
lea rax, [rsp + 0x20]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140079350
cmp qword [rdi + 0x20], 0x10
jb 0x140079363
mov rsi, qword [rsi]
cmp rbp, rbx
jne 0x14007939c
mov r8, rbp
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14013f970
test eax, eax
jne 0x14007939c
mov rcx, rdi
call fcn.140089e00
mov rcx, qword [rdi]
mov edx, reloc.WS2_32.dll_recv
mov qword [rdi], 0
call fcn.14008c9e0
mov al, 1
jmp 0x1400793ba
mov rcx, rdi
call fcn.140089e00
mov rcx, qword [rdi]
mov edx, reloc.WS2_32.dll_recv
mov qword [rdi], 0
call fcn.14008c9e0
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008db20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret