Function at 0x140067b30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140149080]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor ebx, ebx
mov dword [rbp - 0x60], ebx
lea rcx, [rbp - 0x38]
call fcn.140071080
nop
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp + 0xf0]
call fcn.140057120
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xf0], r13
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xec], edx
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1401272c0]
mov qword [rbp - 0x10], rax
lea rax, [0x140124ea0]
mov qword [rbp], rax
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp - 0x60], 1
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], r12
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 8], rax
mov qword [rbp + 0x70], rbx
mov dword [rbp + 0x78], ebx
lea rdx, [rbp + 0x100]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov edi, ebx
mov qword [rbp - 0x48], rbx
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], r9
mov byte [rbp - 0x58], bl
mov dword [rbp - 0x60], 5
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov ecx, dword [rbp + 0x78]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140067cd2
mov rax, qword [rbp + 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140067cd2
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x70]
cmovb r8, qword [rbp + 0x70]
sub r8, rdx
jmp 0x140067d03
test cl, 4
jne 0x140067cf9
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140067cf9
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140067d03
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140067d19
lea rcx, [rbp - 0x58]
call fcn.14004d5c0
mov r9, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x48]
movdqa xmm0, xmmword [0x14012f610]
movdqu xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x14012f630]
movdqu xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x14012f680]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x20352d1c
mov dword [rsp + 0x64], 0x282d23
mov rcx, rbx
nop word [rax + rax]
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x31], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x32], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x33], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x34], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x35], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x36], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x37], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x38], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x39], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3a], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3b], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3c], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3d], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3e], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x3f], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x40], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x41], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x42], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x43], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x44], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x45], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x46], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x47], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x48], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x49], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x4a], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x4b], al
add rcx, 0x1b
cmp rcx, 0x36
jb 0x140067d60
mov byte [rsp + 0x67], 0
lea rcx, [rsp + 0x31]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140067e72
lea rcx, [rbp - 0x58]
cmp r9, 0x10
setae r14b
mov rsi, qword [rbp - 0x58]
cmovae rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x31]
xor r8d, r8d
mov rdx, rdi
call fcn.140006550
cmp rax, 0xffffffffffffffff
je 0x14006830c
movdqa xmm0, xmmword [0x14012f880]
movdqu xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x14012f8e0]
movdqu xmmword [rsp + 0x78], xmm1
movdqa xmm0, xmmword [0x14012f9e0]
movdqu xmmword [rbp - 0x78], xmm0
mov dword [rbp - 0x68], 0x60756d5c
mov dword [rbp - 0x64], 0x686d63
mov rcx, rbx
nop dword [rax + rax]
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x69], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x6a], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x6b], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x6c], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x6d], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x6e], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x6f], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x70], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x71], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x72], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x73], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x74], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x75], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x76], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x77], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x78], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x79], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x7a], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x7b], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x7c], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x7d], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x7e], al
movzx eax, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x7f], al
movzx eax, byte [rsp + 0x68]
xor byte [rbp + rcx - 0x80], al
movzx eax, byte [rsp + 0x68]
xor byte [rbp + rcx - 0x7f], al
movzx eax, byte [rsp + 0x68]
xor byte [rbp + rcx - 0x7e], al
movzx eax, byte [rsp + 0x68]
xor byte [rbp + rcx - 0x7d], al
add rcx, 0x1b
cmp rcx, 0x36
jb 0x140067ef0
mov byte [rbp - 0x61], 0
lea rcx, [rsp + 0x69]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140068001
lea rcx, [rbp - 0x58]
test r14b, r14b
cmovne rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x69]
xor r8d, r8d
mov rdx, rdi
call fcn.140006550
movdqa xmm0, xmmword [0x14012f940]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x40], Ordinal_46
lea rcx, [rsp + 0x31]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140068050
lea rcx, [rbp - 0x58]
test r14b, r14b
cmovne rcx, rsi
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x31]
mov r8, rax
mov rdx, rdi
call fcn.140006550
cmp rax, 0xffffffffffffffff
je 0x14006830c
lea rcx, [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
cmp rdi, rcx
jb 0x1400684d0
sub rdi, rcx
mov r8, 0xffffffffffffffff
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x58]
test r14b, r14b
cmovne rdx, rsi
add rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.140002330
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140068106
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068101
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400684c9
call fcn.1401058e0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x48], xmm1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400059e0
lea rdi, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
setae r15b
mov r14, qword [rbp - 0x58]
cmovae rdi, r14
mov rsi, qword [rbp - 0x48]
test rsi, rsi
je 0x14006816d
mov r8, rsi
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14006816d
sub rax, rdi
jmp 0x140068174
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
cmp rsi, rax
cmovb rax, rsi
lea rdx, [rbp - 0x58]
test r15b, r15b
cmovne rdx, r14
mov r8, rax
lea rcx, [rsp + 0x30]
call fcn.140002330
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400681e0
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400681db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400684c9
call fcn.1401058e0
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400059e0
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rcx, qword [rbp - 0x58]
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
lea rbx, [rax + 0x150]
lea rcx, [rbp - 0x58]
call fcn.1400059e0
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x10], r12
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
call fcn.140055640
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xf0], r13
mov rcx, qword [rbp + 0xf0]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx + 0xec], r8d
lea rcx, [rbp + 0x100]
call fcn.14004ae10
lea rcx, [rbp + 0x108]
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 + 0x1a0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x38]
call fcn.14004b6a0
mov rax, rbx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1401058c0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movdqa xmm0, xmmword [0x14012f990]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x646f4d61
mov dword [rsp + 0x44], 0x286c65
lea rcx, [rsp + 0x31]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140068336
lea rcx, [rbp - 0x58]
test r14b, r14b
cmovne rcx, rsi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x31]
xor r8d, r8d
mov rdx, rdi
call fcn.140006550
cmp rax, 0xffffffffffffffff
je 0x140068232
lea rcx, [rax + 0x16]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
cmp rdi, rcx
jb 0x1400684d0
sub rdi, rcx
mov r8, 0xffffffffffffffff
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x58]
test r14b, r14b
cmovne rdx, rsi
add rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.140002330
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400683ec
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400683e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400684c9
call fcn.1401058e0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x48], xmm1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400059e0
lea rdi, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
setae r15b
mov r14, qword [rbp - 0x58]
cmovae rdi, r14
mov rsi, qword [rbp - 0x48]
test rsi, rsi
je 0x140068453
mov r8, rsi
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140068453
sub rax, rdi
jmp 0x14006845a
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
cmp rsi, rax
cmovb rax, rsi
lea rdx, [rbp - 0x58]
test r15b, r15b
cmovne rdx, r14
mov r8, rax
lea rcx, [rsp + 0x30]
call fcn.140002330
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400681e0
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400681db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400681db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005db0
int3