Function at 0x1800bc920
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 [0x18039f648], r14
je 0x1800bc961
cmp qword [0x18039f668], r14
je 0x1800bc961
xor eax, eax
jmp 0x1800bd57d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r14
movups xmm3, xmmword [str.lcWT_FBEAeohyo_]
movups xmmword [rbp - 0x51], xmm3
movsd xmm0, qword [0x180186ae0]
movsd qword [rbp - 0x41], xmm0
mov eax, dword [0x180186ae8]
mov dword [rbp - 0x39], eax
movzx eax, word [0x180186aec]
mov word [rbp - 0x35], ax
mov r8d, r14d
mov r13d, dword [reloc.WS2_32.dll_accept]
cmp r13d, 2
jl 0x1800bca8c
movdqa xmm4, xmmword [0x180187650]
movdqa xmm2, xmmword [0x1801873c0]
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 [0x180187430]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x180187500]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rbp - 0x51], xmm2
movdqa xmm3, xmmword [0x180187400]
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 [0x180187430]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x180187500]
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, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0xf
jl 0x1800bcaa0
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.1800bc620
test eax, eax
je 0x1800bcaf0
mov r14d, 1
jmp 0x1800bd571
lea rax, [rbp - 0x71]
mov qword [rbp + 0x67], rax
movups xmm7, xmmword [0x180186b10]
movups xmmword [rsp + 0x40], xmm7
pextrw eax, xmm7, 7
test ax, ax
je 0x1800bcc44
cmp r13d, 2
jl 0x1800bcc02
movdqa xmm4, xmmword [0x180187650]
movdqa xmm6, xmmword [0x180187500]
movdqa xmm2, xmmword [0x1801873c0]
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 [0x180187430]
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 [0x180187400]
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 [0x180187430]
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 0x1800bcc44
lea r9, [rsp + 0x40]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x1800bcc10
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 0x1800bcc62
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x71]
call fcn.180008fd0
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 0x1800bcd0c
movabs rax, 0x7ffffffffffffff
cmp rdx, rax
ja 0x1800bd5ae
lea rcx, [rbp - 0x51]
call fcn.180014080
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 0x1800bccfd
mov rdx, rdi
mov rcx, rbx
call fcn.180007a90
add rbx, 0x20
mov qword [rsp + 0x48], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x1800bcce0
mov rdx, rbx
mov rcx, rbx
call fcn.180013fe0
mov qword [rbp - 0x49], rbx
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x19]
call fcn.1800bd5c0
mov rbx, rax
lea r12, [0x18039f638]
cmp r12, rax
je 0x1800bcdb5
mov rdx, qword [0x18039f650]
cmp rdx, 7
jbe 0x1800bcd76
mov rcx, qword [0x18039f638]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800bcd71
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800bd5b4
mov rcx, r8
call fcn.1800d9c4c
mov qword [0x18039f648], r14
mov qword [0x18039f650], 7
mov word [0x18039f638], r14w
movups xmm0, xmmword [rbx]
movups xmmword [0x18039f638], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x18039f648], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1800bcdf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bcdf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bd5b4
call fcn.1800d9c4c
mov rsi, qword [0x18039f648]
test rsi, rsi
jne 0x1800bce0a
lea r14d, [rsi + 2]
jmp 0x1800bd571
movups xmm7, xmmword [0x180186b10]
movups xmmword [rsp + 0x40], xmm7
pextrw eax, xmm7, 7
test ax, ax
je 0x1800bcf54
cmp r13d, 2
jl 0x1800bcf14
movdqa xmm4, xmmword [0x180187650]
movdqa xmm6, xmmword [0x180187500]
movdqa xmm2, xmmword [0x1801873c0]
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 [0x180187430]
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 [0x180187400]
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 [0x180187430]
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 0x1800bcf54
lea r9, [rsp + 0x40]
mov r8d, r14d
nop dword [rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x1800bcf20
lea rcx, [rsp + 0x40]
mov rax, r15
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800bcf60
mov rcx, r12
cmp qword [0x18039f650], 7
cmova rcx, qword [0x18039f638]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
call fcn.180015bb0
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 [0x18039f650], 7
cmova rdx, qword [0x18039f638]
lea rcx, [rbp - 0x71]
call fcn.180008fd0
mov rdx, qword [0x18039f630]
cmp rdx, 7
jbe 0x1800bd00e
mov rcx, qword [0x18039f618]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800bd009
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800bd5a8
mov rcx, r8
call fcn.1800d9c4c
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [0x18039f618], xmm0
movups xmm1, xmmword [rbp - 0x61]
movups xmmword [0x18039f628], xmm1
movups xmm0, xmmword [str.lcWT_FBEAeohyob_s_S_GPE7]
movups xmmword [rbp - 0x71], xmm0
movups xmm1, xmmword [0x180186b00]
movups xmmword [rbp - 0x61], xmm1
pextrw eax, xmm1, 7
test ax, ax
je 0x1800bd1a4
cmp r13d, 2
jl 0x1800bd167
movdqa xmm5, xmmword [0x1801873c0]
mov edx, r14d
movdqa xmm4, xmmword [0x180187650]
movdqa xmm6, xmmword [0x180187430]
movdqa xmm7, xmmword [0x180187500]
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 0x1800bd080
jmp 0x1800bd1a4
lea r9, [rbp - 0x71]
mov r8d, r14d
nop
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x10
jl 0x1800bd170
lea rax, [rbp - 0x71]
mov rcx, r15
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800bd1b0
mov rdx, qword [0x18039f648]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, rcx
jb 0x1800bd5a2
mov rax, r12
cmp qword [0x18039f650], 7
cmova rax, qword [0x18039f638]
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.180009f50
mov rdx, qword [0x18039f650]
cmp rdx, 7
jbe 0x1800bd24c
mov rcx, qword [0x18039f638]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800bd247
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800bd5a8
mov rcx, r8
call fcn.1800d9c4c
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [0x18039f638], xmm0
movups xmm1, xmmword [rbp - 9]
movups xmmword [0x18039f648], xmm1
movups xmm7, xmmword [0x180186b10]
movups xmmword [rsp + 0x40], xmm7
pextrw eax, xmm7, 7
test ax, ax
je 0x1800bd3b4
cmp r13d, 2
jl 0x1800bd36c
movdqa xmm4, xmmword [0x180187650]
movdqa xmm6, xmmword [0x180187500]
movdqa xmm2, xmmword [0x1801873c0]
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 [0x180187430]
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 [0x180187400]
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 [0x180187430]
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 0x1800bd3b4
lea r9, [rsp + 0x40]
mov r8d, r14d
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x1800bd380
lea rax, [rsp + 0x40]
nop dword [rax]
inc r15
cmp word [rax + r15*2], 0
jne 0x1800bd3c0
mov rbx, qword [0x18039f648]
mov rcx, r12
cmp qword [0x18039f650], 7
cmova rcx, qword [0x18039f638]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
call fcn.180015bb0
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 [0x18039f650], 7
cmova rdx, qword [0x18039f638]
lea rcx, [rbp - 0x71]
call fcn.180008fd0
mov rdx, qword [0x18039f670]
cmp rdx, 7
jbe 0x1800bd476
mov rcx, qword [0x18039f658]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800bd471
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800bd5a8
mov rcx, r8
call fcn.1800d9c4c
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [0x18039f658], xmm0
movups xmm1, xmmword [rbp - 0x61]
movups xmmword [0x18039f668], xmm1
cmp qword [0x18039f650], 7
cmova r12, qword [0x18039f638]
test r12, r12
je 0x1800bd4d1
mov r9d, r14d
cmp word [r12], r9w
je 0x1800bd4d1
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 0x1800bd4ca
mov word [rcx], dx
cmp word [rcx + 2], 0
jne 0x1800bd4b0
lea r10, [0x18039f658]
cmp qword [0x18039f670], 7
cmova r10, qword [0x18039f658]
test r10, r10
je 0x1800bd521
mov r9d, r14d
cmp word [r10], r9w
je 0x1800bd521
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 0x1800bd51a
mov word [rcx], dx
cmp word [rcx + 2], 0
jne 0x1800bd500
lea r10, [0x18039f618]
cmp qword [0x18039f630], 7
cmova r10, qword [0x18039f618]
test r10, r10
je 0x1800bd571
mov r9d, r14d
cmp word [r10], r9w
je 0x1800bd571
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 0x1800bd56a
mov word [rcx], dx
cmp word [rcx + 2], 0
jne 0x1800bd550
lea rcx, [rbp - 0x31]
call fcn.180013f70
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.1800035b0
nop
call fcn.1800e5fb0
nop
call fcn.180008710
nop
call fcn.1800e5fb0
int3