Function at 0x7ff7e152eea0
Capabilities:
Delete file
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
xor esi, esi
mov dword [rbp + 0x280], esi
movabs r12, 0x791a454272d46bfa
mov qword [rbp + 0x288], r12
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x30], rax
movabs r13, 0x69d06b9c73f78754
mov qword [rbp + 0x288], r13
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x38], rax
movabs r15, 0x1c7e242d1eb00795
mov qword [rbp + 0x288], r15
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0xe0], rax
movabs r14, 0x69d06be80b83a926
mov qword [rbp + 0x288], r14
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0xe8], rax
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], sil
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x7ff7e152ef80
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.7ff7e14c5e30
nop
lea rcx, [rbp + 0x160]
call fcn.7ff7e14c49a0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x7ff7e152efb2
mov rbx, qword [rax]
movabs rax, 0x1c7e245e3b9f74b0
mov qword [rbp + 0x280], rax
mov rax, qword [rbp + 0x280]
mov qword [rsp + 0x40], rax
mov qword [rbp + 0x280], r14
mov rax, qword [rbp + 0x280]
mov qword [rsp + 0x48], rax
mov qword [rbp + 0x280], r15
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0x280], r14
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0xf8], rax
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x130], rsi
mov qword [rbp + 0x138], 0xf
lea rax, [rsp + 0x40]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7e152f041
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x120]
call fcn.7ff7e14c5e30
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x200], xmm0
movups xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x210], xmm1
lea r9, [rbp + 0x200]
mov r8, rbx
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x140]
call fcn.7ff7e152dbc0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x7ff7e152f09d
mov rbx, qword [rax]
lea rax, [0x7ff7e1604da0]
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x80]
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 + 0x280], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x30]
call qword [sym.imp.msvcp140.dll_public:_void___cdecl_std::basic_istream_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 - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [0x7ff7e1604d98]
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
lea rax, [rbp - 0x20]
mov qword [rbp + 0x288], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, [0x7ff7e15b2590]
mov qword [rbp - 0x20], rax
mov byte [rbp + 0x5c], 0
mov byte [rbp + 0x51], 0
lea rcx, [rbp - 0x20]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x60], rsi
mov rax, qword [0x7ff7e17b3f40]
mov qword [rbp + 0x54], rax
mov qword [rbp + 0x48], rsi
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.7ff7e152f7d0
test rax, rax
jne 0x7ff7e152f179
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff7e15b13f0]
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x7ff7e152f1bd
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7e152f1b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7e152f1b8
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7e1566ce4
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x7ff7e152f21a
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7e152f215
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7e152f215
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7e1566ce4
mov qword [rbp + 0x170], rsi
mov qword [rbp + 0x178], 0xf
mov byte [rbp + 0x160], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x7ff7e152f272
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7e152f26d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7e152f26d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7e1566ce4
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x20], 6
jne 0x7ff7e152f76b
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea rax, [rbp - 0x30]
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 - 0x70]
lea rcx, [rbp - 0x30]
call fcn.7ff7e14c36f0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x7ff7e152f32a
nop dword [rax + rax]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
call qword [sym.imp.ucrtbase.dll_remove]
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
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 - 0x70]
lea rcx, [rbp - 0x30]
call fcn.7ff7e14c36f0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x7ff7e152f2e0
cmp qword [rbp + 0x60], 0
je 0x7ff7e152f451
mov rax, qword [rbp - 8]
lea rcx, [rbp + 0x50]
cmp qword [rax], rcx
jne 0x7ff7e152f35c
mov rdx, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x68]
mov qword [rax], rcx
mov rax, qword [rbp + 0x18]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x30]
mov dword [rax], edx
cmp qword [rbp + 0x48], 0
je 0x7ff7e152f3bd
cmp byte [rbp + 0x51], 0
je 0x7ff7e152f3bd
mov rax, qword [rbp - 0x20]
mov edx, edi
lea rcx, [rbp - 0x20]
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x7ff7e152f37f
xor al, al
jmp 0x7ff7e152f3bf
lea rax, [rbp + 0x290]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x200]
lea r8, [rbp + 0x1e0]
lea rdx, [rbp + 0x54]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ff7e152f409
sub eax, 1
je 0x7ff7e152f40d
cmp eax, 2
je 0x7ff7e152f3b9
xor al, al
jmp 0x7ff7e152f3bf
mov byte [rbp + 0x51], 0
mov al, 1
lea rbx, [rbp - 0x20]
test al, al
cmove rbx, rsi
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ucrtbase.dll_fclose]
test eax, eax
cmovne rbx, rsi
mov byte [rbp + 0x5c], 0
mov byte [rbp + 0x51], 0
lea rcx, [rbp - 0x20]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x60], rsi
mov rax, qword [0x7ff7e17b3f40]
mov qword [rbp + 0x54], rax
mov qword [rbp + 0x48], rsi
test rbx, rbx
jne 0x7ff7e152f492
jmp 0x7ff7e152f476
mov byte [rbp + 0x51], 0
lea rax, [rbp + 0x1e0]
mov rbx, qword [rbp + 0x290]
sub rbx, rax
je 0x7ff7e152f445
mov r9, qword [rbp + 0x60]
mov r8, rbx
mov edx, 1
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rbx, rax
je 0x7ff7e152f445
xor al, al
jmp 0x7ff7e152f3bf
cmp byte [rbp + 0x51], 0
sete al
jmp 0x7ff7e152f3bf
mov byte [rbp + 0x5c], 0
mov byte [rbp + 0x51], 0
lea rcx, [rbp - 0x20]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x60], rsi
mov rax, qword [0x7ff7e17b3f40]
mov qword [rbp + 0x54], rax
mov qword [rbp + 0x48], rsi
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff7e15b13f0]
mov qword [rbp + 0x288], r12
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x50], rax
mov qword [rbp + 0x288], r13
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x58], rax
mov qword [rbp + 0x288], r15
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x288], r14
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
lea rax, [rsp + 0x50]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7e152f512
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.7ff7e14c5e30
nop
lea rcx, [rbp + 0x1c0]
call fcn.7ff7e14c49a0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x7ff7e152f544
mov rbx, qword [rax]
movabs rax, 0x1c7e245e3b9f74b0
mov qword [rbp + 0x280], rax
mov rax, qword [rbp + 0x280]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x280], r14
mov rax, qword [rbp + 0x280]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x280], r15
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x280], r14
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x118], rax
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rbp + 0x180], rsi
mov qword [rbp + 0x190], rsi
mov qword [rbp + 0x198], 0xf
lea rax, [rsp + 0x60]
inc rdi
cmp byte [rax + rdi], 0
jne 0x7ff7e152f5d0
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x180]
call fcn.7ff7e14c5e30
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x220], xmm0
movups xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x230], xmm1
lea r9, [rbp + 0x220]
mov r8, rbx
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x1a0]
call fcn.7ff7e152dbc0
cmp qword [rax + 0x18], 0x10
jb 0x7ff7e152f62a
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_remove]
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x7ff7e152f677
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7e152f672
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7e152f672
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7e1566ce4
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], 0
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0x10
jb 0x7ff7e152f6d4
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7e152f6cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7e152f6cf
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7e1566ce4
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], 0xf
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x7ff7e152f72c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7e152f726
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7e152f726
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7e1566ce4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x7ff7e152f76b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7e152f765
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7e152f765
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7e1566ce4
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [0x7ff7e1604d98]
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x20]
call fcn.7ff7e14ca240
lea rcx, [rbp - 0x18]
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 + 0x80]
call qword [0x7ff7e15b13e8]
mov rbx, qword [rsp + 0x398]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret