Function at 0x1800bc8f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
xor r14d, r14d
cmp qword [0x1803a8848], r14
je 0x1800bc931
cmp qword [0x1803a8868], r14
je 0x1800bc931
xor eax, eax
jmp 0x1800bd54d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r14
movups xmm3, xmmword [0x180186a38]
movups xmmword [rbp - 0x51], xmm3
movsd xmm0, qword [0x180186a48]
movsd qword [rbp - 0x41], xmm0
mov eax, dword [0x180186a50]
mov dword [rbp - 0x39], eax
movzx eax, word [0x180186a54]
mov word [rbp - 0x35], ax
mov r8d, r14d
mov r13d, dword [reloc.WS2_32.dll_accept]
cmp r13d, 2
jl 0x1800bca5c
movdqa xmm4, xmmword [0x1801875e0]
movdqa xmm2, xmmword [0x180187330]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1801874a0]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rbp - 0x51], xmm2
movdqa xmm3, xmmword [0x180187370]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873c0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1801874a0]
movq xmm0, qword [rbp - 0x49]
xorps xmm2, xmm0
movq qword [rbp - 0x49], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x51]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x39
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x1800bca70
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.1800bc5f0
test eax, eax
je 0x1800bcac0
mov r14d, 1
jmp 0x1800bd541
lea rax, [rbp - 0x71]
mov qword [rbp + 0x67], rax
movups xmm7, xmmword [0x180186aa0]
movups xmmword [rsp + 0x40], xmm7
pextrw eax, xmm7, 7
test ax, ax
je 0x1800bcc14
cmp r13d, 2
jl 0x1800bcbd2
movdqa xmm4, xmmword [0x1801875e0]
movdqa xmm6, xmmword [0x1801874a0]
movdqa xmm2, xmmword [0x180187330]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rsp + 0x40], xmm3
movdqa xmm2, xmmword [0x180187370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x48]
xorps xmm3, xmm0
movq qword [rsp + 0x48], xmm3
jmp 0x1800bcc14
lea r9, [rsp + 0x40]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x39
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x1800bcbe0
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x59], r14
lea rax, [rsp + 0x40]
mov r15, 0xffffffffffffffff
mov r8, r15
inc r8
cmp word [rax + r8*2], 0
jne 0x1800bcc32
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x71]
call fcn.180008fb0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r14
mov rdx, qword [rbp - 0x29]
sub rdx, qword [rbp - 0x31]
sar rdx, 5
test rdx, rdx
je 0x1800bccdc
movabs rax, 0x7ffffffffffffff
cmp rdx, rax
ja 0x1800bd57e
lea rcx, [rbp - 0x51]
call fcn.180014060
lea rax, [rbp - 0x51]
mov qword [rbp + 0x6f], rax
mov rdi, qword [rbp - 0x31]
mov rsi, qword [rbp - 0x29]
mov rbx, qword [rbp - 0x51]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea rax, [rbp - 0x51]
mov qword [rbp - 0x79], rax
cmp rdi, rsi
je 0x1800bcccd
mov rdx, rdi
mov rcx, rbx
call fcn.180007a70
add rbx, 0x20
mov qword [rsp + 0x48], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x1800bccb0
mov rdx, rbx
mov rcx, rbx
call fcn.180013fc0
mov qword [rbp - 0x49], rbx
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x19]
call fcn.1800bd590
mov rbx, rax
lea r12, [0x1803a8838]
cmp r12, rax
je 0x1800bcd85
mov rdx, qword [0x1803a8850]
cmp rdx, 7
jbe 0x1800bcd46
mov rcx, qword [0x1803a8838]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800bcd41
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800bd584
mov rcx, r8
call fcn.1800d9c1c
mov qword [0x1803a8848], r14
mov qword [0x1803a8850], 7
mov word [0x1803a8838], r14w
movups xmm0, xmmword [rbx]
movups xmmword [0x1803a8838], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1803a8848], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1800bcdc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bcdc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bd584
call fcn.1800d9c1c
mov rsi, qword [0x1803a8848]
test rsi, rsi
jne 0x1800bcdda
lea r14d, [rsi + 2]
jmp 0x1800bd541
movups xmm7, xmmword [0x180186aa0]
movups xmmword [rsp + 0x40], xmm7
pextrw eax, xmm7, 7
test ax, ax
je 0x1800bcf24
cmp r13d, 2
jl 0x1800bcee4
movdqa xmm4, xmmword [0x1801875e0]
movdqa xmm6, xmmword [0x1801874a0]
movdqa xmm2, xmmword [0x180187330]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rsp + 0x40], xmm3
movdqa xmm2, xmmword [0x180187370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x48]
xorps xmm3, xmm0
movq qword [rsp + 0x48], xmm3
jmp 0x1800bcf24
lea r9, [rsp + 0x40]
mov r8d, r14d
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x39
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x1800bcef0
lea rcx, [rsp + 0x40]
mov rax, r15
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800bcf30
mov rcx, r12
cmp qword [0x1803a8850], 7
cmova rcx, qword [0x1803a8838]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
call fcn.180015b90
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
lea r8, [rax - 1]
cmp rsi, r8
cmovb r8, rsi
mov rdx, r12
cmp qword [0x1803a8850], 7
cmova rdx, qword [0x1803a8838]
lea rcx, [rbp - 0x71]
call fcn.180008fb0
mov rdx, qword [0x1803a8830]
cmp rdx, 7
jbe 0x1800bcfde
mov rcx, qword [0x1803a8818]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800bcfd9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800bd578
mov rcx, r8
call fcn.1800d9c1c
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [0x1803a8818], xmm0
movups xmm1, xmmword [rbp - 0x61]
movups xmmword [0x1803a8828], xmm1
movups xmm0, xmmword [str.eh_TMK28]
movups xmmword [rbp - 0x71], xmm0
movups xmm1, xmmword [0x180186a90]
movups xmmword [rbp - 0x61], xmm1
pextrw eax, xmm1, 7
test ax, ax
je 0x1800bd174
cmp r13d, 2
jl 0x1800bd137
movdqa xmm5, xmmword [0x180187330]
mov edx, r14d
movdqa xmm4, xmmword [0x1801875e0]
movdqa xmm6, xmmword [0x1801873c0]
movdqa xmm7, xmmword [0x1801874a0]
lea rcx, [rbp - 0x71]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rdx + 4]
movd xmm2, eax
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add edx, 8
lea rcx, [rcx + 0x10]
cmp edx, 0x10
jl 0x1800bd050
jmp 0x1800bd174
lea r9, [rbp - 0x71]
mov r8d, r14d
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x39
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x10
jl 0x1800bd140
lea rax, [rbp - 0x71]
mov rcx, r15
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800bd180
mov rdx, qword [0x1803a8848]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, rcx
jb 0x1800bd572
mov rax, r12
cmp qword [0x1803a8850], 7
cmova rax, qword [0x1803a8838]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x71]
lea rcx, [rbp - 0x19]
call fcn.180009f30
mov rdx, qword [0x1803a8850]
cmp rdx, 7
jbe 0x1800bd21c
mov rcx, qword [0x1803a8838]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800bd217
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800bd578
mov rcx, r8
call fcn.1800d9c1c
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [0x1803a8838], xmm0
movups xmm1, xmmword [rbp - 9]
movups xmmword [0x1803a8848], xmm1
movups xmm7, xmmword [0x180186aa0]
movups xmmword [rsp + 0x40], xmm7
pextrw eax, xmm7, 7
test ax, ax
je 0x1800bd384
cmp r13d, 2
jl 0x1800bd33c
movdqa xmm4, xmmword [0x1801875e0]
movdqa xmm6, xmmword [0x1801874a0]
movdqa xmm2, xmmword [0x180187330]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm1, xmm7
xorps xmm3, xmm1
movq qword [rsp + 0x40], xmm3
movdqa xmm2, xmmword [0x180187370]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801873c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm6
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x48]
xorps xmm3, xmm0
movq qword [rsp + 0x48], xmm3
jmp 0x1800bd384
lea r9, [rsp + 0x40]
mov r8d, r14d
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x39
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x1800bd350
lea rax, [rsp + 0x40]
nop dword [rax]
inc r15
cmp word [rax + r15*2], 0
jne 0x1800bd390
mov rbx, qword [0x1803a8848]
mov rcx, r12
cmp qword [0x1803a8850], 7
cmova rcx, qword [0x1803a8838]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
call fcn.180015b90
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
lea r8, [rax - 1]
cmp rbx, r8
cmovb r8, rbx
mov rdx, r12
cmp qword [0x1803a8850], 7
cmova rdx, qword [0x1803a8838]
lea rcx, [rbp - 0x71]
call fcn.180008fb0
mov rdx, qword [0x1803a8870]
cmp rdx, 7
jbe 0x1800bd446
mov rcx, qword [0x1803a8858]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800bd441
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800bd578
mov rcx, r8
call fcn.1800d9c1c
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [0x1803a8858], xmm0
movups xmm1, xmmword [rbp - 0x61]
movups xmmword [0x1803a8868], xmm1
cmp qword [0x1803a8850], 7
cmova r12, qword [0x1803a8838]
test r12, r12
je 0x1800bd4a1
mov r9d, r14d
cmp word [r12], r9w
je 0x1800bd4a1
mov r8, r14
nop
lea rcx, [r12 + r8*2]
lea edx, [r9 + 3]
movzx eax, word [rcx]
xor edx, eax
lea r9d, [r9 + 1]
lea r8, [r8 + 1]
je 0x1800bd49a
mov word [rcx], dx
cmp word [rcx + 2], 0
jne 0x1800bd480
lea r10, [0x1803a8858]
cmp qword [0x1803a8870], 7
cmova r10, qword [0x1803a8858]
test r10, r10
je 0x1800bd4f1
mov r9d, r14d
cmp word [r10], r9w
je 0x1800bd4f1
mov r8, r14
nop dword [rax]
lea rcx, [r10 + r8*2]
lea edx, [r9 + 3]
movzx eax, word [rcx]
xor edx, eax
lea r9d, [r9 + 1]
lea r8, [r8 + 1]
je 0x1800bd4ea
mov word [rcx], dx
cmp word [rcx + 2], 0
jne 0x1800bd4d0
lea r10, [0x1803a8818]
cmp qword [0x1803a8830], 7
cmova r10, qword [0x1803a8818]
test r10, r10
je 0x1800bd541
mov r9d, r14d
cmp word [r10], r9w
je 0x1800bd541
mov r8, r14
nop dword [rax]
lea rcx, [r10 + r8*2]
lea edx, [r9 + 3]
movzx eax, word [rcx]
xor edx, eax
lea r9d, [r9 + 1]
lea r8, [r8 + 1]
je 0x1800bd53a
mov word [rcx], dx
cmp word [rcx + 2], 0
jne 0x1800bd520
lea rcx, [rbp - 0x31]
call fcn.180013f50
mov eax, r14d
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180003590
nop
call fcn.1800e5f80
nop
call fcn.1800086f0
nop
call fcn.1800e5f80
int3