Function at 0x140053a60
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140053a81
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140053aae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140053ab0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140053b09
test ecx, ecx
jle 0x140053ae9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140053b09
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140053b09
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dl, byte [rdx]
adc al, byte [rax]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
adc byte [rax], dl
adc byte [rsi], bh
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
adc dword [rcx], edx
adc edi, edi
or cl, byte [rdx]
or bh, bh
invalid