Function at 0x1400cb290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], r8
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400cb2ef
mov rax, qword [rdx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14001ca50
nop
mov r8d, 3
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140057290
movsd xmm0, qword [rax]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x20], ecx
lea rax, [0x14072e8a0]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400cb52c
cmp eax, 1
sete bl
lea rcx, [rsp + 0x58]
call fcn.140019100
test bl, bl
je 0x1400cb53b
movsd xmm0, qword [str.s___]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x140530218]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14053021c]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x14053021e]
mov byte [rsp + 0x3e], al
mov r8d, r12d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400cb4ac
movdqa xmm4, xmmword [0x140531080]
movdqa xmm2, xmmword [0x140530ed0]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140530ef0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140530f80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
movd xmm0, dword [str.s___]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140530ee0]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140530ef0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140530f80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
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, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x1400cb4c0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400cb510
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140005c10
jmp 0x1400cb6bb
mov bl, 1
test ecx, ecx
jne 0x1400cb732
jmp 0x1400cb357
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
mov r8d, 1
mov rdx, r14
lea rcx, [rbp]
call fcn.140017760
nop
mov qword [rbp - 0x48], r12
lea r8, [rbp - 0x80]
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.14007e050
nop
cmp byte [rbp - 0x30], 1
jne 0x1400cb645
mov rax, qword [rbp - 0x28]
mov r13, qword [rax]
mov rbx, qword [r13 + 8]
mov r15, r13
cmp byte [rbx + 0x19], 0
jne 0x1400cb5b5
lea rcx, [rbx + 0x20]
mov rdx, rsi
call fcn.140039290
test al, al
jns 0x1400cb5a9
mov rbx, qword [rbx + 0x10]
jmp 0x1400cb5af
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1400cb593
cmp byte [r15 + 0x19], 0
jne 0x1400cb645
lea rdx, [r15 + 0x20]
mov rcx, rsi
call fcn.140039290
test al, al
js 0x1400cb645
cmp r15, r13
je 0x1400cb645
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140018780
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140079fc0
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x50], Ordinal_35
cmp byte [rax], 3
jne 0x1400cb6f9
mov rdx, qword [rax + 8]
cmp rdi, rdx
je 0x1400cb635
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400cb62c
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.1400199e0
nop
movzx edx, byte [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.14007b2a0
nop
jmp 0x1400cb674
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
xor r8d, r8d
lea rdx, [0x140502112]
mov rcx, rdi
call fcn.140005c10
nop
movzx edx, byte [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.14007b2a0
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x10]
call fcn.1400176f0
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, r14
call fcn.140019170
nop
mov rcx, rsi
call fcn.140019170
mov rax, rdi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140297700
mov rbx, qword [rsp + 0x278]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rax
call fcn.14007b730
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.140085a00
nop
mov r8, rax
lea rcx, [rbp - 0x80]
call fcn.140085ac0
lea rdx, [0x140551ca0]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x20]
lea rcx, str.exists
call fcn.140002d70
int3