Function at 0x1400197f0
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 - 0x1b8]
sub rsp, 0x290
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1401b66f8]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x60], r15d
lea r13d, [r15 + 4]
movabs r12, 0x7ffffffffff0bdbf
mov r14d, dword [reloc.WS2_32.dll_accept]
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [0x1401bb080]
cmp byte [0x1401bb050], 0
je 0x140019ac8
test rcx, rcx
jne 0x14001987d
xor ebx, ebx
jmp 0x14001989e
mov dword [rbp + 0x120], r15d
lea rdx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rbp + 0x120], 0x103
sete bl
lea rax, [rbp + 0x38]
mov qword [rsp + 0x60], rax
lea rdx, [0x1401b6810]
lea rcx, [rbp + 0x38]
call fcn.14001c0b0
mov rsi, rax
movups xmm0, xmmword [0x14018f988]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x14018f998]
movups xmmword [rbp - 0x70], xmm1
movzx ecx, byte [0x14018f9a8]
mov byte [rbp - 0x60], cl
mov r8d, r15d
cmp r14d, 2
jl 0x140019a33
movdqa xmm5, xmmword [0x140198b10]
movdqa xmm4, xmmword [0x140198d70]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140198b70]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x140198d10]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x70]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x140019930
cmp r8d, 0x21
jge 0x140019a70
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x21
jl 0x140019a40
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
mov qword [rbp], r15
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140019a90
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x18]
call fcn.14001fd20
nop
movzx r9d, bl
mov r8, rsi
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x98]
call fcn.1400194a0
nop
or edi, 1
jmp 0x140019d0f
test rcx, rcx
jne 0x140019ad1
xor ebx, ebx
jmp 0x140019af2
mov dword [rbp + 0x120], r15d
lea rdx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rbp + 0x120], 0x103
sete bl
lea rax, [rbp + 0x58]
mov qword [rbp + 0x120], rax
lea rdx, [0x1401b6810]
lea rcx, [rbp + 0x58]
call fcn.14001c0b0
mov rsi, rax
movups xmm0, xmmword [str.BCCLnunp]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x14018fc40]
movups xmmword [rbp - 0x70], xmm1
movzx ecx, byte [0x14018fc50]
mov byte [rbp - 0x60], cl
mov r8d, r15d
cmp r14d, 2
jl 0x140019c83
movdqa xmm5, xmmword [0x140198b10]
movdqa xmm4, xmmword [0x140198d70]
movd xmm6, r13d
movdqa xmm7, xmmword [0x140198b70]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x140198d10]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, r8d
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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x140019b80
cmp r8d, 0x21
jge 0x140019cc0
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x21
jl 0x140019c90
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140019ce0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.14001fd20
nop
movzx r9d, bl
mov r8, rsi
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x78]
call fcn.1400194a0
or edi, 2
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x140], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
test dil, 2
je 0x140019d46
and edi, 0xfffffffd
lea rcx, [rbp + 0x78]
call fcn.14000c460
nop
test dil, 1
je 0x140019d5b
and edi, 0xfffffffe
lea rcx, [rbp + 0x98]
call fcn.14000c460
mov rcx, qword [0x1401bb080]
test rcx, rcx
jne 0x140019d6b
xor esi, esi
jmp 0x140019d8d
mov dword [rbp + 0x120], r15d
lea rdx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rbp + 0x120], 0x103
sete sil
movss xmm8, dword [0x1401bb088]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x70], rax
movsd xmm0, qword [str._PUCQVTyYI__]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x14018fdd8]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14018fddc]
mov word [rsp + 0x5c], ax
cmp byte [0x14018fddd], 0
je 0x140019f30
mov r8d, r15d
cmp r14d, 2
jl 0x140019ee9
movdqa xmm4, xmmword [0x140198d70]
movd xmm6, r13d
mov eax, Ordinal_33
movd xmm5, eax
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 [0x140198b70]
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 [str._PUCQVTyYI__]
xorps xmm2, xmm0
movd dword [rsp + 0x50], 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 [0x140198b70]
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 + 0x54]
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140019f00
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140019f50
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.14001fd20
lea rax, [rbp - 0x38]
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x80]
call fcn.14001c0b0
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140019570
mov rbx, rax
mov qword [rsp + 0x70], rax
mov byte [rbp + 0x128], sil
cmp byte [0x1401bb0c0], 0
je 0x14001a159
lea rax, [rbp + 0x128]
mov qword [rsp + 0x40], rax
movss dword [rsp + 0x38], xmm8
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x3e8
mov qword [rsp + 0x20], 0x1f4
lea r9, [rbp - 0x38]
mov r8, rbx
lea rdx, [rbp + 0xb8]
lea rcx, [0x1401b6728]
call fcn.1400184e0
xor r9d, r9d
mov r8, rax
lea rdx, [rbp - 0x58]
call fcn.140011350
or edi, 8
mov dword [rsp + 0x60], edi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001a052
mov rax, qword [rbx + 0x10]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x14001a042
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001a107
mov rcx, r8
call fcn.14012e950
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
lea rcx, [rbp - 0x38]
call fcn.14000c460
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x20]
call fcn.1400a3600
mov rcx, rax
call fcn.140019650
movzx ebx, al
lea rcx, [rbp - 0x58]
call fcn.14000c460
test bl, bl
jne 0x14001a10e
cmp byte [0x1401bb050], bl
sete byte [0x1401bb050]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14001a0b0
imul rax, rax, 0x64
jmp 0x14001a0cb
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r12
jge 0x14001a0d8
add rax, 0xf4240
jmp 0x14001a0e2
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x120]
call fcn.140024100
nop
lea rcx, [rbp + 0x130]
call fcn.14000c460
jmp 0x140019860
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x130]
call fcn.14000c460
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14012e5c0
lea r11, [rsp + 0x290]
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
movss xmm0, dword [0x140198868]
call fcn.14009d4c0
int3