Function at 0x140065df0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x268]
sub rsp, 0x360
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1401e9060]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov ecx, 3
call qword [0x1401ce0f0]
call qword [fcn.1400af450]
mov rsi, rax
test rax, rax
je 0x1400669c6
movdqa xmm0, xmmword [0x1401ccd80]
mov dword [rbp + 0x150], 0x98c8ad0f
mov dword [rbp + 0x154], 0x4a22d366
mov dword [rbp + 0x158], 0x88cbee11
mov word [rbp + 0x15c], 0xc968
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x2388
mov eax, dword [rcx + rdi]
mov ebx, 0x28d0
test al, 1
jne 0x140065f26
or eax, 1
mov dword [rcx + rdi], eax
lea rcx, [rdi + rbx]
mov byte [rcx + 0x1f], 1
lea rax, [rcx + 0x1e]
lea rdx, [rbp + 0x15e]
cmp rcx, rdx
ja 0x140065ef1
lea rdx, [rbp + 0x140]
cmp rax, rdx
jb 0x140065ef1
movups xmmword [rcx], xmm0
movsd xmm0, qword [rbp + 0x150]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rbp + 0x158]
mov dword [rcx + 0x18], eax
movzx eax, word [rbp + 0x15c]
mov word [rcx + 0x1c], ax
mov byte [rcx + 0x1e], 0x4b
jmp 0x140065f19
movups xmmword [rcx], xmm0
movsd xmm0, qword [rbp + 0x150]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rbp + 0x158]
mov dword [rcx + 0x18], eax
movzx eax, word [rbp + 0x15c]
mov word [rcx + 0x1c], ax
mov byte [rcx + 0x1e], 0x4b
lea rcx, [0x14010a480]
call fcn.1400fcdbc
nop
lea rdx, [rdi + rbx]
xor r14d, r14d
cmp byte [rdx + 0x1f], r14b
je 0x140065f61
mov r8d, r14d
movabs r9, 0x254ba707fba1c17f
movzx ecx, r8b
and cl, 7
shl cl, 3
mov rax, r9
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x1f
jb 0x140065f40
mov byte [rdx + 0x1f], r14b
xor ecx, ecx
call qword [fcn.1400b30f0]
mov rdi, rax
mov dword [rsp + 0x20], 0x40424c76
mov dword [rsp + 0x24], 0x52455e57
mov dword [rsp + 0x28], 0x1005a5a
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0xa
jb 0x140065f90
mov byte [rsp + 0x2b], r14b
mov qword [rbp + 0x1c0], r14
movdqa xmm0, xmmword [0x1401cb6b0]
movdqu xmmword [rbp + 0x1d0], xmm0
mov byte [rbp + 0x1c0], 0
mov r8d, 0xa
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1c0]
call fcn.140092f40
nop
mov qword [rbp + 0x160], r14
movdqa xmm0, xmmword [0x1401cb6b0]
movdqu xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x160], 0
lea rdx, [0x140210808]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140066010
lea rcx, [rbp + 0x160]
call fcn.140092f40
nop
mov dword [rsp + 0x20], 0x58544c62
mov dword [rsp + 0x24], 0x120b51
mov byte [rsp + 0x28], 1
mov rcx, r14
nop
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 7
jb 0x140066040
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x20]
mov r9, rbx
nop dword [rax]
inc r9
cmp byte [rax + r9], 0
jne 0x140066060
lea r8, [rsp + 0x20]
lea rcx, [rbp + 0x160]
call fcn.140096b20
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x160]
call fcn.140092cd0
mov qword [rsp + 0x40], r14
movdqa xmm0, xmmword [0x1401cb6b0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rdx, [0x140210868]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400660d0
lea rcx, [rsp + 0x40]
call fcn.140092f40
nop
mov dword [rsp + 0x20], 0x435d4c64
mov dword [rsp + 0x24], 0x120b5f
mov byte [rsp + 0x28], 1
mov rcx, r14
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 7
jb 0x140066100
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x20]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140066120
mov r9, rbx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140096b20
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x40]
call fcn.140092cd0
mov dword [rsp + 0x20], 0xf147d65
mov word [rsp + 0x24], 0x100
mov rcx, r14
nop dword [rax + rax]
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 4
jb 0x140066180
mov byte [rsp + 0x25], 0
lea r8, [0x1402112a0]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1a0]
call fcn.140093f70
nop
mov dword [rsp + 0x20], 0x6b677a64
mov dword [rsp + 0x24], 0x100110a
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x1400661d0
mov byte [rsp + 0x27], 0
lea r8, [0x1402112c0]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x200]
call fcn.140093f70
nop
movdqa xmm0, xmmword [0x1401cba10]
movdqu xmmword [rbp + 0x140], xmm0
mov dword [rbp + 0x150], 0x436041
mov byte [rbp + 0x154], 1
mov dword [rsp + 0x30], 0x1004370
mov dword [rsp + 0x20], 0x1004370
mov dword [rsp + 0x38], 0x1004370
mov dword [rsp + 0x34], 0x1004370
movdqa xmm0, xmmword [0x1401cb850]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x1001f1c
movups xmm0, xmmword [0x1401c94e8]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [0x1401c94f8]
movups xmmword [rbp - 0x78], xmm1
movsd xmm0, qword [0x1401c9508]
movsd qword [rbp - 0x68], xmm0
mov r8d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400663d9
movdqa xmm5, xmmword [0x1401cb700]
mov edx, r14d
movdqa xmm4, xmmword [0x1401cd5c0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1401cb720]
mov eax, Ordinal_32
movd xmm8, eax
movdqa xmm0, xmmword [0x1401cc150]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rsp + 0x7c]
mov r8d, dword [rbp - 0x20]
nop dword [rax]
movd xmm2, edx
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
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x1401cb840]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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
paddd xmm1, xmm3
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
pand xmm2, xmmword [0x1401cb840]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x28
jl 0x1400662d0
jmp 0x140066409
lea r9, [rsp + 0x78]
nop
mov eax, 0xa0a0a0a1
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x28
jl 0x1400663e0
lea r8, [rbp + 0x1c0]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x120]
call fcn.140093f70
mov rbx, rax
cmp byte [rsp + 0x73], 0
je 0x140066445
mov rcx, r14
nop
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x12
jb 0x140066430
mov byte [rsp + 0x73], 0
mov qword [rsp + 0x40], r14
movdqa xmm0, xmmword [0x1401cb6b0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov r8d, reloc.WS2_32.dll_select
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140092f40
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140066481
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.140096b20
mov qword [rbp + 0x40], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x40]
call fcn.140092cd0
nop
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 0x10
cmovae rdx, qword [rbp + 0x180]
mov r8, qword [rbp + 0x190]
lea rcx, [rbp + 0x40]
call fcn.140090b30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
cmp byte [rsp + 0x37], 0
je 0x140066535
mov rcx, r14
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x34], al
inc rcx
cmp rcx, 2
jb 0x140066520
mov byte [rsp + 0x37], 0
mov qword [rbp - 0x60], r14
movdqa xmm0, xmmword [0x1401cb6b0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov r8d, 2
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x60]
call fcn.140092f40
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140096b20
mov qword [rbp + 0x20], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x60]
call fcn.140092cd0
nop
lea rdx, [rbp + 0x160]
cmp qword [rbp + 0x178], 0x10
cmovae rdx, qword [rbp + 0x160]
mov r8, qword [rbp + 0x170]
lea rcx, [rbp + 0x20]
call fcn.140090b30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
cmp byte [rsp + 0x3b], 0
je 0x140066625
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 2
jb 0x140066610
mov byte [rsp + 0x3b], 0
mov qword [rbp - 0x40], r14
movdqa xmm0, xmmword [0x1401cb6b0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov r8d, 2
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.140092f40
nop
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x50]
lea rcx, [rbp - 0x40]
call fcn.140096b20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x40]
call fcn.140092cd0
nop
cmp byte [rsp + 0x23], 0
je 0x1400666b5
mov rcx, r14
nop dword [rax]
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 2
jb 0x1400666a0
mov byte [rsp + 0x23], 0
mov qword [rsp + 0x78], r14
movdqa xmm0, xmmword [0x1401cb6b0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov r8d, 2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.140092f40
nop
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x10]
lea rcx, [rsp + 0x78]
call fcn.140096b20
mov qword [rbp], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x78]
call fcn.140092cd0
nop
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
cmovae rdx, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x1b0]
lea rcx, [rbp]
call fcn.140090b30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
cmp byte [rsp + 0x33], 0
je 0x1400667a5
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 2
jb 0x140066790
mov byte [rsp + 0x33], 0
mov qword [rsp + 0x78], r14
movdqa xmm0, xmmword [0x1401cb6b0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
lea r8, [rsp + 0x32]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.1400962b0
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xe0]
call fcn.140093a10
nop
lea rcx, [rsp + 0x78]
call fcn.140092cd0
nop
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x100]
call fcn.140093a70
nop
lea r8, [rbp + 0x140]
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.140066a10
nop
lea rcx, [rbp + 0x100]
call fcn.140092cd0
nop
lea rcx, [rbp + 0xe0]
call fcn.140092cd0
nop
lea rcx, [rbp - 0x40]
call fcn.140092cd0
nop
lea rcx, [rbp]
call fcn.140092cd0
nop
lea rcx, [rbp - 0x20]
call fcn.140092cd0
nop
lea rcx, [rbp - 0x60]
call fcn.140092cd0
nop
lea rcx, [rbp + 0x20]
call fcn.140092cd0
nop
lea rcx, [rsp + 0x40]
call fcn.140092cd0
nop
lea rcx, [rbp + 0x40]
call fcn.140092cd0
nop
lea rcx, [rbp + 0x120]
call fcn.140092cd0
movdqa xmm0, xmmword [0x1401cbbf0]
movdqu xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x1401cc290]
movdqu xmmword [rbp + 0x70], xmm1
movdqa xmm0, xmmword [0x1401cd000]
movdqu xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1401cce90]
movdqu xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [str.e__]
movdqu xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [str.ILN_v]
movdqu xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1401cdb90]
movdqu xmmword [rbp + 0xc0], xmm0
mov dword [rbp + 0xd0], 0xcff1f9c6
mov dword [rbp + 0xd4], 0x9bc4f8f8
mov word [rbp + 0xd8], 0xc9
mov byte [rbp + 0xda], 1
lea rcx, [rbp + 0x60]
call fcn.140057880
mov r8, rax
mov edx, 0x2712
mov rcx, rsi
call qword [str.P0_v_]
lea rcx, [rbp + 0x1e0]
call fcn.140090b20
mov r8, rax
mov edx, 0x271f
mov rcx, rsi
call qword [str.P0_v_]
mov r8, rdi
mov edx, 0x2727
mov rcx, rsi
call qword [str.P0_v_]
mov rcx, rsi
call qword [fcn.1400af510]
mov rcx, rsi
call qword [0x1401ce0d0]
lea rcx, [rbp + 0x1e0]
call fcn.140092cd0
nop
lea rcx, [rbp + 0x200]
call fcn.140092cd0
nop
lea rcx, [rbp + 0x1a0]
call fcn.140092cd0
nop
lea rcx, [rbp + 0x160]
call fcn.140092cd0
nop
lea rcx, [rbp + 0x180]
call fcn.140092cd0
nop
lea rcx, [rbp + 0x1c0]
call fcn.140092cd0
call qword [0x1401ce0e8]
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400fcc80
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret