Function at 0x14004c230
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1400fb0c0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14004c28b
mov rax, qword [rdx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
call fcn.1400c9ccc
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400408c0
mov dword [rsp + 0x40], 6
lea rcx, [rsp + 0x60]
call fcn.140041350
movzx r14d, al
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14004c311
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c30c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c30c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ca464
movdqa xmm0, xmmword [0x1400e6800]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r15w
test r14b, r14b
jne 0x14004c495
mov byte [rsp + 0x30], Ordinal_217
mov byte [rsp + 0x31], 0xfd
mov byte [rsp + 0x32], 0xf0
mov byte [rsp + 0x33], 0xf2
mov byte [rsp + 0x34], 0x84
mov byte [rsp + 0x35], 0xe4
mov byte [rsp + 0x36], 0xce
mov byte [rsp + 0x37], 0xde
mov byte [rsp + 0x38], Ordinal_143
mov byte [rsp + 0x39], 0xe1
mov byte [rsp + 0x3a], 0xc0
mov byte [rsp + 0x3b], Ordinal_217
mov byte [rsp + 0x3c], 0xce
mov byte [rsp + 0x3d], Ordinal_200
mov byte [rsp + 0x3e], 0xae
movzx eax, byte [rsp + 0x30]
mov r9, r15
movabs r11, 0x44a8592f93b4829c
mov r10, r11
lea rax, [rsp + 0x30]
sub r10, rax
mov r14d, reloc.WS2_32.dll_ntohs
nop dword [rax]
lea r8, [rsp + 0x30]
add r8, r9
mov rcx, r9
and ecx, r14d
cmp rcx, r14
cmovae rcx, r14
shl cl, 2
mov rdx, r11
shr rdx, cl
and dl, r14b
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x30], dl
inc r9
cmp r9, r14
jb 0x14004c3a0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14004c3f4
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140003360
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14004c442
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004c43d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004c48e
mov rcx, r8
call fcn.1400ca464
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r14
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14004c5f6
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14004c5f1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14004c5ee
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 sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [rbp]
call fcn.14004f420
nop
mov qword [rbp - 0x48], r15
lea r8, [rbp - 0x80]
lea rdx, [rbp]
lea rcx, [rbp - 0x10]
call fcn.140054130
nop
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140003130
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14004f800
nop
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x18], r14
mov byte [rsi], 0
mov dword [rsp + 0x40], Ordinal_41
cmp byte [rax], 3
jne 0x14004c638
mov rdx, qword [rax + 8]
cmp rsi, rdx
je 0x14004c52a
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], r14
jbe 0x14004c521
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.140052970
nop
movzx edx, byte [rbp - 0x10]
lea rcx, [rbp - 8]
call fcn.140051cc0
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.140050770
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 0x14004c5b5
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004c5b0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004c62a
mov rcx, r8
call fcn.1400ca464
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r14
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14004c5f6
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14004c5f1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004c631
mov rcx, r8
call fcn.1400ca464
mov rax, rsi
mov byte [rdi], 0
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400ca400
mov rbx, qword [rsp + 0x268]
add rsp, 0x220
pop r15
pop r14
pop rdi
pop rsi
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.1400521c0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140061790
nop
mov r8, rax
lea rcx, [rbp - 0x80]
call fcn.140061850
lea rdx, [0x1400f64a0]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
int3