Function at 0x18009e6b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1802b1080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, qword [0x1802b4a60]
mov qword [rsp + 0x70], rbx
mov r13, qword [0x1802b4a58]
mov rcx, rbx
sub rcx, r13
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x18009f19a
cmp r13, rbx
je 0x18009f19a
xor r12d, r12d
mov edi, dword [reloc.WS2_32.dll_accept]
movdqa xmm14, xmmword [0x180143490]
movdqa xmm9, xmmword [0x180143410]
movdqa xmm10, xmmword [0x180143400]
movdqa xmm11, xmmword [0x1801433f0]
movdqa xmm12, xmmword [0x1801433e0]
movdqa xmm13, xmmword [0x18013cb90]
movdqa xmm15, xmmword [str.6666666666666666]
movdqa xmm8, xmmword [0x180184b70]
movss xmm6, dword [0x180138b10]
xorps xmm7, xmm7
nop word [rax + rax]
mov rdx, r13
lea rcx, [rbp + 0x30]
call fcn.18004fff0
nop
lea rdx, [r13 + 0x20]
lea rcx, [rbp + 0x50]
call fcn.18004fff0
nop
lea rdx, [r13 + 0x40]
lea rcx, [rbp + 0x70]
call fcn.18004fff0
movups xmm0, xmmword [r13 + 0x60]
movups xmmword [rbp + 0x90], xmm0
movss xmm0, dword [r13 + 0x70]
movss dword [rbp + 0xa0], xmm0
movss xmm1, dword [r13 + 0x74]
movss dword [rbp + 0xa4], xmm1
mov eax, dword [r13 + 0x78]
mov dword [rbp + 0xa8], eax
mov eax, dword [r13 + 0x7c]
mov dword [rbp + 0xac], eax
mov eax, dword [r13 + 0x80]
mov dword [rbp + 0xb0], eax
mov eax, dword [r13 + 0x84]
mov dword [rbp + 0xb4], eax
mov eax, dword [r13 + 0x88]
mov dword [rbp + 0xb8], eax
mov ecx, dword [r13 + 0x8c]
mov dword [rbp + 0xbc], ecx
test ecx, ecx
je 0x18009efdc
sub ecx, 1
je 0x18009ec45
sub ecx, 1
je 0x18009eb86
mov r14, qword [rbp + 0x68]
cmp ecx, 1
jne 0x18009f0b3
mov rsi, qword [0x1802b45a8]
mov qword [rsp + 0x50], rsi
mov rbx, qword [rsi + 8]
mov r12, rsi
mov rdi, qword [rbp + 0x60]
cmp byte [rbx + 0x19], 0
jne 0x18009e8f5
mov rsi, rbx
nop
lea rcx, [rsi + 0x20]
lea rdx, [rbp + 0x50]
cmp r14, 0xf
cmova rdx, qword [rbp + 0x50]
mov r15, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x18009e8cf
mov rcx, qword [rcx]
mov r8, r15
cmp rdi, r15
cmovb r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18009e934
js 0x18009e939
mov r12, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x18009e8b0
mov rsi, qword [rsp + 0x50]
cmp byte [r12 + 0x19], 0
jne 0x18009e944
lea rdx, [r12 + 0x20]
mov r15, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18009e910
mov rdx, qword [rdx]
lea rcx, [rbp + 0x50]
cmp r14, 0xf
cmova rcx, qword [rbp + 0x50]
mov r8, rdi
cmp r15, rdi
cmovb r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18009e93f
jns 0x18009e947
jmp 0x18009e944
cmp r15, rdi
jae 0x18009e8e4
mov rsi, qword [rsi + 0x10]
jmp 0x18009e8ea
cmp rdi, r15
jae 0x18009e947
mov r12, rsi
cmp r12, rsi
je 0x18009f0a5
mov qword [rbp + 0x10], rbx
xor r12d, r12d
mov dword [rbp + 0x18], r12d
mov r15, rsi
cmp byte [rbx + 0x19], r12b
jne 0x18009e9c0
nop dword [rax]
nop dword [rax + rax]
mov qword [rbp + 0x10], rbx
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x50]
cmp r14, 0xf
cmova rdx, qword [rbp + 0x50]
mov rsi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x18009e993
mov rcx, qword [rcx]
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18009ea00
js 0x18009ea05
mov dword [rbp + 0x18], 1
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r12b
je 0x18009e970
mov rsi, qword [rsp + 0x50]
cmp byte [r15 + 0x19], r12b
jne 0x18009ea14
lea rdx, [r15 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18009e9d8
mov rdx, qword [rdx]
lea rcx, [rbp + 0x50]
cmp r14, 0xf
cmova rcx, qword [rbp + 0x50]
mov r8, rdi
cmp rbx, rdi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18009ea0f
jns 0x18009ea91
jmp 0x18009ea14
cmp rsi, rdi
jae 0x18009e9a8
mov dword [rbp + 0x18], r12d
mov rbx, qword [rbx + 0x10]
jmp 0x18009e9b5
cmp rdi, rbx
jae 0x18009ea91
movabs rax, 0x38e38e38e38e38e
cmp qword [0x1802b45b0], rax
je 0x18009f209
lea r14, [0x1802b45a8]
mov qword [rbp], r14
mov qword [rbp + 8], r12
mov ecx, 0x48
call fcn.18012e4dc
mov rdi, rax
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x50]
lea rcx, [rax + 0x20]
call fcn.18004fff0
mov qword [rdi + 0x40], r12
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
mov word [rdi + 0x18], 0
mov qword [rbp + 8], r12
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.18001e330
mov r15, rax
mov r14, qword [rbp + 0x68]
mov rdi, qword [r15 + 0x40]
test rdi, rdi
je 0x18009f0a8
call fcn.18000ded0
mov rbx, rax
movd xmm0, dword [rbp + 0xa8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rbp - 0x40], xmm0
movd xmm1, dword [rbp + 0xac]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movss dword [rbp - 0x3c], xmm1
movd xmm0, dword [rbp + 0xb0]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rbp - 0x38], xmm0
movd xmm1, dword [rbp + 0xb4]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movss dword [rbp - 0x34], xmm1
lea rcx, [rbp - 0x40]
call fcn.18000b470
mov dword [rsp + 0x78], 0x3f800000
mov dword [rsp + 0x7c], 0x3f800000
mov qword [rbp - 0x80], 0
movss xmm2, dword [rbp + 0x9c]
movss xmm3, dword [rbp + 0x94]
addss xmm2, xmm3
movss xmm0, dword [rbp + 0x98]
movss xmm1, dword [rbp + 0x90]
addss xmm0, xmm1
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm2
movss dword [rbp - 0x70], xmm1
movss dword [rbp - 0x6c], xmm3
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x70]
mov rdx, rdi
mov rcx, rbx
call fcn.180020bd0
mov r14, qword [rbp + 0x68]
jmp 0x18009f0a8
call fcn.18000ded0
mov rbx, rax
movd xmm0, dword [rbp + 0xa8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rbp - 0x30], xmm0
movd xmm1, dword [rbp + 0xac]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movss dword [rbp - 0x2c], xmm1
movd xmm0, dword [rbp + 0xb0]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rbp - 0x28], xmm0
movd xmm1, dword [rbp + 0xb4]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movss dword [rbp - 0x24], xmm1
lea rcx, [rbp - 0x30]
call fcn.18000b470
movss xmm0, dword [rbp + 0x98]
movss dword [rbp - 0x68], xmm0
movss xmm1, dword [rbp + 0x9c]
movss dword [rbp - 0x64], xmm1
movss xmm0, dword [rbp + 0x90]
movss dword [rbp - 0x60], xmm0
movss xmm1, dword [rbp + 0x94]
movss dword [rbp - 0x5c], xmm1
movss xmm0, dword [rbp + 0xa0]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.180020c90
mov r14, qword [rbp + 0x68]
jmp 0x18009f0ae
mov rsi, qword [0x1802b4ac0]
movups xmm2, xmmword [str.pXVMLYNQR_]
movups xmmword [rsp + 0x50], xmm2
mov ecx, dword [0x180182d20]
mov dword [rsp + 0x60], ecx
cmp byte [0x180182d23], 0
je 0x18009eed2
mov r8d, r12d
cmp edi, 2
jl 0x18009ee92
movdqa xmm1, xmm13
punpckldq xmm1, xmm13
pmuldq xmm1, xmm8
movdqa xmm0, xmm13
punpckhdq xmm0, xmm13
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm13
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm3, xmmword [str.8888]
pmulld xmm0, xmm3
movdqa xmm1, xmm13
psubd xmm1, xmm0
andps xmm1, xmm14
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm15
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x50], xmm1
movdqa xmm1, xmm12
punpckldq xmm1, xmm12
pmuldq xmm1, xmm8
movdqa xmm0, xmm12
punpckhdq xmm0, xmm12
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm12
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm3
movdqa xmm1, xmm12
psubd xmm1, xmm0
andps xmm1, xmm14
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm15
movd xmm0, dword [rsp + 0x54]
xorps xmm1, xmm0
movd dword [rsp + 0x54], xmm1
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm8
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm11
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm3
movdqa xmm1, xmm11
psubd xmm1, xmm0
andps xmm1, xmm14
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm15
movd xmm0, dword [rsp + 0x58]
xorps xmm1, xmm0
movd dword [rsp + 0x58], xmm1
movdqa xmm1, xmm10
punpckldq xmm1, xmm10
pmuldq xmm1, xmm8
movdqa xmm0, xmm10
punpckhdq xmm0, xmm10
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm10
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm3
movdqa xmm1, xmm10
psubd xmm1, xmm0
andps xmm1, xmm14
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm15
movd xmm0, dword [rsp + 0x5c]
xorps xmm1, xmm0
movd dword [rsp + 0x5c], xmm1
movdqa xmm1, xmm9
punpckldq xmm1, xmm9
pmuldq xmm1, xmm8
movdqa xmm0, xmm9
punpckhdq xmm0, xmm9
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm9
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm3
movdqa xmm1, xmm9
psubd xmm1, xmm0
andps xmm1, xmm14
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm15
movd xmm0, ecx
xorps xmm1, xmm0
movd dword [rsp + 0x60], xmm1
jmp 0x18009eed2
lea r9, [rsp + 0x50]
nop word [rax + rax]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x18009eea0
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x18009eee0
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rcx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
cmp r8, rax
jne 0x18009ef1a
lea rdx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
cmove rsi, qword [0x1802b4ab8]
call fcn.18000ded0
mov rdi, rax
lea rbx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rbx, qword [rbp + 0x50]
movd xmm0, dword [rbp + 0xa8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rbp - 0x20], xmm0
movd xmm1, dword [rbp + 0xac]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movss dword [rbp - 0x1c], xmm1
movd xmm0, dword [rbp + 0xb0]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rbp - 0x18], xmm0
movd xmm1, dword [rbp + 0xb4]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movss dword [rbp - 0x14], xmm1
lea rcx, [rbp - 0x20]
call fcn.18000b470
movss xmm0, dword [rbp + 0x90]
movss dword [rbp - 0x58], xmm0
movss xmm1, dword [rbp + 0x94]
movss dword [rbp - 0x54], xmm1
mov qword [rsp + 0x40], r12
movss dword [rsp + 0x38], xmm7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x58]
movss xmm2, dword [rbp + 0xa4]
mov rdx, rsi
mov rcx, rdi
call fcn.180025580
mov r14, qword [rbp + 0x68]
jmp 0x18009f0a8
call fcn.18000ded0
mov rbx, rax
movd xmm0, dword [rbp + 0xa8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rbp - 0x10], xmm0
movd xmm1, dword [rbp + 0xac]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movss dword [rbp - 0xc], xmm1
movd xmm0, dword [rbp + 0xb0]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rbp - 8], xmm0
movd xmm1, dword [rbp + 0xb4]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm6
movss dword [rbp - 4], xmm1
lea rcx, [rbp - 0x10]
call fcn.18000b470
movss xmm2, dword [rbp + 0x9c]
movss xmm3, dword [rbp + 0x94]
addss xmm2, xmm3
movss xmm0, dword [rbp + 0x98]
movss xmm1, dword [rbp + 0x90]
addss xmm0, xmm1
movss dword [rbp - 0x50], xmm0
movss dword [rbp - 0x4c], xmm2
movss dword [rbp - 0x48], xmm1
movss dword [rbp - 0x44], xmm3
mov dword [rsp + 0x28], r12d
movss xmm0, dword [rbp + 0xa0]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.180021da0
mov r14, qword [rbp + 0x68]
jmp 0x18009f0ae
xor r12d, r12d
mov edi, dword [reloc.WS2_32.dll_accept]
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x18009f0f5
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009f0ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009f202
call fcn.18012e518
mov r14, qword [rbp + 0x68]
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
cmp r14, 0xf
jbe 0x18009f143
lea rdx, [r14 + 1]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009f13e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009f202
call fcn.18012e518
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x18009f18a
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009f185
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009f202
call fcn.18012e518
add r13, 0x90
cmp r13, rbx
jne 0x18009e7d0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.18012eac0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.18001e5b0
nop
int3