Function at 0x140067cc0
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 - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14014a080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor edi, edi
mov dword [rsp + 0x68], edi
lea rcx, [rbp - 0x70]
call fcn.140071360
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
lea rcx, [rbp + 0xb0]
call fcn.1400572c0
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xb0], r13
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xac], edx
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1401282d0]
mov qword [rbp - 0x50], rax
lea rax, [0x140125ea8]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x68], 1
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x50]
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 - 0x50]
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 - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
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 - 0x38], rax
mov qword [rbp + 0x30], rdi
mov dword [rbp + 0x38], edi
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x40]
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 [rsp + 0x70], xmm0
mov esi, edi
mov qword [rbp - 0x80], rdi
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], rdx
mov byte [rsp + 0x70], sil
mov dword [rsp + 0x68], 5
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov ecx, dword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140067e67
mov rax, qword [rbp + 8]
mov rbx, qword [rax]
test rbx, rbx
je 0x140067e67
mov rax, qword [rbp - 0x18]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x30]
cmovb rbx, qword [rbp + 0x30]
sub rbx, r9
mov rax, rbx
jmp 0x140067ea1
mov rax, rdi
test cl, 4
jne 0x140067e97
mov rax, qword [rbp]
mov rcx, qword [rax]
mov rax, rdi
test rcx, rcx
je 0x140067e97
mov rax, qword [rbp - 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd rbx, dword [rax]
add rbx, rcx
sub rbx, r9
mov rax, rbx
jmp 0x140067ea1
mov rbx, qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
test r9, r9
je 0x140067ed6
lea rcx, [rsp + 0x70]
cmp rax, rdx
ja 0x140067ec6
mov qword [rbp - 0x80], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x70], sil
jmp 0x140067ece
mov rdx, rbx
call fcn.14004d680
mov rsi, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
movdqa xmm0, xmmword [str.h___t]
movdqu xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x140130610]
movdqu xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x140130630]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x4110938
mov dword [rsp + 0x64], 0xc0907
mov rcx, rdi
nop dword [rax]
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 0x140067f20
mov byte [rsp + 0x67], 0
lea rcx, [rsp + 0x31]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140068032
lea rcx, [rsp + 0x70]
cmp rdx, 0xf
seta r14b
mov rbx, qword [rsp + 0x70]
cmova rcx, rbx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x31]
xor r8d, r8d
mov rdx, rsi
call fcn.1400064f0
cmp rax, 0xffffffffffffffff
je 0x1400684d5
movdqa xmm0, xmmword [0x140130660]
movdqu xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x140130680]
movdqu xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x140130640]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x382d3504
mov dword [rsp + 0x64], 0x30353b
mov rcx, rdi
nop dword [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 0x1400680b0
mov byte [rsp + 0x67], 0
lea rcx, [rsp + 0x31]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400681c2
lea rcx, [rsp + 0x70]
test r14b, r14b
cmovne rcx, rbx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x31]
xor r8d, r8d
mov rdx, rsi
call fcn.1400064f0
movdqa xmm0, xmmword [0x140130950]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x40], Ordinal_45
lea rcx, [rsp + 0x31]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140068210
lea rcx, [rsp + 0x70]
test r14b, r14b
cmovne rcx, rbx
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x31]
mov r8, rax
mov rdx, rsi
call fcn.1400064f0
cmp rax, 0xffffffffffffffff
je 0x1400684d5
lea rcx, [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
cmp rsi, rcx
jb 0x1400686a2
sub rsi, rcx
mov r8, 0xffffffffffffffff
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x70]
test r14b, r14b
cmovne rdx, rbx
add rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400022e0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400682c9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400682c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006869b
call fcn.140106050
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x80], xmm1
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140005980
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
seta r15b
mov r14, qword [rsp + 0x70]
cmova rbx, r14
mov rsi, qword [rbp - 0x80]
test rsi, rsi
je 0x140068333
mov r8, rsi
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140068333
sub rax, rbx
jmp 0x14006833a
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
cmp rsi, rax
cmovb rax, rsi
lea rdx, [rsp + 0x70]
test r15b, r15b
cmovne rdx, r14
mov r8, rax
lea rcx, [rsp + 0x30]
call fcn.1400022e0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400683a8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400683a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006869b
call fcn.140106050
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140005980
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
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 rdi, [rax + 0x150]
lea rcx, [rsp + 0x70]
call fcn.140005980
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call fcn.140055810
lea rcx, [rbp - 0x30]
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 + 0x48]
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 + 0xb0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xb0], r13
mov rcx, qword [rbp + 0xb0]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx + 0xac], r8d
lea rcx, [rbp + 0xc0]
call fcn.14004ab70
lea rcx, [rbp + 0xc8]
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 + 0x160]
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 - 0x70]
call fcn.14004b420
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140106030
lea r11, [rsp + 0x2d0]
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 [0x1401309a0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x646f4d61
mov dword [rsp + 0x44], 0x286c65
lea rcx, [rsp + 0x31]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140068500
lea rcx, [rsp + 0x70]
test r14b, r14b
cmovne rcx, rbx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x31]
xor r8d, r8d
mov rdx, rsi
call fcn.1400064f0
cmp rax, 0xffffffffffffffff
je 0x1400683fd
lea rcx, [rax + 0x16]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
cmp rsi, rcx
jb 0x1400686a2
sub rsi, rcx
mov r8, 0xffffffffffffffff
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x70]
test r14b, r14b
cmovne rdx, rbx
add rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400022e0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400685b9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400685b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006869b
call fcn.140106050
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x80], xmm1
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140005980
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
seta r15b
mov r14, qword [rsp + 0x70]
cmova rbx, r14
mov rsi, qword [rbp - 0x80]
test rsi, rsi
je 0x140068623
mov r8, rsi
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140068623
sub rax, rbx
jmp 0x14006862a
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
cmp rsi, rax
cmovb rax, rsi
lea rdx, [rsp + 0x70]
test r15b, r15b
cmovne rdx, r14
mov r8, rax
lea rcx, [rsp + 0x30]
call fcn.1400022e0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400683a8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400683a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400683a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d50
int3