Function at 0x7ff7ec5dbd90
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, 0x95e8904e1afbd8ca
mov qword [rbp + 0x288], r12
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x30], rax
movabs r13, 0xb0e58b184e89abe8
mov qword [rbp + 0x288], r13
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x38], rax
movabs r15, 0xf08cf121769fb4a5
mov qword [rbp + 0x288], r15
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0xe0], rax
movabs r14, 0xb0e58b6c36fd859a
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 0x7ff7ec5dbe70
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.7ff7ec5666c0
nop
lea rcx, [rbp + 0x160]
call fcn.7ff7ec564910
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x7ff7ec5dbea2
mov rbx, qword [rax]
movabs rax, 0xf08cf15253b0c780
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 0x7ff7ec5dbf31
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x120]
call fcn.7ff7ec5666c0
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.7ff7ec5db280
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x7ff7ec5dbf8d
mov rbx, qword [rax]
lea rax, [0x7ff7ec6bcf20]
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, [0x7ff7ec6bcf18]
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, [0x7ff7ec66a6a0]
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 [0x7ff7ec870378]
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.7ff7ec5dc6c0
test rax, rax
jne 0x7ff7ec5dc069
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 [0x7ff7ec669400]
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 0x10
jb 0x7ff7ec5dc0ad
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5dc0a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5dc0a8
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7ec61e988
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x7ff7ec5dc10a
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5dc105
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5dc105
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7ec61e988
mov qword [rbp + 0x170], rsi
mov qword [rbp + 0x178], 0xf
mov byte [rbp + 0x160], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x7ff7ec5dc162
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5dc15d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5dc15d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7ec61e988
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 0x7ff7ec5dc65b
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.7ff7ec563a80
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x7ff7ec5dc21a
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.7ff7ec563a80
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x7ff7ec5dc1d0
cmp qword [rbp + 0x60], 0
je 0x7ff7ec5dc341
mov rax, qword [rbp - 8]
lea rcx, [rbp + 0x50]
cmp qword [rax], rcx
jne 0x7ff7ec5dc24c
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 0x7ff7ec5dc2ad
cmp byte [rbp + 0x51], 0
je 0x7ff7ec5dc2ad
mov rax, qword [rbp - 0x20]
mov edx, edi
lea rcx, [rbp - 0x20]
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x7ff7ec5dc26f
xor al, al
jmp 0x7ff7ec5dc2af
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 0x7ff7ec5dc2f9
sub eax, 1
je 0x7ff7ec5dc2fd
cmp eax, 2
je 0x7ff7ec5dc2a9
xor al, al
jmp 0x7ff7ec5dc2af
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 [0x7ff7ec870378]
mov qword [rbp + 0x54], rax
mov qword [rbp + 0x48], rsi
test rbx, rbx
jne 0x7ff7ec5dc382
jmp 0x7ff7ec5dc366
mov byte [rbp + 0x51], 0
lea rax, [rbp + 0x1e0]
mov rbx, qword [rbp + 0x290]
sub rbx, rax
je 0x7ff7ec5dc335
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 0x7ff7ec5dc335
xor al, al
jmp 0x7ff7ec5dc2af
cmp byte [rbp + 0x51], 0
sete al
jmp 0x7ff7ec5dc2af
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 [0x7ff7ec870378]
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 [0x7ff7ec669400]
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 0x7ff7ec5dc402
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.7ff7ec5666c0
nop
lea rcx, [rbp + 0x1c0]
call fcn.7ff7ec564910
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x7ff7ec5dc434
mov rbx, qword [rax]
movabs rax, 0xf08cf15253b0c780
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 0x7ff7ec5dc4c0
mov r8, rdi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x180]
call fcn.7ff7ec5666c0
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.7ff7ec5db280
cmp qword [rax + 0x18], 0x10
jb 0x7ff7ec5dc51a
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_remove]
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x7ff7ec5dc567
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5dc562
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5dc562
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7ec61e988
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], 0
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0x10
jb 0x7ff7ec5dc5c4
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5dc5bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5dc5bf
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7ec61e988
mov qword [rbp + 0x1d0], rsi
mov qword [rbp + 0x1d8], 0xf
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x7ff7ec5dc61c
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5dc616
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5dc616
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7ec61e988
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x7ff7ec5dc65b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5dc655
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5dc655
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7ec61e988
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [0x7ff7ec6bcf18]
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.7ff7ec56c1c0
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 [0x7ff7ec6693f8]
mov rbx, qword [rsp + 0x398]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret