Function at 0x1400411f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140093fc0]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor esi, esi
mov dword [rsp + 0x20], esi
mov eax, 0xc
mov dword [rsp + 0x28], eax
movdqa xmm0, xmmword [str.101___:d___N]
movdqu xmmword [rsp + 0x2c], xmm0
mov edx, esi
test eax, eax
je 0x140041269
nop dword [rax]
nop word [rax + rax]
mov eax, edx
lea rcx, [rsp + 0x2c]
add rcx, rax
lea eax, [rdx + 0x42]
xor byte [rcx], al
inc edx
mov eax, dword [rsp + 0x28]
cmp edx, eax
jb 0x140041250
mov byte [rsp + rax + 0x2c], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x2c]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140041290
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x48]
call fcn.14003e990
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xe0]
call fcn.140043750
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400412fb
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400412f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400412f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0x80]
call fcn.140043be0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rsi
mov edx, dword [0x14009403c]
lea rcx, [rsp + 0x68]
call fcn.1400444f0
nop
lea rdx, [0x140097d88]
lea rcx, [rsp + 0x48]
call fcn.140043750
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400426e0
mov rbx, rax
lea rdx, [0x140097dc8]
lea rcx, [rsp + 0x28]
call fcn.140043750
mov rdx, rax
mov rcx, rbx
call fcn.140042490
mov rbx, rax
lea rax, [rsp + 0x68]
cmp rbx, rax
je 0x1400413ff
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400413db
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400413d6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400413f8
mov rcx, r8
call fcn.140058540
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x68], 0
jmp 0x140041403
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14004143e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041439
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041439
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
mov edx, dword [0x140094038]
lea rcx, [rbp - 0x78]
call fcn.1400444f0
nop
lea rdx, [0x140097d88]
lea rcx, [rsp + 0x48]
call fcn.140043750
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400426e0
mov rbx, rax
lea rdx, [0x140097de8]
lea rcx, [rsp + 0x28]
call fcn.140043750
mov rdx, rax
mov rcx, rbx
call fcn.140042490
mov rbx, rax
lea rax, [rbp - 0x78]
cmp rbx, rax
je 0x1400414f0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400414cf
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400414ca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400414e9
mov rcx, r8
call fcn.140058540
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rbx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp - 0x78], 0
jmp 0x1400414f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14004152e
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041529
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041529
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
mov edx, dword [0x140097d38]
lea rcx, [rbp - 0x58]
call fcn.1400444f0
nop
lea rdx, [0x140097d88]
lea rcx, [rsp + 0x48]
call fcn.140043750
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400426e0
mov rbx, rax
lea rdx, [0x140097e48]
lea rcx, [rsp + 0x28]
call fcn.140043750
mov rdx, rax
mov rcx, rbx
call fcn.140042490
mov rbx, rax
lea rax, [rbp - 0x58]
cmp rbx, rax
je 0x1400415e0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400415bf
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400415ba
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400415d9
mov rcx, r8
call fcn.140058540
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rbx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp - 0x58], 0
jmp 0x1400415e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14004161e
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041619
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041619
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
mov edx, dword [0x140094040]
lea rcx, [rbp - 0x38]
call fcn.1400444f0
nop
lea rdx, [0x140097d88]
lea rcx, [rsp + 0x48]
call fcn.140043750
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400426e0
mov rbx, rax
lea rdx, [0x140097da8]
lea rcx, [rsp + 0x28]
call fcn.140043750
mov rdx, rax
mov rcx, rbx
call fcn.140042490
mov rbx, rax
lea rax, [rbp - 0x38]
cmp rbx, rax
je 0x1400416d0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400416af
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400416aa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400416c9
mov rcx, r8
call fcn.140058540
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rbx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp - 0x38], 0
jmp 0x1400416d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14004170e
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041709
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041709
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
mov edx, dword [0x140094044]
lea rcx, [rbp - 0x18]
call fcn.1400444f0
nop
lea rdx, [0x140097d88]
lea rcx, [rsp + 0x48]
call fcn.140043750
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400426e0
mov rbx, rax
lea rdx, [0x140097d60]
lea rcx, [rsp + 0x28]
call fcn.140043750
mov rdx, rax
mov rcx, rbx
call fcn.140042490
mov rbx, rax
lea rax, [rbp - 0x18]
cmp rbx, rax
je 0x1400417c0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14004179f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004179a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400417b9
mov rcx, r8
call fcn.140058540
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 8]
movups xmmword [rbx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp - 0x18], 0
jmp 0x1400417c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x1400417fe
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400417f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400417f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
mov edx, dword [0x140097d30]
lea rcx, [rbp + 8]
call fcn.1400444f0
nop
lea rdx, [0x140097d88]
lea rcx, [rsp + 0x48]
call fcn.140043750
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400426e0
mov rbx, rax
lea rdx, [0x140097d40]
lea rcx, [rsp + 0x28]
call fcn.140043750
mov rdx, rax
mov rcx, rbx
call fcn.140042490
mov rbx, rax
lea rax, [rbp + 8]
cmp rbx, rax
je 0x1400418b0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14004188f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004188a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400418a9
mov rcx, r8
call fcn.140058540
movups xmm0, xmmword [rbp + 8]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rbx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp + 8], 0
jmp 0x1400418b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1400418ee
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400418e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400418e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
mov edx, dword [0x140097d34]
lea rcx, [rbp + 0x28]
call fcn.1400444f0
nop
lea rdx, [0x140097d88]
lea rcx, [rsp + 0x48]
call fcn.140043750
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400426e0
mov rbx, rax
lea rdx, [0x140097e28]
lea rcx, [rsp + 0x28]
call fcn.140043750
mov rdx, rax
mov rcx, rbx
call fcn.140042490
mov rbx, rax
lea rax, [rbp + 0x28]
cmp rbx, rax
je 0x1400419a0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14004197f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14004197a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041999
mov rcx, r8
call fcn.140058540
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x38]
movups xmmword [rbx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp + 0x28], 0
jmp 0x1400419a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x1400419de
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400419d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400419d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
lea rcx, [rsp + 0x48]
call fcn.14003c490
mov rdi, rax
lea rdx, [0x140097d88]
lea rcx, [rsp + 0x28]
call fcn.140043750
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400426e0
mov rbx, rax
lea rdx, [0x140097e08]
lea rcx, [rbp + 0x58]
call fcn.140043750
mov rdx, rax
mov rcx, rbx
call fcn.140042490
mov rbx, rax
cmp rax, rdi
je 0x140041a93
mov rdx, qword [rax + 0x18]
cmp rdx, 0xf
jbe 0x140041a67
mov rcx, qword [rax]
inc rdx
cmp rdx, 0x1000
jb 0x140041a62
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041ace
mov rcx, r8
call fcn.140058540
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140041ada
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041ad5
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 fcn.140058540
cmp qword [rbp + 0xf0], 0
je 0x140041c9d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x100]
mov qword [rbp + 0x48], rax
lea rax, [0x1400887f8]
mov qword [rbp + 0x100], rax
lea rcx, [rbp + 0x1a8]
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 + 0x20], 0xff
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x100]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x100], rbx
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x108]
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_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x108], rax
mov byte [rbp + 0x184], 0
mov byte [rbp + 0x179], 0
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x188], rsi
mov rax, qword [0x140097ee8]
mov qword [rbp + 0x17c], rax
mov qword [rbp + 0x170], rsi
mov byte [rbp + 0x208], 0
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8d, 0x22
lea rcx, [rbp + 0x108]
call fcn.140043ff0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x100]
je 0x140041c21
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140041c30
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov byte [rbp + 0x208], 0
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x100]
call fcn.1400407e0
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x100], rbx
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x108]
call fcn.140043650
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a8]
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 + 0xc0]
call fcn.140042910
lea rcx, [rbp + 0x80]
call fcn.140040f20
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x140041cfa
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041cf5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041cf5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058540
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140058450
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret