Function at 0x14007de40
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 [0x140131080]
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 0x14007de9a
mov r14, qword [rdx]
call fcn.1400f6bcc
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.14007be70
mov dword [rsp + 0x40], 6
lea rcx, [rsp + 0x60]
call fcn.14007c750
movzx r14d, al
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14007df15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007df10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007df10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f7810
movdqa xmm0, xmmword [0x14011be20]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
test r14b, r14b
jne 0x14007e095
mov byte [rsp + 0x30], 0xf6
mov byte [rsp + 0x31], Ordinal_217
mov byte [rsp + 0x32], Ordinal_217
mov byte [rsp + 0x33], Ordinal_217
mov byte [rsp + 0x34], 0x99
mov byte [rsp + 0x35], 0xf1
mov byte [rsp + 0x36], Ordinal_217
mov byte [rsp + 0x37], 0xbf
mov byte [rsp + 0x38], 0xe9
mov byte [rsp + 0x39], 0x84
mov byte [rsp + 0x3a], 0xab
mov byte [rsp + 0x3b], 0xbd
mov byte [rsp + 0x3c], 0xa0
mov byte [rsp + 0x3d], 0xab
mov byte [rsp + 0x3e], 0xc2
movzx eax, byte [rsp + 0x30]
mov r9, r12
movabs r11, 0xb59bc708b61411b9
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 0x14007dfa0
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 0x14007dff4
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140061100
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14007e042
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14007e03d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e08e
mov rcx, r8
call fcn.1400f7810
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r15
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14007e214
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14007e20f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14007e20c
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.1400f83ce
mov rdx, rbx
lea rcx, [rbp]
call fcn.140084cd0
nop
mov qword [rbp - 0x48], r12
lea r8, [rbp - 0x80]
lea rdx, [rbp]
lea rcx, [rbp - 0x10]
call fcn.140088400
nop
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400644a0
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140085090
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 0x14007e251
mov r9, qword [rax + 8]
cmp rdi, r9
je 0x14007e148
mov r14, qword [r9 + 0x10]
cmp qword [r9 + 0x18], r15
jbe 0x14007e121
mov r9, qword [r9]
mov rcx, rdi
cmp r14, r15
ja 0x14007e13f
mov qword [rdi + 0x10], r14
mov r8, r14
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rdi], 0
jmp 0x14007e148
mov rdx, r14
call fcn.140061200
nop
movzx edx, byte [rbp - 0x10]
lea rcx, [rbp - 8]
call fcn.140086ac0
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.140067ed0
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 0x14007e1d3
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14007e1ce
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e243
mov rcx, r8
call fcn.1400f7810
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r15
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14007e214
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14007e20f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e24a
mov rcx, r8
call fcn.1400f7810
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.1400f70e0
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.140086fc0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140094a00
nop
mov r8, rax
lea rcx, [rbp - 0x80]
call fcn.140094ac0
lea rdx, [0x14012c330]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3