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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x130]
sub rsp, 0x230
movaps xmmword [rsp + 0x220], xmm6
xor edi, edi
mov dword [rbp + 0x150], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm6, xmmword [0x7ff76272a750]
movdqu xmmword [rsp + 0x60], xmm6
movsd xmm0, qword [0x7ff76272a790]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x7ff76272a798]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x7ff76272a79c]
mov byte [rsp + 0x5c], al
mov byte [rsp + 0x5d], dil
lea rcx, [rbp + 0xc0]
call fcn.7ff762654410
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x7ff7626a81ee
mov r8, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 5
mov qword [rsp + 0x48], 0xf
mov eax, dword [0x7ff76272a7a0]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x7ff76272a7a4]
mov byte [rsp + 0x34], al
mov byte [rsp + 0x35], 0
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm6
lea r9, [rbp - 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.7ff7626a76e0
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x7ff7626a824f
mov rbx, qword [rax]
lea rax, [0x7ff76272a388]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x60]
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 + 0x150], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
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 - 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, [0x7ff76272a380]
mov qword [rbp + rcx - 0x50], rsi
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, [0x7ff762723630]
mov qword [rbp - 0x40], rax
mov byte [rbp + 0x3c], 0
mov byte [rbp + 0x31], 0
lea rcx, [rbp - 0x40]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x40], rdi
mov rax, qword [0x7ff76279cb38]
mov qword [rbp + 0x34], rax
mov qword [rbp + 0x28], rdi
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.7ff7626a8800
test rax, rax
jne 0x7ff7626a831c
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff762722388]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x7ff7626a835b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7626a8356
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7626a8356
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7626de408
movdqa xmm0, xmmword [0x7ff7627234e0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x7ff7626a83b2
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7626a83ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7626a83ac
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7626de408
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
call qword [sym.imp.msvcp140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x7ff7626a87a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], al
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
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, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.7ff762653410
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.msvcp140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x7ff7626a8484
nop word [rax + rax]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
call qword [sym.imp.ucrtbase.dll_remove]
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
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, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.7ff762653410
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.msvcp140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x7ff7626a8430
lea rcx, [rbp - 0x40]
cmp qword [rbp + 0x40], 0
je 0x7ff7626a85c9
call qword [sym.imp.msvcp140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rbp + 0x30]
cmp rax, rcx
jne 0x7ff7626a84b7
mov r9, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
mov r8, rdx
lea rcx, [rbp - 0x40]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
cmp qword [rbp + 0x28], 0
je 0x7ff7626a8532
cmp byte [rbp + 0x31], 0
je 0x7ff7626a8532
mov rax, qword [rbp - 0x40]
mov r8, qword [rax + 0x18]
lea rax, [fcn.7ff762659b60]
mov edx, 0xffffffff
lea rcx, [rbp - 0x40]
cmp r8, rax
jne 0x7ff7626a84e8
call fcn.7ff762659b60
jmp 0x7ff7626a84eb
call r8
cmp eax, 0xffffffff
jne 0x7ff7626a84f4
xor bl, bl
jmp 0x7ff7626a8534
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x100]
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x34]
mov rcx, qword [rbp + 0x28]
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 0x7ff7626a8581
sub eax, 1
je 0x7ff7626a8585
cmp eax, 2
je 0x7ff7626a852e
xor bl, bl
jmp 0x7ff7626a8534
mov byte [rbp + 0x31], 0
mov bl, 1
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ucrtbase.dll_fclose]
lea rcx, [rbp - 0x40]
test bl, bl
cmove rcx, rdi
mov rbx, rdi
test eax, eax
cmove rbx, rcx
mov byte [rbp + 0x3c], 0
mov byte [rbp + 0x31], 0
lea rcx, [rbp - 0x40]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x40], rdi
mov rax, qword [0x7ff76279cb38]
mov qword [rbp + 0x34], rax
mov qword [rbp + 0x28], rdi
test rbx, rbx
jne 0x7ff7626a8606
jmp 0x7ff7626a85ea
mov byte [rbp + 0x31], 0
lea rax, [rbp + 0xe0]
mov rbx, qword [rbp + 0x150]
sub rbx, rax
je 0x7ff7626a85bd
mov r9, qword [rbp + 0x40]
mov r8, rbx
mov edx, 1
lea rcx, [rbp + 0xe0]
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rbx, rax
je 0x7ff7626a85bd
xor bl, bl
jmp 0x7ff7626a8534
cmp byte [rbp + 0x31], 0
sete bl
jmp 0x7ff7626a8534
mov byte [rbp + 0x3c], 0
mov byte [rbp + 0x31], 0
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x40], rdi
mov rax, qword [0x7ff76279cb38]
mov qword [rbp + 0x34], rax
mov qword [rbp + 0x28], rdi
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff762722388]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm6, xmmword [0x7ff76272a750]
movdqu xmmword [rbp - 0x80], xmm6
movsd xmm0, qword [0x7ff76272a790]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x7ff76272a798]
mov dword [rsp + 0x78], eax
movzx eax, byte [0x7ff76272a79c]
mov byte [rsp + 0x7c], al
mov byte [rsp + 0x7d], 0
lea rcx, [rbp + 0x100]
call fcn.7ff762654410
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x7ff7626a865c
mov r8, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 5
mov qword [rsp + 0x68], 0xf
mov eax, dword [0x7ff76272a7a0]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x7ff76272a7a4]
mov byte [rsp + 0x54], al
mov byte [rsp + 0x55], 0
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0xc0], xmm0
movaps xmmword [rbp + 0xd0], xmm6
lea r9, [rbp + 0xc0]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.7ff7626a76e0
cmp qword [rax + 0x18], 0xf
jbe 0x7ff7626a86c2
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_remove]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x7ff7626a8709
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7626a8704
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7626a8704
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7626de408
movdqa xmm0, xmmword [0x7ff7627234e0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x7ff7626a875f
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7626a8759
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7626a8759
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7626de408
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x7ff7626a87a0
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7626a879a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7626a879a
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7626de408
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], rsi
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.7ff762659210
lea rcx, [rbp - 0x38]
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 + 0x60]
call qword [0x7ff762722380]
mov rbx, qword [rsp + 0x260]
movaps xmm6, xmmword [rsp + 0x220]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret