Function at 0x1800df500
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x138]
sub rsp, 0x230
mov rax, qword [0x180249a80]
xor rax, rsp
mov qword [rbp + 0x60], rax
cmp byte [0x18024912c], 0
je 0x1800dfd9f
mov qword [r11 - 0x10], r12
lea rcx, [rbp + 0x30]
mov qword [r11 - 0x20], r14
mov edx, 2
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x88], xmm11
mov dword [rbp + 0x30], 0x43960000
mov dword [rbp + 0x34], 0x43960000
call fcn.180026070
mov rax, qword [0x1801c4830]
xor r12d, r12d
cmp byte [0x1801c4837], r12b
mov qword [rbp + 0x30], rax
je 0x1800df6a5
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800df66a
movdqa xmm2, xmmword [0x1801c6e40]
movdqa xmm4, xmmword [0x1801c73d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801c6e90]
psubd xmm2, xmm0
movd xmm0, dword [rbp + 0x30]
andps xmm2, xmmword [0x1801c6f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801c7120]
xorps xmm2, xmm0
movd dword [rbp + 0x30], xmm2
movdqa xmm2, xmmword [0x1801c6e50]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801c6e90]
psubd xmm2, xmm0
movd xmm0, dword [rbp + 0x34]
andps xmm2, xmmword [0x1801c6f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801c7120]
xorps xmm2, xmm0
movd dword [rbp + 0x34], xmm2
jmp 0x1800df6a5
lea r9, [rbp + 0x30]
mov r8d, r12d
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x1800df671
mov r8d, 0x107
lea rdx, [0x18024912c]
lea rcx, [rbp + 0x30]
call fcn.18000d530
call fcn.180017a90
lea rcx, [rbp + 0x30]
mov r14, rax
call fcn.180017ae0
lea rcx, [rbp + 0x38]
call fcn.180017b00
movdqa xmm0, xmmword [0x1801c71a0]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.180012650
movss xmm0, dword [rbp + 0x38]
lea r8, [rbp + 0x40]
addss xmm0, dword [rbp + 0x30]
movss xmm1, dword [rbp + 0x3c]
lea rdx, [rbp + 0x30]
addss xmm1, dword [rbp + 0x34]
mov dword [rsp + 0x28], r12d
mov r9d, eax
mov rcx, r14
movss dword [rbp + 0x40], xmm0
movss xmm0, dword [0x1801ad7c8]
movss dword [rsp + 0x20], xmm0
movss dword [rbp + 0x44], xmm1
call fcn.18002e5e0
movdqa xmm0, xmmword [0x1801c71e0]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.180012650
movss xmm1, dword [rbp + 0x34]
lea r8, [rbp + 0x40]
movss xmm2, dword [rbp + 0x38]
lea rdx, [rsp + 0x50]
movss xmm0, dword [rbp + 0x3c]
mov r9d, eax
movss xmm11, dword [0x1801ad7b8]
addss xmm0, xmm1
movss xmm6, dword [0x1801ad7bc]
mov rcx, r14
mulss xmm2, xmm11
movss dword [rsp + 0x54], xmm1
movss dword [rbp + 0x44], xmm0
addss xmm2, dword [rbp + 0x30]
movss dword [rsp + 0x20], xmm6
movss dword [rbp + 0x40], xmm2
movss dword [rsp + 0x50], xmm2
call fcn.18002d4e0
movdqa xmm0, xmmword [0x1801c71e0]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.180012650
movss xmm2, dword [rbp + 0x30]
lea r8, [rbp + 0x40]
movss xmm1, dword [rbp + 0x3c]
lea rdx, [rsp + 0x50]
movss xmm0, dword [rbp + 0x38]
mov r9d, eax
mulss xmm1, xmm11
addss xmm0, xmm2
mov rcx, r14
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x20], xmm6
addss xmm1, dword [rbp + 0x34]
movss dword [rbp + 0x40], xmm0
movss dword [rbp + 0x44], xmm1
movss dword [rsp + 0x54], xmm1
call fcn.18002d4e0
cmp qword [0x18024b098], r12
je 0x1800dfd79
mov qword [rsp + 0x250], rdi
mov rdi, qword [0x18024b0a0]
test rdi, rdi
je 0x1800dfd71
mov qword [rsp + 0x240], rbx
mov rbx, qword [0x18024dac0]
mov qword [rsp + 0x210], r15
mov r15, qword [0x18024dac8]
cmp rbx, r15
je 0x1800dfd61
mov qword [rsp + 0x220], r13
lea r13, [0x1801c4838]
movaps xmmword [rsp + 0x1e0], xmm8
xorps xmm8, xmm8
movaps xmmword [rsp + 0x190], xmm13
movss xmm13, dword [0x1801ad7cc]
mov qword [rsp + 0x248], rsi
movaps xmmword [rsp + 0x1f0], xmm7
movaps xmmword [rsp + 0x1d0], xmm9
movaps xmmword [rsp + 0x1c0], xmm10
movaps xmmword [rsp + 0x1a0], xmm12
movaps xmmword [rsp + 0x180], xmm14
movaps xmmword [rsp + 0x170], xmm15
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800dfcfd
comiss xmm8, dword [rcx + 0x280]
jb 0x1800df8e3
cmp byte [0x180249134], r12b
je 0x1800dfcfd
cmp rcx, rdi
je 0x1800dfcfd
movsd xmm0, qword [rdi + 0x90]
movsd xmm12, qword [rcx + 0x90]
movaps xmm3, xmm0
movss xmm1, dword [rdi + 0x98]
movaps xmm2, xmm0
subss xmm1, dword [rcx + 0x98]
mov rax, qword [0x1802492e0]
subss xmm2, xmm12
shufps xmm3, xmm3, 0x55
movsd qword [rsp + 0x60], xmm12
movss xmm14, dword [rsp + 0x64]
mov rsi, qword [rax + rcx]
subss xmm3, xmm14
mulss xmm2, xmm2
mulss xmm1, xmm1
movsd qword [rbp + 0x40], xmm0
xorps xmm0, xmm0
mulss xmm3, xmm3
addss xmm3, xmm2
addss xmm3, xmm1
ucomiss xmm0, xmm3
ja 0x1800df964
xorps xmm0, xmm0
sqrtss xmm0, xmm3
jmp 0x1800df96c
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1801b3f44]
comiss xmm1, xmm0
jbe 0x1800dfcfd
movss xmm15, dword [0x180249130]
lea rcx, [rbp - 0x68]
call fcn.180017ae0
lea rcx, [rbp - 0x60]
movss xmm10, dword [rax + 4]
call fcn.180017ae0
movss xmm9, dword [rax]
mov rax, qword [0x180249268]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800df9bf
movaps xmm9, xmm8
movaps xmm10, xmm8
jmp 0x1800dfb22
mov rax, qword [0x180249288]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1800df9db
movaps xmm9, xmm8
movaps xmm10, xmm8
jmp 0x1800dfb22
mov rax, qword [rcx + 8]
test rax, rax
jne 0x1800df9f1
movaps xmm9, xmm8
movaps xmm10, xmm8
jmp 0x1800dfb22
movsd xmm0, qword [rdx + 0x3d0]
lea rcx, [0x18024b4e0]
movsd xmm6, qword [rax + 0x90]
movaps xmm1, xmm0
mov eax, dword [rax + 0x98]
movaps xmm2, xmm0
mov dword [rbp + 0x48], eax
mov eax, dword [rdx + 0x3d8]
shufps xmm1, xmm1, 0x55
mov dword [rbp + 0x48], eax
movsd qword [rbp + 0x40], xmm0
call fcn.180073de0
movaps xmm7, xmm0
movsd qword [rbp + 0x40], xmm6
mulss xmm7, dword [0x1801c6de0]
subss xmm12, xmm6
movaps xmm1, xmm6
shufps xmm1, xmm1, 0x55
divss xmm7, dword [0x1801b9098]
subss xmm14, xmm1
mulss xmm7, dword [0x1801c6d20]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
movaps xmm0, xmm7
mulss xmm6, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movss xmm2, dword [rbp + 0x38]
lea rax, [rbp + 0x54]
movaps xmm4, xmm0
mulss xmm2, xmm11
lea rcx, [rsp + 0x58]
mulss xmm4, xmm15
lea rdx, [rsp + 0x50]
movaps xmm3, xmm6
mulss xmm6, xmm12
subss xmm2, dword [0x1801b3f20]
movaps xmm1, xmm4
mulss xmm3, xmm14
mulss xmm1, xmm12
movaps xmm0, xmm2
mulss xmm4, xmm14
xorps xmm0, xmmword [0x1801b3fb0]
subss xmm3, xmm1
movaps xmm1, xmm2
movss dword [rbp + 0x50], xmm2
xorps xmm1, xmmword [0x1801b3fb0]
addss xmm4, xmm6
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x50], xmm1
comiss xmm0, xmm3
movss dword [rbp + 0x54], xmm3
movss dword [rbp + 0x40], xmm4
cmovbe rcx, rax
lea rax, [rbp + 0x40]
comiss xmm1, xmm4
cmovbe rdx, rax
lea rax, [rbp + 0x50]
comiss xmm3, xmm2
cmovbe rax, rcx
comiss xmm4, xmm2
subss xmm9, dword [rax]
lea rax, [rbp + 0x50]
cmovbe rax, rdx
subss xmm10, dword [rax]
cmp byte [0x18024912e], r12b
je 0x1800dfc63
test rsi, rsi
jne 0x1800dfc63
movss xmm0, dword [0x1801ad89c]
lea rcx, [rbp + 0x58]
xor r9d, r9d
movss dword [rsp + 0x20], xmm0
xor r8d, r8d
mov rdx, r13
call fcn.180011790
movss xmm6, dword [rbp + 0x38]
lea rcx, [rbp + 0x40]
movss xmm0, dword [rbp + 0x58]
movdqa xmm12, xmmword [0x1801ad990]
mulss xmm6, xmm11
mulss xmm0, xmm11
addss xmm6, xmm9
movups xmmword [rbp + 0x40], xmm12
addss xmm6, dword [0x1801ad7c4]
subss xmm6, xmm0
call fcn.180012650
movss xmm2, dword [rbp + 0x38]
lea r8, [rsp + 0x70]
movss xmm1, dword [rbp + 0x3c]
lea rdx, [rsp + 0x78]
movss xmm7, dword [0x1801ad7d4]
mov r9d, eax
mulss xmm2, xmm11
mov rcx, r14
mov dword [rsp + 0x28], r12d
mulss xmm1, xmm11
addss xmm2, xmm9
movss dword [rsp + 0x20], xmm7
addss xmm1, xmm10
movaps xmm0, xmm2
movss dword [rsp + 0x78], xmm2
addss xmm0, xmm13
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x70], xmm0
movaps xmm0, xmm1
addss xmm0, xmm13
movss dword [rsp + 0x74], xmm0
call fcn.18002e5e0
lea rcx, [rbp + 0x40]
movups xmmword [rbp + 0x40], xmm12
call fcn.180012650
movss xmm0, dword [rbp + 0x3c]
lea r9, [rbp - 0x80]
movss xmm2, dword [0x1801ad7fc]
xor edx, edx
mov qword [rsp + 0x40], r12
mov rcx, r14
movss dword [rsp + 0x38], xmm8
mulss xmm0, xmm11
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
movss dword [rbp - 0x80], xmm6
addss xmm0, xmm10
mov dword [rsp + 0x20], eax
addss xmm0, dword [0x1801b3ef0]
movss dword [rbp - 0x7c], xmm0
call fcn.180031160
jmp 0x1800dfc6b
movss xmm7, dword [0x1801ad7d4]
cmp byte [reloc.WS2_32.dll_accept], r12b
je 0x1800dfcf6
test rsi, rsi
je 0x1800dfcf6
movdqa xmm0, xmmword [0x1801c7210]
lea rcx, [rbp + 0x40]
movups xmmword [rbp + 0x40], xmm0
call fcn.180012650
movss xmm2, dword [rbp + 0x38]
lea r8, [rbp - 0x78]
movss xmm1, dword [rbp + 0x3c]
lea rdx, [rbp - 0x70]
mulss xmm2, xmm11
mov r9d, eax
mov rcx, r14
mov dword [rsp + 0x28], r12d
mulss xmm1, xmm11
addss xmm2, xmm9
movss dword [rsp + 0x20], xmm7
addss xmm1, xmm10
movaps xmm0, xmm2
movss dword [rbp - 0x70], xmm2
addss xmm0, xmm13
movss dword [rbp - 0x6c], xmm1
movss dword [rbp - 0x78], xmm0
movaps xmm0, xmm1
addss xmm0, xmm13
movss dword [rbp - 0x74], xmm0
call fcn.18002e5e0
mov rdi, qword [0x18024b0a0]
sub rbx, 0xffffffffffffff80
cmp rbx, r15
jne 0x1800df8c0
movaps xmm15, xmmword [rsp + 0x170]
movaps xmm14, xmmword [rsp + 0x180]
movaps xmm13, xmmword [rsp + 0x190]
movaps xmm12, xmmword [rsp + 0x1a0]
movaps xmm10, xmmword [rsp + 0x1c0]
movaps xmm9, xmmword [rsp + 0x1d0]
movaps xmm8, xmmword [rsp + 0x1e0]
movaps xmm7, xmmword [rsp + 0x1f0]
mov r13, qword [rsp + 0x220]
mov rsi, qword [rsp + 0x248]
mov rbx, qword [rsp + 0x240]
mov r15, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x250]
call fcn.180013820
movaps xmm11, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x200]
mov r14, qword [rsp + 0x218]
mov r12, qword [rsp + 0x228]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1801a9230
add rsp, 0x230
pop rbp
ret