Function at 0x1400566b0
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 - 0x138]
sub rsp, 0x210
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 [0x14013a080]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, rcx
mov r15, qword [0x1401862a0]
movss xmm15, dword [r15 + 0x37e8]
movss xmm0, dword [r15 + 0x37ec]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [r15 + 0x38d4]
movss dword [rsp + 0x70], xmm0
xor r13d, r13d
mov qword [r15 + 0x37e8], r13
mov dword [r15 + 0x38d4], 0x3f4ccccd
movd xmm0, dword [0x140184e48]
cvtdq2ps xmm0, xmm0
or dword [r15 + 0x3f90], 2
movss dword [r15 + 0x3fb0], xmm0
movss dword [r15 + 0x3fb4], xmm0
mov dword [r15 + 0x3f98], 1
mov rax, qword [0x140127020]
mov qword [rsp + 0x50], rax
cmp byte [str._jRTKjWQ_.5C], r13b
je 0x140056915
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400568cb
movdqa xmm4, xmmword [0x140128040]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_35
movd xmm5, eax
movdqa xmm2, xmmword [0x140127ea0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140127ed0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140127f10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [rsp + 0x50]
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm3, xmmword [0x140127ec0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140127ed0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140127f10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, dword [rsp + 0x54]
xorps xmm2, xmm0
movd dword [rsp + 0x54], xmm2
jmp 0x140056915
lea r9, [rsp + 0x50]
mov r8d, r13d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x39
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400568e0
mov r8d, Ordinal_46
lea rdx, [0x14018f5c9]
lea rcx, [rsp + 0x50]
call fcn.14000f090
test al, al
je 0x14005701a
mov rcx, qword [0x1401862a0]
mov rax, qword [rcx + 0x3e90]
movss xmm12, dword [rax + 0x20]
movss xmm9, dword [rax + 0x24]
movss xmm10, dword [rax + 0x18]
movss xmm11, dword [rax + 0x1c]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3e90]
mov rdi, qword [rax + 0x280]
mov rax, qword [rcx + 0x4090]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.1400080c0
mov r10, rax
mov ecx, dword [rbx + 0xc]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
movsd xmm8, qword [0x140127bd8]
divsd xmm0, xmm8
cvtpd2ps xmm4, xmm0
mov ecx, dword [rbx + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, xmm8
cvtpd2ps xmm3, xmm0
mov ecx, dword [rbx + 4]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, xmm8
cvtpd2ps xmm2, xmm0
mov eax, dword [rbx]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm2
movss dword [rsp + 0x60], xmm3
movss dword [rsp + 0x64], xmm4
lea rcx, [rsp + 0x58]
call fcn.1400052d0
movaps xmm2, xmm9
mulss xmm2, dword [0x140127b04]
addss xmm2, xmm11
movaps xmm0, xmm10
addss xmm0, xmm12
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm2
movaps xmm1, xmm10
xorps xmm13, xmm13
addss xmm1, xmm13
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x44], xmm2
movss xmm6, dword [0x140127b60]
movss dword [rsp + 0x20], xmm6
mov r9d, eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, r10
call fcn.140025e50
mov rax, qword [0x1401862a0]
mov rax, qword [rax + 0x4090]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.1400080c0
mov r10, rax
mov ecx, dword [rbx + 0xc]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, xmm8
cvtpd2ps xmm4, xmm0
mov ecx, dword [rbx + 8]
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
divsd xmm1, xmm8
cvtpd2ps xmm3, xmm1
mov ecx, dword [rbx + 4]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, xmm8
cvtpd2ps xmm2, xmm0
mov ecx, dword [rbx]
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
divsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm2
movss dword [rsp + 0x60], xmm3
movss dword [rsp + 0x64], xmm4
lea rcx, [rsp + 0x58]
call fcn.1400052d0
movaps xmm0, xmm11
addss xmm0, xmm9
mulss xmm12, dword [0x140127b04]
addss xmm12, xmm10
movss dword [rsp + 0x48], xmm12
movss dword [rsp + 0x4c], xmm0
addss xmm11, xmm13
movss dword [rsp + 0x40], xmm12
movss dword [rsp + 0x44], xmm11
movss dword [rsp + 0x20], xmm6
mov r9d, eax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, r10
call fcn.140025e50
mov r12d, r13d
mov rcx, qword [0x140186820]
mov rsi, qword [0x140186818]
sub rcx, rsi
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14005701a
mov r8, r13
xorps xmm12, xmm12
movss xmm10, dword [0x140127ac8]
movss xmm9, dword [0x140127b44]
movsd xmm8, qword [0x140127b88]
movss xmm14, dword [0x140127bc8]
movss xmm11, dword [0x140127be8]
nop word [rax + rax]
lea rbx, [r8 + r8*8]
movzx eax, byte [rsi + rbx*8]
mov byte [rbp + 0x10], al
mov eax, dword [rsi + rbx*8 + 4]
mov dword [rbp + 0x14], eax
lea rdx, [rbx + 1]
lea rdx, [rsi + rdx*8]
lea rcx, [rbp + 0x18]
call fcn.14006eb40
mov rcx, qword [rsi + rbx*8 + 0x28]
mov qword [rbp + 0x38], rcx
mov r14, qword [rsi + rbx*8 + 0x30]
mov qword [rbp + 0x40], r14
mov rax, qword [rsi + rbx*8 + 0x38]
mov qword [rbp + 0x48], rax
mov eax, dword [rsi + rbx*8 + 0x40]
mov dword [rbp + 0x50], eax
cmp byte [0x14018f5de], 0
je 0x140056c1b
cmp rcx, qword [0x140186400]
je 0x140056fa4
cmp byte [0x14018f5c0], 0
je 0x140056c30
cmp eax, dword [0x1401863e8]
je 0x140056fa4
add rcx, 0x198
call fcn.140070080
test rax, rax
je 0x140056fa4
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movsd qword [rbp], xmm12
lea rsi, [rbp + 0x138]
mov rbx, qword [rsi]
mov qword [rsi], r13
lea rcx, [rax + 0x128]
mov r8d, Ordinal_26
lea rdx, [rbp - 0x10]
call fcn.14004cb70
mov qword [rsi], rbx
movups xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rbp]
movsd qword [rbp - 0x20], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.140056420
test r14, r14
jne 0x140056ca6
xor al, al
jmp 0x140056ccc
lea rcx, [r14 + 0x360]
call fcn.14006ff70
movaps xmm6, xmm0
lea rcx, [r14 + 0x368]
call fcn.14006ff70
addss xmm0, xmm10
comiss xmm0, xmm6
setae al
movd xmm7, dword [rsp + 0x68]
cvtdq2pd xmm7, xmm7
movd xmm6, dword [rsp + 0x50]
cvtdq2pd xmm6, xmm6
mov ecx, dword [reloc.WS2_32.dll_accept]
cmp ecx, 1
jne 0x140056d8f
test al, al
je 0x140056d21
mov rax, qword [0x1401862a0]
mov qword [rbp - 0x70], 0x3f800000
mov dword [rbp - 0x68], 0
movss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x64], xmm0
lea rcx, [rbp - 0x70]
call fcn.1400052d0
jmp 0x140056d26
mov eax, 0xffffffff
movaps xmm0, xmm6
addsd xmm0, xmm8
cvtpd2ps xmm2, xmm0
movaps xmm1, xmm7
addsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x78], xmm2
subsd xmm6, xmm8
cvtpd2ps xmm1, xmm6
subsd xmm7, xmm8
cvtpd2ps xmm0, xmm7
movss dword [rsp + 0x7c], xmm0
movss dword [rbp - 0x80], xmm1
movss dword [rsp + 0x30], xmm9
movss dword [rsp + 0x20], xmm13
mov r9d, eax
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x7c]
mov rcx, rdi
call fcn.140025fb0
jmp 0x140056fa4
cmp ecx, 2
jne 0x140056e34
test al, al
je 0x140056dca
mov rax, qword [0x1401862a0]
mov qword [rbp - 0x60], 0x3f800000
mov dword [rbp - 0x58], 0
movss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x54], xmm0
lea rcx, [rbp - 0x60]
call fcn.1400052d0
jmp 0x140056dcf
mov eax, 0xffffffff
movaps xmm0, xmm6
addsd xmm0, xmm8
cvtpd2ps xmm2, xmm0
movaps xmm1, xmm7
addsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
movss dword [rbp - 0x7c], xmm0
movss dword [rbp - 0x78], xmm2
subsd xmm6, xmm8
cvtpd2ps xmm1, xmm6
subsd xmm7, xmm8
cvtpd2ps xmm0, xmm7
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
mov dword [rsp + 0x28], r13d
movss dword [rsp + 0x20], xmm13
mov r9d, eax
lea r8, [rbp - 0x7c]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400260c0
jmp 0x140056fa4
cmp ecx, 3
jne 0x140056ef6
test al, al
je 0x140056e90
mov rax, qword [0x1401862a0]
mov qword [rbp - 0x50], 0x3f800000
mov dword [rbp - 0x48], 0
movss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x44], xmm0
lea rcx, [rbp - 0x50]
call fcn.1400052d0
mov ebx, eax
cvtpd2ps xmm1, xmm6
cvtpd2ps xmm0, xmm7
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
test eax, 0xff000000
je 0x140056fa4
jmp 0x140056ea9
mov ebx, 0xffffffff
cvtpd2ps xmm0, xmm7
movss dword [rsp + 0x40], xmm0
cvtpd2ps xmm1, xmm6
movss dword [rsp + 0x44], xmm1
mov dword [rsp + 0x20], Ordinal_50
xor r9d, r9d
movaps xmm2, xmm14
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140024f80
mov r8d, dword [rdi + 0x78]
dec r8d
mov dword [rdi + 0x78], r8d
movss dword [rsp + 0x28], xmm9
mov dword [rsp + 0x20], 1
mov r9d, ebx
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
call fcn.140023ad0
jmp 0x140056fa0
cmp ecx, 4
jne 0x140056fa4
test al, al
je 0x140056f4e
mov rax, qword [0x1401862a0]
mov qword [rbp - 0x40], 0x3f800000
mov dword [rbp - 0x38], 0
movss xmm0, dword [rax + 0x37e0]
movss dword [rbp - 0x34], xmm0
lea rcx, [rbp - 0x40]
call fcn.1400052d0
mov ebx, eax
cvtpd2ps xmm1, xmm6
cvtpd2ps xmm0, xmm7
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
test eax, 0xff000000
je 0x140056fa4
jmp 0x140056f67
mov ebx, 0xffffffff
cvtpd2ps xmm0, xmm7
movss dword [rsp + 0x48], xmm0
cvtpd2ps xmm1, xmm6
movss dword [rsp + 0x4c], xmm1
mov dword [rsp + 0x20], Ordinal_50
xor r9d, r9d
movaps xmm2, xmm11
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140024f80
mov r8d, dword [rdi + 0x78]
dec r8d
mov dword [rdi + 0x78], r8d
mov r9d, ebx
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
call fcn.1400249e0
mov dword [rdi + 0x78], r13d
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140056fdf
inc rdx
mov rcx, qword [rbp + 0x18]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140056fda
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400570ab
call fcn.1400d6014
inc r12d
mov r8d, r12d
mov rcx, qword [0x140186820]
mov rsi, qword [0x140186818]
sub rcx, rsi
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x140056bc0
call fcn.140011440
movss dword [r15 + 0x37e8], xmm15
movss xmm0, dword [rsp + 0x6c]
movss dword [r15 + 0x37ec], xmm0
movss xmm1, dword [rsp + 0x70]
movss dword [r15 + 0x38d4], xmm1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400d5f90
lea r11, [rsp + 0x210]
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]
int3