Function at 0x1401761e0
Capabilities:
Write file on windows

Disassembly:
xchg r14, rbx
mov qword [rsp + 0x10], r14
xchg rbx, r14
xchg rbp, rbx
mov qword [rsp + 0x18], rbx
xchg rbx, rbp
xchg rdx, rsi
mov qword [rsp + 0x20], rdx
xchg rdx, rsi
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x80], 0
xchg rcx, rbx
mov rcx, rbx
xchg rcx, rbx
je 0x1401763e7
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 0x140176262
xchg r9, rdx
mov r9, qword [rbx + 0x88]
xchg r9, rdx
xchg rbx, r11
mov rcx, r11
xchg rbx, r11
xchg r15, r9
mov r15, qword [rbx + 0x90]
xchg r15, r9
xchg r8, rdx
mov rdx, r8
xchg rdx, r8
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 0x140176325
cmp byte [rdi], 0
je 0x140176325
mov rax, qword [rbx]
mov esi, 0x64a54fbb
sub esi, 0x2abfd6b4
add esi, 0x3e497b88
sub esi, 0x7406d51d
xor esi, 0x2c98894f
sub esi, 0xaa34356
xor esi, 0x7728c591
sub esi, 0x3153123f
sub esi, 0x37d18538
mov edx, esi
xchg rbx, rdi
mov rcx, rdi
xchg rbx, rdi
call qword [rax + 0x18]
cmp si, ax
jne 0x1401762d0
xor al, al
jmp 0x140176333
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
xchg r12, rax
mov qword [rsp + 0x20], r12
xchg r12, 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 0x140176355
sub eax, 1
je 0x140176370
cmp eax, 2
jne 0x1401762c9
mov byte [rdi], 0x55
xor byte [rdi], 0x60
xor byte [rdi], 0
add byte [rdi], 6
sub byte [rdi], 6
sub byte [rdi], 0x23
sub byte [rdi], 0x12
mov al, 0x26
add al, 0
add al, 0x4a
sub al, 0x53
add al, 0xe
xor al, 0x59
sub al, 0x71
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 0x1401763ef
mov byte [rdi], 0x78
xor byte [rdi], 0x60
add byte [rdi], 0x2e
add byte [rdi], 0x18
sub byte [rdi], 0x2e
add byte [rdi], 0x15
xor byte [rdi], 0x51
xor byte [rdi], 0x7b
xor byte [rdi], 0x6f
mov rsi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rsi, rax
je 0x1401763dc
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
xchg r8, rsi
mov rsi, r8
xchg rsi, r8
mov edx, 0x5b1f7ba2
sub edx, 0x4e9847f
add edx, 0xb8b7b5f
sub edx, 0x5069fd3a
xor edx, 0x398644e2
xor edx, 0xfd2103
add edx, 0x515270fb
sub edx, 0x54d8e496
xor edx, 0x24a59d0f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1401762c9
cmp byte [rdi], 0
sete al
jmp 0x140176333
xor esi, esi
lea rdi, [rcx + 0x72]
mov ebp, esi
xchg rbx, r11
mov rcx, r11
xchg r11, rbx
mov byte [rbx + 0x7c], 0x3f
add byte [rbx + 0x7c], 1
xor byte [rbx + 0x7c], 0xc
xor byte [rbx + 0x7c], 0x11
xor byte [rbx + 0x7c], 0x5d
add byte [rbx + 0x7c], 0x57
xor byte [rbx + 0x7c], 0x57
mov byte [rdi], 0x38
xor byte [rdi], 0xc
xor byte [rdi], 0x5e
sub byte [rdi], 0x23
add byte [rdi], 0x1b
sub byte [rdi], 0x3a
add byte [rdi], 0x18
sub byte [rdi], 0x40
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void____ptr64]
mov qword [rbx + 0x80], rsi
xchg r12, rax
mov r12, rbp
xchg r12, rax
mov rcx, qword [0x140217068]
xchg r9, rbp
mov r9, qword [rsp + 0x70]
xchg r9, rbp
xchg rsi, r14
mov qword [rbx + 0x68], r14
xchg rsi, r14
mov rsi, qword [rsp + 0x78]
xchg rcx, r15
mov qword [rbx + 0x74], r15
xchg rcx, r15
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
nop
add rsp, 8
xchg qword [rsp - 8], rdi
nop
add rsp, 8
jmp qword [rsp - 8]