Function at 0x14004bde0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x570
mov rax, qword [0x1401340e8]
xor rax, rsp
mov qword [rsp + 0x560], rax
xor r12d, r12d
mov dword [rsp + 0x38], r12d
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x370]
call fcn.1400c20e0
movabs rax, 0xcbfd221128068638
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x190], rax
movabs rax, 0xf6ded18574b70496
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x198], rax
movabs rax, 0xb89a4c785c72e34b
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4a0], rax
movabs r13, 0xf6ded18574c16bb8
mov qword [rsp + 0x38], r13
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4a8], rax
vmovdqu xmm0, xmmword [rsp + 0x190]
vpxor xmm1, xmm0, xmmword [rsp + 0x4a0]
vmovdqu xmmword [rsp + 0x190], xmm1
lea rax, [0x14010db20]
mov qword [rsp + 0x370], rax
mov qword [rsp + 0x428], r12
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x450], xmm0
mov qword [rsp + 0x460], r12
mov dword [rsp + 0x38], 1
lea r15, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x420], r15
mov dword [rsp + 0x41c], 0x98
mov qword [rsp + 0x378], r12
xor r8d, r8d
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x420]
call fcn.1400412b0
nop
mov rax, qword [rsp + 0x370]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x370], r14
mov rax, qword [rsp + 0x370]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x36c], edx
lea rcx, [rsp + 0x380]
call fcn.14004fb70
nop
lea r8d, [r12 + 1]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x380]
call fcn.14004fad0
lea edi, [r12 + 6]
lea esi, [rdi - 4]
test rax, rax
jne 0x14004bfcc
mov rax, qword [rsp + 0x370]
movsxd rcx, dword [rax + 4]
mov eax, edi
cmp qword [rsp + rcx + 0x3b8], r12
cmovne eax, esi
or eax, dword [rsp + rcx + 0x380]
and eax, 0x17
mov dword [rsp + rcx + 0x380], eax
mov edx, dword [rsp + rcx + 0x384]
and edx, eax
jne 0x14004c83b
cmp qword [rsp + 0x400], 0
je 0x14004c788
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x350], xmm0
vmovdqu xmm1, xmmword [0x1401171e0]
vmovdqu xmmword [rsp + 0x360], xmm1
mov byte [rsp + 0x350], 0
mov rax, qword [rsp + 0x370]
movsxd rcx, dword [rax + 4]
mov rax, qword [rsp + rcx + 0x3b0]
mov rcx, qword [rax + 8]
mov qword [rsp + 0xe8], rcx
mov rax, qword [rcx]
call qword [rax + htons]
nop
lea rcx, [rsp + 0xe0]
call fcn.14003df90
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx ebx, al
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x14004c070
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14004c070
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx r8d, bl
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x370]
call fcn.140050c10
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x330]
call fcn.1400260c0
mov r10d, r12d
cmp qword [rsp + 0x340], r10
jbe 0x14004c102
mov r9, r12
nop
lea rcx, [rsp + 0x330]
cmp qword [rsp + 0x348], 0x10
setae r8b
cmovae rcx, qword [rsp + 0x330]
movzx ecx, byte [rcx + r9]
xor cl, 0x32
lea rax, [rsp + 0x330]
test r8b, r8b
cmovne rax, qword [rsp + 0x330]
mov byte [rax + r9], cl
inc r10d
lea r9, [r9 + 1]
movsxd rax, r10d
cmp rax, qword [rsp + 0x340]
jb 0x14004c0b0
mov dword [rsp + 0x38], recv
mov qword [rsp + 0x288], r12
lea r8, [rsp + 0x250]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x320]
call fcn.140028030
nop
cmp byte [rsp + 0x320], 1
jne 0x14004c6f4
movabs rbx, 0xddf72d162e17903e
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x48], r13
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x1b8], rax
movabs rax, 0xb89a4c785c72e34b
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x4c0], rax
mov qword [rsp + 0x48], r13
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x4c8], rax
vmovdqu xmm0, xmmword [rsp + 0x1b0]
vpxor xmm1, xmm0, xmmword [rsp + 0x4c0]
vmovdqu xmmword [rsp + 0x1b0], xmm1
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x320]
call fcn.1400500b0
cmp rax, 1
jne 0x14004c6f4
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x138], rax
movabs rax, 0xb89a4c785c72e34b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4e0], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4e8], rax
vmovdqu xmm0, xmmword [rsp + 0x130]
vpxor xmm1, xmm0, xmmword [rsp + 0x4e0]
vmovdqu xmmword [rsp + 0x130], xmm1
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x168], r12
lea rax, [rsp + 0x130]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004c280
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x150]
call fcn.140028ae0
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x320]
call fcn.1400259b0
cmp byte [rax], 3
jne 0x14004c6f4
movabs rax, 0xdce8230f2f01823b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1d8], rax
movabs rax, 0xb89a4c785c72e34b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x500], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x508], rax
vmovdqu xmm0, xmmword [rsp + 0x1d0]
vpxor xmm1, xmm0, xmmword [rsp + 0x500]
vmovdqu xmmword [rsp + 0x1d0], xmm1
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x320]
call fcn.1400500b0
cmp rax, 1
jne 0x14004c6f4
movabs rax, 0xdce8230f2f01823b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0xb89a4c785c72e34b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x520], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x528], rax
vmovdqu xmm0, xmmword [rsp + 0x60]
vpxor xmm1, xmm0, xmmword [rsp + 0x520]
vmovdqu xmmword [rsp + 0x60], xmm1
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x170], xmm0
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x188], r12
lea rax, [rsp + 0x60]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004c3f3
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x170]
call fcn.140028ae0
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x320]
call fcn.1400259b0
cmp byte [rax], 3
jne 0x14004c6f4
movabs rax, 0xddf72d162e17903e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xc8], rax
movabs rax, 0xb89a4c785c72e34b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x540], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x548], rax
vmovdqu xmm0, xmmword [rsp + 0xc0]
vpxor xmm1, xmm0, xmmword [rsp + 0x540]
vmovdqu xmmword [rsp + 0xc0], xmm1
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], r12
mov qword [rsp + 0x108], r12
lea rax, [rsp + 0xc0]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004c4d0
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xf0]
call fcn.140028ae0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x320]
call fcn.1400259b0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x90], xmm0
vmovdqu xmm1, xmmword [0x1401171e0]
vmovdqu xmmword [rsp + 0xa0], xmm1
mov byte [rsp + 0x90], 0
mov dword [rsp + 0x38], 0x8d
cmp byte [rax], 3
jne 0x14004c895
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x90]
cmp rax, rdx
je 0x14004c569
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004c55b
mov rdx, qword [rdx]
lea rcx, [rsp + 0x90]
call fcn.140034580
nop
mov dword [rsp + 0x38], 0x4d
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rdx, qword [rsp + 0x90]
mov r8d, 0x3f
lea rcx, [0x140153220]
call fcn.1400d7220
lea rcx, [rsp + 0x90]
call fcn.140027510
movabs rax, 0xdce8230f2f01823b
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
movabs rax, 0xb89a4c785c72e34b
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x480], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x488], rax
vmovdqu xmm0, xmmword [rsp + 0x50]
vpxor xmm1, xmm0, xmmword [rsp + 0x480]
vmovdqu xmmword [rsp + 0x50], xmm1
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], r12
mov qword [rsp + 0x128], r12
lea rax, [rsp + 0x50]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004c637
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.140028ae0
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x320]
call fcn.1400259b0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x70], xmm0
vmovdqu xmm1, xmmword [0x1401171e0]
vmovdqu xmmword [rsp + 0x80], xmm1
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x38], WSAStartup
cmp byte [rax], 3
jne 0x14004c8df
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x70]
cmp rax, rdx
je 0x14004c6c3
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004c6b8
mov rdx, qword [rdx]
lea rcx, [rsp + 0x70]
call fcn.140034580
nop
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8d, 0x3f
lea rcx, [0x1401531e0]
call fcn.1400d7220
lea rcx, [rsp + 0x70]
call fcn.140027510
nop
movzx edx, byte [rsp + 0x320]
lea rcx, [rsp + 0x328]
call fcn.140026ed0
nop
jmp 0x14004c722
lea rcx, [rsp + 0x380]
call fcn.14004f9d0
test rax, rax
jne 0x14004c76c
mov rax, qword [rsp + 0x370]
movsxd rcx, dword [rax + 4]
cmp qword [rsp + rcx + 0x3b8], 0
cmovne edi, esi
or edi, dword [rsp + rcx + 0x380]
and edi, 0x17
mov dword [rsp + rcx + 0x380], edi
mov eax, dword [rsp + rcx + 0x384]
and eax, edi
jne 0x14004c929
lea rcx, [rsp + 0x330]
call fcn.140027510
nop
lea rcx, [rsp + 0x350]
call fcn.140027510
nop
mov rax, qword [rsp + 0x370]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x370], r14
mov rax, qword [rsp + 0x370]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x36c], edx
lea rcx, [rsp + 0x380]
call fcn.14004f0c0
mov rax, qword [rsp + 0x370]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x370], r15
mov rax, qword [rsp + 0x370]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x36c], edx
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x420], rax
lea rcx, [rsp + 0x420]
call fcn.1400bdec8
nop
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400bf1c0
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
test dl, 4
je 0x14004c849
lea rbx, str.ios_base::badbit_set
jmp 0x14004c85e
test sil, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1400349f0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x200]
call fcn.1400351d0
lea rdx, [0x1401315a8]
lea rcx, [rsp + 0x200]
call fcn.1400c1948
nop
mov rcx, rax
call fcn.140027340
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x300]
call fcn.1400346e0
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x290]
call fcn.1400286a0
lea rdx, [0x1401310e8]
lea rcx, [rsp + 0x290]
call fcn.1400c1948
nop
mov rcx, rax
call fcn.140027340
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x480]
call fcn.1400346e0
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x2c8]
call fcn.1400286a0
lea rdx, [0x1401310e8]
lea rcx, [rsp + 0x2c8]
call fcn.1400c1948
nop
test al, 4
je 0x14004c936
lea rbx, str.ios_base::badbit_set
jmp 0x14004c94a
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x1f0]
call fcn.1400349f0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x228]
call fcn.1400351d0
lea rdx, [0x1401315a8]
lea rcx, [rsp + 0x228]
call fcn.1400c1948
int3