Function at 0x1400bbe80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100b0]
mov eax, 0x101b0
call fcn.14012f220
sub rsp, rax
movaps xmmword [rsp + 0x101a0], xmm6
movaps xmmword [rsp + 0x10190], xmm7
movaps xmmword [rsp + 0x10180], xmm8
mov rax, qword [0x1401b66f8]
xor rax, rsp
mov qword [rbp + 0x10070], rax
movsxd r14, ecx
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], r13b
cmp edx, 1
jne 0x1400bc4f5
movsd xmm0, qword [str.FPDerDLiUIH]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x140198778]
mov dword [rsp + 0x38], eax
mov r15d, edx
lea r12d, [r13 + 0x1f]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x14019877b], r13b
je 0x1400bc07f
mov r8d, r13d
cmp esi, 2
jl 0x1400bc03c
movdqa xmm4, xmmword [0x140198cf0]
movd xmm6, edx
movd xmm5, r12d
movdqa xmm2, xmmword [0x140198b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198ba0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140198d10]
movd xmm0, dword [str.FPDerDLiUIH]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140198b20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198ba0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140198d10]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x1400bc050
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400bc0a0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14001fd20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400ba380
mov rdi, rax
lea rax, [rbp - 8]
cmp rax, rdi
je 0x1400bc13f
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400bc111
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc10c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, r12
jbe 0x1400bc10c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012e950
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rcx, [rsp + 0x60]
call fcn.14000c460
mov eax, dword [str.fxy6]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x14018fe94]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor al, 0x36
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400bc190
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14001fd20
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rcx, qword [rbp - 8]
mov r8, qword [rbp + 8]
cmp r8, qword [rsp + 0x50]
jne 0x1400bc1e0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400bc7de
lea rcx, [rsp + 0x40]
call fcn.14000c460
movups xmm0, xmmword [0x140198780]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x140198790]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1401987a0]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x1401987b0]
movsd qword [rbp - 0x10], xmm0
cmp esi, 2
jl 0x1400bc35d
movdqa xmm5, xmmword [0x140198b10]
mov edx, r13d
movdqa xmm4, xmmword [0x140198cf0]
movd xmm6, r15d
movdqa xmm7, xmmword [0x140198ba0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x140198d10]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp - 0x3c]
mov r8d, dword [rsp + 0x30]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x38
jl 0x1400bc260
jmp 0x1400bc39f
lea r9, [rbp - 0x40]
mov r8d, r13d
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x38
jl 0x1400bc370
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp - 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400bc3b5
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.14001fd20
nop
movzx eax, word [0x140198768]
mov word [rsp + 0x30], ax
cmp byte [0x140198769], 0
je 0x1400bc3ec
mov byte [rsp + 0x30], Ordinal_41
xor byte [rsp + 0x31], 0x33
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400bc400
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.14001fd20
nop
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rdx, qword [rbp - 8]
mov r8, qword [rbp + 8]
lea rcx, [rbp - 0x80]
call fcn.14001bf30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp - 0x60]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140020fe0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400bc4a7
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc4a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc4a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012e950
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp + 8], xmm1
movdqa xmm0, xmmword [0x140198ad0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
call fcn.14000c460
nop
lea rcx, [rsp + 0x60]
call fcn.14000c460
nop
lea rcx, [rbp - 0x80]
call fcn.14000c460
nop
lea rcx, [rbp - 0x60]
jmp 0x1400bc7fd
movsd xmm0, qword [0x1401987b8]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1401987c0]
mov dword [rsp + 0x38], eax
cmp byte [0x1401987c3], 0
je 0x1400bc67f
mov r8d, r13d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400bc63e
movdqa xmm4, xmmword [0x140198cf0]
mov r15d, 1
movd xmm6, r15d
mov r12d, Ordinal_33
movd xmm5, r12d
movdqa xmm2, xmmword [0x140198b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198ba0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
mov eax, dword [0x140198d10]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1401987b8]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140198b20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198ba0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x1400bc650
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400bc6a0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14001fd20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400ba380
mov rdi, rax
lea rax, [rbp - 8]
cmp rax, rdi
je 0x1400bc740
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400bc712
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc70d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bc70d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012e950
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rcx, [rsp + 0x60]
call fcn.14000c460
mov eax, dword [str.fxy6]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x14018fe94]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor al, 0x36
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x30]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400bc790
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14001fd20
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rcx, qword [rbp - 8]
mov r8, qword [rbp + 8]
cmp r8, qword [rsp + 0x50]
jne 0x1400bc7f8
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400bc7f8
lea rcx, [rsp + 0x40]
call fcn.14000c460
mov rax, qword [0x1401bb9b8]
mov dword [rax + 0x44], r13d
jmp 0x1400bc95e
lea rcx, [rsp + 0x40]
call fcn.14000c460
mov rax, qword [0x1401bb698]
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rcx, qword [rbp - 8]
xor r8d, r8d
xor r9d, r9d
xor edx, edx
call rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400bc954
mov r10, qword [0x1401bb6a8]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x18]
mov r8d, 0xffff
lea rdx, [rbp + 0x70]
mov rcx, rdi
call r10
test eax, eax
je 0x1400bc954
mov rax, qword [0x1401b6830]
movss xmm1, dword [rax + 0x2a8]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
jp 0x1400bc905
jne 0x1400bc905
mov rbx, r14
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rsi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rsi, 0x989680
jne 0x1400bc89c
imul rax, rax, 0x64
jmp 0x1400bc8b7
cqo
idiv rsi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
add rax, rcx
mov qword [rsp + 0x30], rax
test r14d, r14d
je 0x1400bc8f9
js 0x1400bc8f9
imul rdx, rbx, 0xf4240
movabs r8, 0x7fffffffffffffff
mov rcx, r8
sub rcx, rdx
cmp rax, rcx
jge 0x1400bc8f4
lea rcx, [rax + rdx]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call fcn.140024100
jmp 0x1400bc954
mov qword [rsp + 0x30], r8
lea rcx, [rsp + 0x30]
call fcn.140024100
jmp 0x1400bc954
cmp r14d, 0xa
jge 0x1400bc916
cvttsd2si rax, qword [0x1401988c8]
jmp 0x1400bc937
mov eax, 0xcccccccd
mul r14d
shr edx, 3
movd xmm0, edx
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_round
cvttsd2si rax, xmm0
test eax, eax
je 0x1400bc954
mov ebx, eax
nop dword [rax]
mov edx, 0xa
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_Beep]
sub rbx, 1
jne 0x1400bc940
mov rcx, rdi
call qword [0x1401bb680]
nop
lea rcx, [rbp - 8]
call fcn.14000c460
mov rcx, qword [rbp + 0x10070]
xor rcx, rsp
call fcn.14012e5c0
lea r11, [rsp + 0x101b0]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret