Function at 0x14007ea50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x140130080]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov r15, qword [rdx + 0x10]
mov r14, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14007eaaa
mov r14, qword [rdx]
call fcn.1400f59cc
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.14006c870
mov dword [rsp + 0x40], 6
lea rcx, [rsp + 0x60]
call fcn.14006d150
movzx r14d, al
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14007eb25
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007eb20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007eb20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6600
movdqa xmm0, xmmword [0x14011b140]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
test r14b, r14b
jne 0x14007eca5
mov byte [rsp + 0x30], __WSAFDIsSet
mov byte [rsp + 0x31], 0xbc
mov byte [rsp + 0x32], 0xb6
mov byte [rsp + 0x33], 0xb1
mov byte [rsp + 0x34], 0xf9
mov byte [rsp + 0x35], __WSAFDIsSet
mov byte [rsp + 0x36], 0xb4
mov byte [rsp + 0x37], 0xa7
mov byte [rsp + 0x38], 0xfa
mov byte [rsp + 0x39], 0xab
mov byte [rsp + 0x3a], 0x81
mov byte [rsp + 0x3b], 0x9d
mov byte [rsp + 0x3c], 0x8a
mov byte [rsp + 0x3d], Ordinal_143
mov byte [rsp + 0x3e], 0xea
movzx eax, byte [rsp + 0x30]
mov r9, r12
movabs r11, 0xbfd7afd5d662e3d7
mov r10, r11
lea rax, [rsp + 0x30]
sub r10, rax
mov r15d, reloc.WS2_32.dll_ntohs
lea rdx, [rsp + 0x30]
add rdx, r9
movsx r8, byte [rdx]
mov rcx, r9
and ecx, r15d
cmp rcx, r15
cmovae rcx, r15
shl cl, 2
mov rax, r11
shr rax, cl
and al, r15b
add dl, r10b
xor al, dl
xor al, r8b
mov byte [rsp + r9 + 0x30], al
inc r9
cmp r9, r15
jb 0x14007ebb0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14007ec04
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400621e0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14007ec52
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14007ec4d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007ec9e
mov rcx, r8
call fcn.1400f6600
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r15
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14007ee24
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14007ee1f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14007ee1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp]
call fcn.1400f71be
mov rdx, rbx
lea rcx, [rbp]
call fcn.140084c50
nop
mov qword [rbp - 0x48], r12
lea r8, [rbp - 0x80]
lea rdx, [rbp]
lea rcx, [rbp - 0x10]
call fcn.140088820
nop
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140064e10
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140085020
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x18], r15
mov byte [rdi], 0
mov dword [rsp + 0x40], Ordinal_41
cmp byte [rax], 3
jne 0x14007ee61
mov r9, qword [rax + 8]
cmp rdi, r9
je 0x14007ed58
mov r14, qword [r9 + 0x10]
cmp qword [r9 + 0x18], r15
jbe 0x14007ed31
mov r9, qword [r9]
mov rcx, rdi
cmp r14, r15
ja 0x14007ed4f
mov qword [rdi + 0x10], r14
mov r8, r14
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rdi], 0
jmp 0x14007ed58
mov rdx, r14
call fcn.1400622e0
nop
movzx edx, byte [rbp - 0x10]
lea rcx, [rbp - 8]
call fcn.140086af0
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.140068840
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 rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14007ede3
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14007edde
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007ee53
mov rcx, r8
call fcn.1400f6600
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r15
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14007ee24
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14007ee1f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007ee5a
mov rcx, r8
call fcn.1400f6600
mov rax, rdi
mov byte [rsi], 0
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x10], r12
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400f5ed0
add rsp, 0x220
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rax
call fcn.140086ff0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140094a90
nop
mov r8, rax
lea rcx, [rbp - 0x80]
call fcn.140094b50
lea rdx, [0x14012b478]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3