Function at 0x7ff6ff0a70a0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 2]
lea rcx, [rbp + 0x50]
call fcn.7ff6ff0af6f0
mov rcx, rax
call fcn.7ff6ff0aa000
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.ucrtbase.dll_fopen]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x7ff6ff0a71b7
mov rax, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov qword [rbp + 0x20], rax
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 3]
movzx r8d, byte [rbp + 4]
movzx edx, byte [rbp + 5]
lea rcx, [rbp + 0x60]
call fcn.7ff6ff0af740
mov rcx, rax
call fcn.7ff6ff0aa000
mov qword [rbp + 0x18], rax
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
call fcn.7ff6ff0ae460
mov qword [rbp + 0x28], rax
lea rdx, [0x7ff6ff0af790]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x7ff6ff0a7282
movsxd rax, dword [rsp + 0x130]
mov r9, qword [rbp + 0x10]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ucrtbase.dll_fwrite]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ucrtbase.dll_fclose]
movsxd rax, dword [rsp + 0x130]
cmp qword [rbp + 0x30], rax
je 0x7ff6ff0a7280
mov rax, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x80]
call fcn.7ff6ff0af7f0
mov rcx, rax
call fcn.7ff6ff0aa170
mov qword [rbp + 0x38], rax
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
call fcn.7ff6ff0ae460
mov qword [rbp + 0x48], rax
lea rdx, [0x7ff6ff0af790]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
jmp 0x7ff6ff0a7282
mov al, 1
add rsp, 0x108
pop rdi
pop rbp
ret