Function at 0x140030be0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1401d12b0]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rsi, qword [0x1401e29c8]
xor r14d, r14d
cmp byte [0x140218780], r14b
jne 0x140030d32
movdqa xmm0, xmmword [0x1401b3e80]
mov ecx, r14d
movdqu xmmword [rbp - 0x60], xmm0
mov byte [0x140218780], 1
mov dword [rbp - 0x50], 0xc3969989
mov dword [rbp - 0x4c], 0x9f9b9ddd
mov word [rbp - 0x48], 0x100
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x21]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0x18
jb 0x140030c60
mov rbx, 0xffffffffffffffff
mov byte [rbp - 0x47], r14b
mov r8, rbx
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], r14
lea rax, [rbp - 0x60]
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
inc r8
cmp byte [rax + r8], r14b
jne 0x140030c92
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.140008610
lea rcx, [rbp - 0x40]
call fcn.14000d940
movdqa xmm0, xmmword [0x1401b3e80]
mov rcx, r14
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], 0xc3969989
mov dword [rbp - 0x4c], 0x9f9b9ddd
mov word [rbp - 0x48], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x21]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0x18
jb 0x140030ce0
mov byte [rbp - 0x47], r14b
lea rax, [rbp - 0x60]
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140030d10
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.140008610
lea rcx, [rbp - 0x40]
call fcn.140094310
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
call fcn.1400be280
cmp dword [0x1402185f0], r14d
jne 0x140030d4b
call fcn.1400597a0
call fcn.140058b10
call fcn.140038020
mov rdi, qword [0x1401e29e8]
xorps xmm1, xmm1
mov ecx, 3
call fcn.140035320
mov rbx, qword [0x1401e29e8]
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 1
movss xmm1, dword [rbx + 0x1564]
lea rcx, [rbx + 0x1d48]
movss xmm0, dword [rbx + 0x1568]
movss dword [rbp - 0x5c], xmm1
movss dword [rbp - 0x58], xmm0
call fcn.140047590
mov qword [rbx + 0x1564], r14
lea rdx, [rbp - 0x60]
mov rbx, qword [0x1401e29e8]
xorps xmm6, xmm6
mov dword [rbp - 0x60], 2
movups xmm0, xmmword [rbx + 0x1644]
lea rcx, [rbx + 0x1d38]
movups xmmword [rbp - 0x5c], xmm0
call fcn.140047690
xor edx, edx
lea rcx, str.Backbuffer
mov r8d, 0xc0201
movups xmmword [rbx + 0x1644], xmm6
call fcn.14003d380
mov r9, qword [0x1401e29e8]
lea rdx, [rbp - 0x60]
mov r8d, 1
mov qword [rbp - 0x60], r14
mov rcx, qword [r9 + 0x1c10]
call fcn.14003fd40
movss xmm4, dword [rdi + 0x10]
lea rdx, [rbp - 0x60]
movss xmm5, dword [rdi + 0x14]
mov r8d, 1
mov rcx, qword [r9 + 0x1c10]
movss dword [rbp - 0x60], xmm4
movss dword [rbp - 0x5c], xmm5
call fcn.14003fe60
cmp byte [0x1401e2a4d], r14b
je 0x140030e48
call fcn.14008dc90
cmp byte [0x1401e2a4c], r14b
je 0x140030e56
call fcn.14008e640
cmp byte [0x1401e2a4a], r14b
je 0x140030e64
call fcn.14008eac0
cmp byte [0x1401e2a58], r14b
je 0x140030e72
call fcn.14008f0c0
call fcn.1400961b0
call fcn.140007890
cmp byte [0x1401e2a4b], r14b
je 0x140030e93
cmp byte [0x1401e2961], r14b
je 0x140030e93
call fcn.14001a920
cmp byte [reloc.WS2_32.dll_accept], r14b
je 0x140030ea1
call fcn.14009b490
call fcn.1400901e0
call fcn.14008d310
call fcn.140039d30
lea r8, [rbp - 0x20]
mov rcx, rsi
lea rdx, [rbp - 0x1c]
call fcn.1400be030
mov r9d, dword [rbp - 0x20]
xor edx, edx
mov r8d, dword [rbp - 0x1c]
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_glViewport]
mov ecx, 0x4000
call qword [sym.imp.OPENGL32.dll_glClear]
mov rax, qword [0x1401e29e8]
mov rdx, qword [rax + 0x1dc0]
mov rcx, qword [rdx]
add rcx, 0x40
cmp byte [rcx], r14b
cmove rcx, r14
call fcn.140059090
mov rcx, rsi
call fcn.1400bd8f0
mov eax, dword [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x140030f15
lea edi, [rax + 0x1e]
jmp 0x140030f4f
cmp eax, 1
jne 0x140030f1f
lea edi, [rax + 0x3b]
jmp 0x140030f4f
cmp eax, 2
jne 0x140030f29
lea edi, [rax + 0x58]
jmp 0x140030f4f
cmp eax, 3
jne 0x140030f33
lea edi, [rax + 0x75]
jmp 0x140030f4f
cmp eax, 4
jne 0x140030f3f
mov edi, 0x90
jmp 0x140030f4f
cmp eax, 5
mov edi, reloc.WLDAP32.dll_Ordinal_60
mov ecx, 0xf0
cmove edi, ecx
inc dword [0x1401e299c]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
movsd xmm1, qword [0x1401b31d8]
xorps xmm6, xmm6
cqo
movd xmm0, edi
idiv rbx
cvtdq2pd xmm0, xmm0
mov rcx, rax
imul rax, rdx, 0x3b9aca00
divsd xmm1, xmm0
cqo
xorps xmm0, xmm0
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
mov rax, rbx
sub rax, qword [0x140203c68]
cvtsi2sd xmm6, rax
divsd xmm6, qword [0x1401b3230]
subsd xmm1, xmm6
comisd xmm1, xmm0
jbe 0x140030fd2
cvttsd2si rax, xmm1
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x60], rax
call fcn.140008910
comisd xmm6, xmmword [0x1401b3178]
jb 0x140031004
movd xmm0, dword [0x1401e299c]
cvtdq2pd xmm0, xmm0
mov dword [0x1401e299c], r14d
mov qword [0x140203c68], rbx
divsd xmm0, xmm6
cvttsd2si eax, xmm0
mov dword [0x1401e29d8], eax
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14012e570
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x70]
mov rsp, r11
pop rbp
ret