Function at 0x140093790
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rsi, r8
mov qword [rsp + 0x30], rdx
movabs r15, 0x77ef3c98c91c4c4a
movabs r12, 0x77ef3c988152aab5
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [r12 - 0x424ccd28]
lea r13, [r15 - 0x1b43d967]
lea rbp, [r12 - 0x1a22c4c3]
lea rbx, [r12 - 0x44d00cb5]
lea rcx, [r12 - 0x7d1e377f]
mov qword [rsp + 0x40], rcx
jmp 0x140093820
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x80], 0
mov rax, rbp
cmove rax, r15
nop word cs:[rax + rax]
cmp rax, r13
jge 0x140093850
cmp rax, rbp
jge 0x1400938a0
cmp rax, rbx
jge 0x140093947
cmp rax, qword [rsp + 0x40]
jne 0x140093820
test r14, r14
mov rax, r12
cmovg rax, rbx
jmp 0x140093820
lea rcx, [r15 - 0x94122f]
cmp rax, rcx
jae 0x1400938f0
lea rcx, [r15 - 0xac9ae58]
cmp rax, rcx
jae 0x14009397c
cmp rax, r13
jne 0x140093820
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x40]
cmp qword [rcx], 0
je 0x140093a47
mov rax, qword [rax + 0x58]
movsxd r14, dword [rax]
jmp 0x140093a4a
lea rcx, [r12 - 0xc3f9e2a]
cmp rax, rcx
jae 0x1400939b5
cmp rax, rbp
jne 0x140093820
mov rax, qword [rsp + 0x28]
mov r9, qword [rax + 0x80]
mov edx, 1
mov rcx, qword [rsp + 0x30]
mov r8, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rsi, rax
mov rax, r15
jmp 0x140093820
cmp rax, r15
jae 0x1400939d1
cmp rax, rcx
jne 0x140093820
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x40]
mov rcx, qword [rax]
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x58]
sub dword [rcx], r14d
add rdi, r14
mov qword [rsp + 0x30], rdi
sub rsi, r14
mov rax, qword [rax + 0x40]
movsxd rcx, r14d
add qword [rax], rcx
mov rax, r12
jmp 0x140093820
lea rcx, [r12 - 0x424ccd28]
cmp rax, rcx
jae 0x140093a0a
cmp rax, rbx
jne 0x140093820
lea rcx, [r12 - 0xc3f9e2a]
lea rax, [r15 - 0x94122f]
cmp rsi, r14
cmovl rax, rcx
jmp 0x140093820
lea rdi, [r15 - 0x661046b]
cmp rax, rdi
jae 0x140093a26
cmp rax, rcx
jne 0x140093820
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov r8, rsi
call 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 qword [rsp + 0x38], rax
mov rax, rdi
jmp 0x140093820
cmp rax, r12
jae 0x140093a2e
lea rdx, [r15 - 0x94122f]
cmp rax, rcx
cmove r14, rsi
cmove rax, rdx
jmp 0x140093820
lea rcx, [r15 + 0x2ba586f8]
cmp rax, rcx
jae 0x1400937fd
mov rcx, qword [rsp + 0x48]
sub rcx, rsi
lea rdx, [r15 - 0x661046b]
cmp rax, r15
mov r8, qword [rsp + 0x38]
cmove r8, rcx
mov qword [rsp + 0x38], r8
cmove rax, rdx
jmp 0x140093820
jne 0x140093820
lea rax, [r15 - 0xac9ae58]
cmp qword [rsp + 0x50], 0
cmove rax, r13
jmp 0x140093820
jne 0x140093820
jmp 0x140093a60
jne 0x140093820
lea rax, [r15 + 0x2ba586f8]
test rsi, rsi
cmovle rax, r15
jmp 0x140093820
xor r14d, r14d
test rsi, rsi
mov rax, r12
cmovg rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rsi
jmp 0x140093820
mov rax, qword [rsp + 0x38]
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret