Function at 0x1401769e0
Capabilities:
Write file on windows

Disassembly:
xchg rbp, rbx
mov qword [rsp + 0x10], rbp
xchg rbp, rbx
xchg rbp, r9
mov qword [rsp + 0x18], r9
xchg r9, rbp
xchg rsi, r11
mov qword [rsp + 0x20], r11
xchg r11, rsi
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x80], 0
xchg rbx, rbp
mov rbp, rcx
xchg rbp, rbx
je 0x140176bd6
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::eback_void_const___ptr64]
lea rdx, [rbx + 0x70]
cmp rax, rdx
jne 0x140176a5c
xchg rdx, r9
mov r9, qword [rbx + 0x88]
xchg rdx, r9
mov rcx, rbx
xchg r9, rdx
mov rdx, qword [rbx + 0x90]
xchg rdx, r9
xchg r8, r11
mov r11, rdx
xchg r8, r11
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::setg_wchar_t____ptr64__wchar_t____ptr64__wchar_t____ptr64____ptr64]
cmp qword [rbx + 0x68], 0
lea rdi, [rbx + 0x72]
je 0x140176b21
cmp byte [rdi], 0
je 0x140176b21
mov rax, qword [rbx]
mov esi, 0x78c54a95
sub esi, 0x5adae0ca
xor esi, 0x596b0d27
sub esi, 0x3b9f0f07
add esi, 0x303a737
add esi, 0x4d94f117
xor esi, 0x7188d37
xor esi, 0x4db2e033
sub esi, 0x13cf8338
mov edx, esi
xchg r13, rcx
mov r13, rbx
xchg rcx, r13
call qword [rax + 0x18]
cmp si, ax
jne 0x140176aca
xor al, al
jmp 0x140176b31
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140176b53
sub eax, 1
je 0x140176b65
cmp eax, 2
jne 0x140176ac3
mov byte [rdi], 0x64
sub byte [rdi], 0x17
sub byte [rdi], 0x21
xor byte [rdi], 0x72
xor byte [rdi], 0x2a
add byte [rdi], 0xa
sub byte [rdi], 0x42
add byte [rdi], 0x32
sub byte [rdi], 0x6e
mov al, 0x51
sub al, 0x10
add al, 0x32
add al, 6
xor al, 0x66
add al, 0x44
xor al, 0x38
xor al, 0x5a
mov rcx, qword [rbx + 0x80]
xor esi, esi
test al, al
mov ebp, esi
cmovne rbp, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
cmovne rbp, rsi
jmp 0x140176bde
mov byte [rdi], 0x60
sub byte [rdi], 0x15
xor byte [rdi], 0x7a
xor byte [rdi], 0x79
add byte [rdi], 0x20
sub byte [rdi], 0x68
mov rsi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rsi, rax
je 0x140176bcb
xchg rsi, r9
mov rsi, qword [rbx + 0x80]
xchg r9, rsi
lea rcx, [rsp + 0x30]
mov r8, rsi
mov edx, 0x3010752b
add edx, 0x17769127
add edx, 0x31d2399
xor edx, 0x5e10118b
sub edx, 0x6f9d8fd
add edx, 0x920ad25
add edx, 0x4ec95629
xor edx, 0x65a462b0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140176ac3
cmp byte [rdi], 0
sete al
jmp 0x140176b31
xor esi, esi
lea rdi, [rcx + 0x72]
mov ebp, esi
mov rcx, rbx
mov byte [rbx + 0x7c], 0x60
add byte [rbx + 0x7c], 0x10
xor byte [rbx + 0x7c], 0x43
sub byte [rbx + 0x7c], 0x30
add byte [rbx + 0x7c], 0x41
sub byte [rbx + 0x7c], 0x44
mov byte [rdi], 0x36
add byte [rdi], 3
add byte [rdi], 0x20
sub byte [rdi], 0x3c
xor byte [rdi], 0x31
add byte [rdi], 0x24
xor byte [rdi], 0x36
sub byte [rdi], 0x66
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void____ptr64]
xchg rsi, r15
mov qword [rbx + 0x80], r15
xchg r15, rsi
xchg rbx, rax
mov rbx, rbp
xchg rbx, rax
mov rcx, qword [0x140217068]
mov rbp, qword [rsp + 0x70]
xchg r15, rsi
mov qword [rbx + 0x68], r15
xchg r15, rsi
xchg r10, rsi
mov r10, qword [rsp + 0x78]
xchg rsi, r10
xchg r11, rcx
mov qword [rbx + 0x74], r11
xchg r11, rcx
xchg r11, rbx
mov r11, qword [rsp + 0x68]
xchg rbx, r11
add rsp, 0x50
push rbx
xchg qword [rsp + 8], rdi
add rsp, 0x10
nop
add rsp, 8
jmp qword [rsp - 8]