Function at 0x140016bb0
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1401973d0]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r14, rdx
mov r15, rcx
mov qword [rbp + 0x60], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x50]
call fcn.140120b10
mov rbx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140016c11
mov rbx, qword [r14]
lea rax, [0x140174fa8]
mov qword [rsp + 0x50], rax
mov qword [rbp + 8], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov dword [rsp + 0x20], 8
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp], rax
mov dword [rbp - 4], 0x98
mov qword [rsp + 0x58], r12
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp]
call fcn.14000c430
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.14000aee0
nop
mov r9d, 0x40
lea r8d, [r9 - 0x1f]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14000ed90
mov ebx, 6
lea r13d, [rbx - 4]
test rax, rax
jne 0x140016ce0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov eax, ebx
cmp qword [rbp + rcx - 0x68], 0
cmovne eax, r13d
or eax, dword [rsp + rcx + 0x60]
and eax, 0x17
mov dword [rsp + rcx + 0x60], eax
and eax, dword [rsp + rcx + 0x64]
jne 0x14001723d
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x60], 6
jne 0x1400171b4
mov qword [rbp + 0x180], r12
mov dword [rbp + 0x170], 0x67452301
mov dword [rbp + 0x174], 0xefcdab89
mov dword [rbp + 0x178], 0x98badcfe
mov dword [rbp + 0x17c], 0x10325476
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140017ed0
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140017df0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140017ed0
mov ecx, 0x2000
call fcn.14011e058
mov rsi, rax
xor edx, edx
mov r8d, 0x2000
mov rcx, rax
call fcn.140120b10
mov qword [rbp + 0x60], rsi
mov rdi, r12
mov r8d, 0x2000
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400180d0
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdx + 0x10], 6
jne 0x140016ddb
nop word [rax + rax]
mov r8, qword [rsp + 0x58]
add rdi, r8
mov rdx, rsi
lea rcx, [rbp + 0x170]
call fcn.140016010
mov r8d, 0x2000
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400180d0
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdx + 0x10], 6
je 0x140016da0
mov r8, qword [rsp + 0x58]
test r8, r8
jle 0x140016df7
add rdi, r8
mov rdx, rsi
lea rcx, [rbp + 0x170]
call fcn.140016010
lea rcx, [rsp + 0x60]
call fcn.14000acd0
test rax, rax
jne 0x140016e2e
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x68], 0
cmovne ebx, r13d
or ebx, dword [rsp + rcx + 0x60]
and ebx, 0x17
mov dword [rsp + rcx + 0x60], ebx
and ebx, dword [rsp + rcx + 0x64]
jne 0x140017292
mov rcx, qword [rbp + 0x68]
add rcx, qword [rbp + 0x70]
cmp rdi, rcx
jne 0x140017127
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x2c0]
call fcn.140016120
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x80]
call fcn.140120b10
mov edx, 1
lea rcx, [rbp + 0x80]
call fcn.140017b00
nop
mov rbx, r12
nop dword [rax + rax]
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx + 0x98]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx + 0x98], eax
mov rdx, r13
lea rcx, [rsp + 0x28]
call fcn.14011b7d0
mov r8, rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
add rcx, rax
mov rdx, qword [r8 + 8]
call qword [r8]
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0xd8], 0x30
movzx edx, byte [rbp + rbx + 0x2c0]
xor edx, 8
lea rcx, [rbp + 0x80]
call fcn.140017be0
inc rbx
cmp rbx, 0x10
jl 0x140016e80
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.14000e180
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x2c0], xmm0
mov qword [rbp + 0x2d0], r12
mov qword [rbp + 0x2d8], 0xf
mov byte [rbp + 0x2c0], 0
mov dword [rsp + 0x20], 0xc
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp + 0xf8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140016f7f
mov rax, qword [rbp + 0xc8]
mov r8, qword [rax]
test r8, r8
je 0x140016f7f
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xf0]
cmovb r8, qword [rbp + 0xf0]
sub r8, rdx
jmp 0x140016fb9
test cl, 4
jne 0x140016faf
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140016faf
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xd8]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140016fb9
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140016fcb
lea rcx, [rbp + 0x2c0]
call fcn.140018350
nop
movups xmm0, xmmword [rbp + 0x2c0]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp + 0x2d0]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp + 0x2d0], r12
mov qword [rbp + 0x2d8], 0xf
mov byte [rbp + 0x2c0], 0
lea rcx, [rbp + 0x2c0]
call fcn.140010cc0
nop
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x88]
call fcn.140017940
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x7c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp + 0x108], rbx
lea rcx, [rbp + 0x108]
call fcn.14011ab80
nop
mov rcx, rsi
call fcn.14011e050
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.140008b90
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rdx + 0x50], rax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x18]
mov dword [rsp + rdx + 0x4c], r8d
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.14011ab80
nop
mov rax, r15
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14011e030
mov rbx, qword [rsp + 0x440]
add rsp, 0x3f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x1d0]
call fcn.140017380
mov edx, 1
lea rcx, [rbp + 0x1d0]
call fcn.140017b00
nop
lea rdx, str.FATAL_ERROR:_read
lea rcx, [rbp + 0x1d0]
call fcn.14000cbb0
mov rcx, rax
mov rdx, r14
call fcn.14000cef0
mov rcx, rax
lea rdx, str._failed_
call fcn.14000cbb0
mov rcx, rax
lea rdx, [0x1400184b0]
call fcn.140009320
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x1d0]
call fcn.140017a40
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000fef0
lea rdx, [0x140194658]
lea rcx, [rsp + 0x28]
call fcn.140120214
nop
lea rcx, [rbp + 0x1d0]
call fcn.140017380
mov edx, 1
lea rcx, [rbp + 0x1d0]
call fcn.140017b00
nop
lea rdx, str.FATAL_ERROR:
lea rcx, [rbp + 0x1d0]
call fcn.14000cbb0
mov rcx, rax
mov rdx, r14
call fcn.14000cef0
mov rcx, rax
lea rdx, str._cant_be_opened
call fcn.14000cbb0
mov rcx, rax
lea rdx, [0x1400184b0]
call fcn.140009320
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x1d0]
call fcn.140017a40
nop
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.14000fef0
lea rdx, [0x140194658]
lea rcx, [rbp + 0x68]
call fcn.140120214
nop
test al, 4
je 0x14001724a
lea rbx, str.ios_base::badbit_set
jmp 0x14001725f
test r13b, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x2c0]
call fcn.140010310
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140010080
lea rdx, [0x140194580]
lea rcx, [rsp + 0x28]
call fcn.140120214
nop
test bl, 4
je 0x1400172a0
lea rbx, str.ios_base::badbit_set
jmp 0x1400172b5
test bl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0x2c0]
call fcn.140010310
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140010080
lea rdx, [0x140194580]
lea rcx, [rsp + 0x28]
call fcn.140120214
int3