Function at 0x1400441b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov dword [rbp + 0x90], esi
cmp byte [0x140bda054], sil
je 0x1400441e8
mov al, 1
jmp 0x1400444cb
lea rax, [0x1401305b0]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
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 + 0x90], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 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 [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], r14
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x40], rax
mov byte [rbp - 0x44], 0
mov byte [rbp - 0x4f], 0
lea rcx, [rsp + 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], rsi
mov rax, qword [0x140bda310]
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x58], rsi
mov r9d, 0x40
mov r8d, 1
lea rdx, str.C:Hypers.txt
lea rcx, [rsp + 0x40]
call fcn.1400471d0
test rax, rax
jne 0x1400442c7
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
cmp qword [rbp - 0x40], 0
je 0x140044484
mov r8d, 0x80
mov rdx, rdi
lea rcx, [rsp + 0x30]
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__::getline_char____ptr64__long_long___int64_____ptr64]
mov r8d, 0x80
mov rdx, rbx
lea rcx, [rsp + 0x30]
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__::getline_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x40]
cmp qword [rbp - 0x40], 0
je 0x140044439
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 - 0x50]
cmp rax, rcx
jne 0x14004432f
mov r9, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x38]
mov r8, rdx
lea rcx, [rsp + 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 - 0x58], 0
je 0x1400443a6
cmp byte [rbp - 0x4f], 0
je 0x1400443a6
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x18]
lea rax, [fcn.140047310]
mov edx, 0xffffffff
lea rcx, [rsp + 0x40]
cmp r8, rax
jne 0x140044362
call fcn.140047310
jmp 0x140044365
call r8
cmp eax, 0xffffffff
jne 0x14004436e
xor bl, bl
jmp 0x1400443a8
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x4c]
mov rcx, qword [rbp - 0x58]
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 0x1400443f7
sub eax, 1
je 0x1400443fb
cmp eax, 2
je 0x1400443a2
xor bl, bl
jmp 0x1400443a8
mov byte [rbp - 0x4f], 0
mov bl, 1
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [rsp + 0x40]
test bl, bl
cmove rcx, rsi
mov rbx, rsi
test eax, eax
cmove rbx, rcx
mov byte [rbp - 0x44], 0
mov byte [rbp - 0x4f], 0
lea rcx, [rsp + 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], rsi
mov rax, qword [0x140bda310]
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x58], rsi
test rbx, rbx
jne 0x140044479
jmp 0x14004445a
mov byte [rbp - 0x4f], 0
lea rax, [rbp + 0x40]
mov rbx, qword [rbp + 0x90]
sub rbx, rax
je 0x14004442d
mov r9, qword [rbp - 0x40]
mov r8, rbx
mov edx, 1
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x14004442d
xor bl, bl
jmp 0x1400443a8
cmp byte [rbp - 0x4f], 0
sete bl
jmp 0x1400443a8
mov byte [rbp - 0x44], 0
mov byte [rbp - 0x4f], 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], rsi
mov rax, qword [0x140bda310]
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x58], rsi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov byte [0x140bda054], 1
mov bl, 1
jmp 0x140044486
xor bl, bl
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x30], r14
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0x2c], r8d
lea rcx, [rsp + 0x40]
call fcn.140042660
lea rcx, [rsp + 0x48]
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 - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, bl
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret