Function at 0x1800ba550
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 [0x1802dd180]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, qword [0x1802e0e28]
mov qword [rsp + 0x70], rbx
mov r13, qword [0x1802e0e20]
mov rcx, rbx
sub rcx, r13
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1800bb00f
cmp r13, rbx
je 0x1800bb00f
xor r12d, r12d
mov edi, dword [reloc.WS2_32.dll_accept]
movdqa xmm9, xmmword [0x18016fe50]
movdqa xmm10, xmmword [0x18016fdd0]
movdqa xmm11, xmmword [0x18016fdc0]
movdqa xmm12, xmmword [0x18016fdb0]
movdqa xmm13, xmmword [0x18016fd90]
movdqa xmm14, xmmword [0x180168c90]
movdqa xmm15, xmmword [str.5555555555555555]
movdqa xmm8, xmmword [0x1801aecf0]
movss xmm6, dword [0x180164bf0]
xorps xmm7, xmm7
nop word [rax + rax]
mov rdx, r13
lea rcx, [rbp + 0x30]
call fcn.18005cc80
nop
lea rdx, [r13 + 0x20]
lea rcx, [rbp + 0x50]
call fcn.18005cc80
nop
lea rdx, [r13 + 0x40]
lea rcx, [rbp + 0x70]
call fcn.18005cc80
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 0x1800bae51
sub ecx, 1
je 0x1800baae5
sub ecx, 1
je 0x1800baa26
mov r14, qword [rbp + 0x68]
cmp ecx, 1
jne 0x1800baf28
mov rsi, qword [0x1802e07d0]
mov qword [rsp + 0x50], rsi
mov rbx, qword [rsi + 8]
mov r12, rsi
mov rdi, qword [rbp + 0x60]
cmp byte [rbx + 0x19], 0
jne 0x1800ba795
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 0x1800ba76f
mov rcx, qword [rcx]
mov r8, r15
cmp rdi, r15
cmovb r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800ba7d4
js 0x1800ba7d9
mov r12, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x1800ba750
mov rsi, qword [rsp + 0x50]
cmp byte [r12 + 0x19], 0
jne 0x1800ba7e4
lea rdx, [r12 + 0x20]
mov r15, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800ba7b0
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 0x1800ba7df
jns 0x1800ba7e7
jmp 0x1800ba7e4
cmp r15, rdi
jae 0x1800ba784
mov rsi, qword [rsi + 0x10]
jmp 0x1800ba78a
cmp rdi, r15
jae 0x1800ba7e7
mov r12, rsi
cmp r12, rsi
je 0x1800baf1a
mov qword [rbp + 0x10], rbx
xor r12d, r12d
mov dword [rbp + 0x18], r12d
mov r15, rsi
cmp byte [rbx + 0x19], r12b
jne 0x1800ba860
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 0x1800ba833
mov rcx, qword [rcx]
mov r8, rsi
cmp rdi, rsi
cmovb r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800ba8a0
js 0x1800ba8a5
mov dword [rbp + 0x18], 1
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], r12b
je 0x1800ba810
mov rsi, qword [rsp + 0x50]
cmp byte [r15 + 0x19], r12b
jne 0x1800ba8b4
lea rdx, [r15 + 0x20]
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800ba878
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 0x1800ba8af
jns 0x1800ba931
jmp 0x1800ba8b4
cmp rsi, rdi
jae 0x1800ba848
mov dword [rbp + 0x18], r12d
mov rbx, qword [rbx + 0x10]
jmp 0x1800ba855
cmp rdi, rbx
jae 0x1800ba931
movabs rax, 0x38e38e38e38e38e
cmp qword [0x1802e07d8], rax
je 0x1800bb07e
lea r14, [0x1802e07d0]
mov qword [rbp], r14
mov qword [rbp + 8], r12
mov ecx, 0x48
call fcn.180157834
mov rdi, rax
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x50]
lea rcx, [rax + 0x20]
call fcn.18005cc80
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.18002a790
mov r15, rax
mov r14, qword [rbp + 0x68]
mov rdi, qword [r15 + 0x40]
test rdi, rdi
je 0x1800baf1d
call fcn.18001a240
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.1800177e0
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.18002d030
mov r14, qword [rbp + 0x68]
jmp 0x1800baf1d
call fcn.18001a240
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.1800177e0
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.18002d2c0
mov r14, qword [rbp + 0x68]
jmp 0x1800baf23
mov rsi, qword [0x1802e0e88]
movups xmm2, xmmword [str.sYYLxMORSZ]
movups xmmword [rsp + 0x50], xmm2
mov ecx, dword [0x1801acb50]
mov dword [rsp + 0x60], ecx
cmp byte [0x1801acb53], 0
je 0x1800bad49
mov r8d, r12d
cmp edi, 2
jl 0x1800bad19
movdqa xmm1, xmm14
punpckldq xmm1, xmm14
pmuldq xmm1, xmm8
movdqa xmm0, xmm14
punpckhdq xmm0, xmm14
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm3, xmmword [str.1111]
pmulld xmm0, xmm3
movdqa xmm1, xmm14
psubd xmm1, xmm0
andps xmm1, xmm9
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, xmm13
punpckldq xmm1, xmm13
pmuldq xmm1, xmm8
movdqa xmm0, xmm13
punpckhdq xmm0, xmm13
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm3
movdqa xmm1, xmm13
psubd xmm1, xmm0
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm15
movd xmm0, dword [rsp + 0x54]
xorps xmm1, xmm0
movd dword [rsp + 0x54], xmm1
movdqa xmm1, xmm12
punpckldq xmm1, xmm12
pmuldq xmm1, xmm8
movdqa xmm0, xmm12
punpckhdq xmm0, xmm12
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm3
movdqa xmm1, xmm12
psubd xmm1, xmm0
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm15
movd xmm0, dword [rsp + 0x58]
xorps xmm1, xmm0
movd dword [rsp + 0x58], xmm1
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm8
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm3
movdqa xmm1, xmm11
psubd xmm1, xmm0
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm15
movd xmm0, dword [rsp + 0x5c]
xorps xmm1, xmm0
movd dword [rsp + 0x5c], xmm1
movdqa xmm1, xmm10
punpckldq xmm1, xmm10
pmuldq xmm1, xmm8
movdqa xmm0, xmm10
punpckhdq xmm0, xmm10
pmuldq xmm0, xmm8
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm3
movdqa xmm1, xmm10
psubd xmm1, xmm0
andps xmm1, xmm9
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm15
movd xmm0, ecx
xorps xmm1, xmm0
movd dword [rsp + 0x60], xmm1
jmp 0x1800bad49
lea r9, [rsp + 0x50]
nop
mov eax, 0x5397829d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x1800bad20
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1800bad55
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rcx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
cmp r8, rax
jne 0x1800bad8f
lea rdx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
cmove rsi, qword [0x1802e0e80]
call fcn.18001a240
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.1800177e0
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.180031bb0
mov r14, qword [rbp + 0x68]
jmp 0x1800baf1d
call fcn.18001a240
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.1800177e0
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.18002e3d0
mov r14, qword [rbp + 0x68]
jmp 0x1800baf23
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 0x1800baf6a
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800baf61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bb077
call fcn.180157870
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 0x1800bafb8
lea rdx, [r14 + 1]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bafb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bb077
call fcn.180157870
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 0x1800bafff
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800baffa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bb077
call fcn.180157870
add r13, 0x90
cmp r13, rbx
jne 0x1800ba670
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180157e20
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.18002aa10
nop
int3