Function at 0x180007a50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1800f0040]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x38], rdx
xor r15d, r15d
mov dword [rbp - 0x78], r15d
movdqa xmm0, xmmword [0x1800e8f60]
movdqu xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x30], 0x100
mov ecx, r15d
nop
lea eax, [rcx + 0x7a]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0x10
jb 0x180007ab0
mov byte [rsp + 0x31], 0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.1800113a0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.180003330
mov rdi, rax
movdqa xmm0, xmmword [0x1800e9280]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e9320]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0xa0a1fcd3
mov word [rsp + 0x64], 0x100
mov rcx, r15
nop dword [rax]
lea eax, [rcx + 0x7a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x24
jb 0x180007b20
mov byte [rsp + 0x65], 0
lea r8, [rsp + 0x64]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.1800113a0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.180003330
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180007b61
mov rax, qword [rax]
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.180011220
nop
mov r9, rdi
mov r8, rax
lea rcx, [rbp + 0x60]
call fcn.180012790
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x180007bbf
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007bba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007bba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
movdqa xmm0, xmmword [0x1800e8d40]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x180007c0e
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007c09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
movdqa xmm0, xmmword [0x1800e8d40]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180007c5d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007c58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
movdqa xmm0, xmmword [0x1800e8d40]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x180007cac
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007ca7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007ca7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
movdqa xmm0, xmmword [0x1800e8d40]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180007cfc
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007cf7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007cf7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
movdqa xmm0, xmmword [0x1800e8d40]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x18]
call fcn.180006ee0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180007d45
mov rax, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180007d60
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180003220
nop
lea rax, [0x1800e8cd8]
mov qword [rbp + 0x80], rax
lea rax, [0x1800e8a48]
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r14d, 0xfc0
mov dword [rbp - 0x78], r14d
xor r8d, r8d
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x80]
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 + 0x80]
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 + 0x80], r12
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x7c], edx
lea rax, [rbp + 0x98]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x98], rax
mov rdi, qword [rsp + 0x38]
cmp rdi, 0xf
jbe 0x180007e2f
mov rdx, qword [rsp + 0x20]
inc rdi
jmp 0x180007e46
mov edi, 0x11
mov ecx, edi
call fcn.180014974
mov rdx, rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
mov rcx, qword [rsp + 0x30]
add rcx, rdx
mov qword [rbp + 0x100], rcx
lea rcx, [rdx + rdi]
mov rax, qword [rbp + 0xb8]
mov qword [rax], rdx
mov rax, qword [rbp + 0xd8]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbp + 0xf0]
mov dword [rax], ecx
mov rcx, qword [rbp + 0x100]
mov rax, qword [rbp + 0xb0]
mov qword [rax], rdx
mov rax, qword [rbp + 0xd0]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbp + 0xe8]
mov dword [rax], ecx
mov dword [rbp + 0x108], 0x21
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x180007ee6
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007ee1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007ee1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.180012980
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x18000809b
nop dword [rax]
movdqa xmm0, xmmword [0x1800e8f80]
movdqu xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x30], 0x100
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx + 0x7a]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0x10
jb 0x180007f70
mov byte [rsp + 0x31], 0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1800113a0
or r14d, 6
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.180003330
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1800104f0
mov rdi, rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180007ff8
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007ff3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000814e
call fcn.1800145b0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x180008045
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008040
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008155
call fcn.1800145b0
cmp rdi, 0xffffffffffffffff
jne 0x18000815c
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x80]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.180012980
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x180007f50
movdqa xmm0, xmmword [0x1800e91d0]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1800e9270]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0xa0a1cad3
mov word [rsp + 0x64], 0x100
mov rcx, r15
nop dword [rax]
lea eax, [rcx + 0x7a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x24
jb 0x1800080d0
mov byte [rsp + 0x65], 0
lea r8, [rsp + 0x64]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1800113a0
nop
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.180003330
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1800082d0
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800082cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800082cb
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8, qword [rbp + 0x50]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
cmp r8, 0x1d
jb 0x180008449
lea rax, [r8 - 0x1d]
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
add rdx, 0x1d
mov rcx, rsi
call fcn.180003220
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1800081dc
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800081d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800081d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x80], r12
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x98]
call fcn.180010430
lea rcx, [rbp + 0xa0]
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 + 0x118]
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 [rbp + 0x78]
cmp rdx, 0xf
jbe 0x180008279
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008274
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008274
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
movdqa xmm0, xmmword [0x1800e8d40]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180008405
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180008400
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1800083fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800145b0
movdqa xmm0, xmmword [0x1800e8d40]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x180008321
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000831c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000831c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x80], r12
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x7c], edx
lea rcx, [rbp + 0x98]
call fcn.180010430
lea rcx, [rbp + 0xa0]
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 + 0x118]
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 [rbp + 0x78]
cmp rdx, 0xf
jbe 0x1800083be
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800083b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800083b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
movdqa xmm0, xmmword [0x1800e8d40]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180008405
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180008400
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180008442
mov rcx, r8
call fcn.1800145b0
mov rax, rsi
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r15
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.180014590
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180010dd0
nop
int3