Function at 0x140005e20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1400a7080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x80], rdx
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140005e72
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
call fcn.14008259c
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140003570
nop
lea rcx, [rsp + 0x40]
call fcn.140003f70
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140005ef0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005eeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005eeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082e6c
movdqa xmm0, xmmword [0x140098f10]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
test bl, bl
jne 0x140006031
mov byte [rbp - 0x80], Ordinal_200
mov byte [rbp - 0x7f], 0xed
mov byte [rbp - 0x7e], 0xe2
mov byte [rbp - 0x7d], 0xe2
mov byte [rbp - 0x7c], 0xab
mov byte [rbp - 0x7b], Ordinal_217
mov byte [rbp - 0x7a], 0xf6
mov byte [rbp - 0x79], 0xe4
mov byte [rbp - 0x78], 0xb8
mov byte [rbp - 0x77], 0xdb
mov byte [rbp - 0x76], 0xf0
mov byte [rbp - 0x75], 0xee
mov byte [rbp - 0x74], 0xf4
mov byte [rbp - 0x73], 0xf0
mov byte [rbp - 0x72], __WSAFDIsSet
movzx eax, byte [rbp - 0x80]
mov r9, r14
movabs r11, 0xdfcdda9b2894938b
mov r10, r11
lea rax, [rbp - 0x80]
sub r10, rax
mov ebx, reloc.WS2_32.dll_ntohs
nop dword [rax + rax]
lea r8, [rbp - 0x80]
add r8, r9
mov rcx, r9
and ecx, ebx
cmp rcx, rbx
cmovae rcx, rbx
shl cl, 2
mov rdx, r11
shr rdx, cl
and dl, bl
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rbp + r9 - 0x80], dl
inc r9
cmp r9, rbx
jb 0x140005f70
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140005fe1
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140005fdc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006230
mov rcx, r8
call fcn.140082e6c
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rbx
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140006026
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140006021
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006237
mov rcx, r8
call fcn.140082e6c
mov qword [rdi + 0x10], r14
mov al, 1
jmp 0x1400061ff
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14000e910
nop
mov qword [rsp + 0x78], r14
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x68]
call fcn.140011eb0
movzx r13d, byte [rbp - 0x68]
cmp r13b, 1
jne 0x140006120
mov r12, qword [rbp - 0x60]
mov r14, qword [r12]
mov qword [rsp + 0x30], r14
mov rbx, qword [r14 + 8]
mov r15, r14
cmp byte [rbx + 0x19], 0
jne 0x1400060ed
mov r12, qword [rdi + 0x10]
mov r13, qword [rdi + 0x18]
nop word [rax + rax]
lea rcx, [rbx + 0x20]
mov rdx, rdi
cmp r13, 0xf
jbe 0x1400060b0
mov rdx, qword [rdi]
mov r14, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400060be
mov rcx, qword [rcx]
mov r8, r14
cmp r12, r14
cmovb r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140006115
js 0x14000611a
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1400060a0
mov r14, qword [rsp + 0x30]
mov r12, qword [rbp - 0x60]
movzx r13d, byte [rbp - 0x68]
cmp byte [r15 + 0x19], 0
jne 0x140006107
lea r8, [r15 + 0x20]
mov rdx, rdi
mov rcx, r12
call fcn.14001b420
test al, al
je 0x14000610a
mov r15, r14
cmp r15, qword [r12]
je 0x140006120
mov r14b, 1
jmp 0x140006123
cmp r14, r12
jae 0x1400060d3
mov rbx, qword [rbx + 0x10]
jmp 0x1400060d9
xor r14b, r14b
movzx edx, r13b
lea rcx, [rbp - 0x60]
call fcn.140010750
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.14000e8a0
lea rcx, [rbp - 0x38]
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 + 0x60]
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 [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400061af
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400061aa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006230
mov rcx, r8
call fcn.140082e6c
xor r15d, r15d
mov qword [rsi + 0x10], r15
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x18], rbx
mov byte [rsi], r15b
mov rdx, qword [rdi + 0x18]
cmp rdx, rbx
jbe 0x1400061f7
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400061f2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006237
mov rcx, r8
call fcn.140082e6c
mov qword [rdi + 0x10], r15
movzx eax, r14b
mov byte [rdi], 0
mov qword [rdi + 0x18], rbx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140082b00
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
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]
int3