Function at 0x1401ac530
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov rax, qword [rcx + 0x68]
mov qword [rsp + 0x58], rax
mov eax, 0xb1278f1c
jmp 0x1401ac58d
mov eax, dword [0x140838538]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x3140f309
mov ecx, 0x4a491cfd
nop word cs:[rax + rax]
nop dword [rax]
cmove eax, ecx
cmp dword [0x14083853c], 0xa
cmovl eax, ecx
cmp eax, 0xcd5b0f85
jg 0x1401ac5e0
cmp eax, 0xb1da115b
jg 0x1401ac640
cmp eax, 0xa6fa36c4
jle 0x1401ac6cd
cmp eax, 0xa6fa36c5
je 0x1401ac804
cmp eax, 0xabae5050
je 0x1401ac559
cmp eax, 0xb1278f1c
jne 0x1401ac58d
cmp qword [rsp + 0x58], 0
mov eax, 0x7d911b2d
mov ecx, 0xa6fa36c5
cmove eax, ecx
jmp 0x1401ac58d
cmp eax, 0x3140f308
jg 0x1401ac690
cmp eax, 0x1aa31200
jle 0x1401ac706
cmp eax, 0x1aa31201
je 0x1401ac828
cmp eax, 0x1c187693
je 0x1401ac853
cmp eax, 0x267b8a60
jne 0x1401ac58d
mov eax, dword [0x140838538]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb1da115c
mov ecx, 0x6d92e678
jmp 0x1401ac580
cmp eax, 0xba3ac8f9
jle 0x1401ac753
cmp eax, 0xba3ac8fa
je 0x1401ac862
cmp eax, 0xbfe3f849
je 0x1401ac86f
cmp eax, 0xc801cdce
jne 0x1401ac58d
mov rax, qword [rsp + 0x40]
cmp rax, rbx
mov eax, 0xb497ef55
mov ecx, 0xba3ac8fa
cmovg eax, ecx
mov rsi, qword [rsp + 0x40]
jmp 0x1401ac58d
cmp eax, 0x6d92e677
jle 0x1401ac7a9
cmp eax, 0x6dac0d62
je 0x1401ac898
cmp eax, 0x7d911b2d
jne 0x1401ac959
mov rcx, r14
mov rdx, rdi
mov r8, rbx
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 r15, rax
mov eax, 0x85e19625
jmp 0x1401ac58d
cmp eax, 0x81c0485c
je 0x1401ac8bf
cmp eax, 0x85e19625
jne 0x1401ac58d
mov qword [rsp + 0x70], r15
mov eax, dword [0x140838538]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb1da115c
mov ecx, 0x267b8a60
jmp 0x1401ac580
cmp eax, 0xcd5b0f86
je 0x1401ac8ce
cmp eax, 0xf24c1e8e
jne 0x1401ac58d
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov eax, 0x1aa31201
jmp 0x1401ac58d
cmp eax, 0xb1da115c
je 0x1401ac8f1
cmp eax, 0xb497ef55
jne 0x1401ac58d
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x40]
mov rcx, qword [rax]
mov rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x58]
sub dword [rcx], esi
lea rbp, [rdi + rsi]
mov r13, rbx
sub r13, rsi
mov rax, qword [rax + 0x40]
movsxd rcx, esi
add qword [rax], rcx
mov eax, 0x6dac0d62
jmp 0x1401ac58d
cmp eax, 0x3140f309
je 0x1401ac8fb
cmp eax, 0x4a491cfd
jne 0x1401ac58d
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov qword [rsp + 0x60], rcx
mov eax, dword [0x140838538]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x3140f309
mov ecx, 0x1c187693
jmp 0x1401ac580
mov qword [rsp + 0x38], r14
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x40]
cmp qword [rcx], 0
je 0x1401ac929
mov rax, qword [rax + 0x58]
movsxd rax, dword [rax]
jmp 0x1401ac92b
mov rax, rbx
sub rax, qword [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [0x140838538]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf24c1e8e
mov ecx, 0x81c0485c
jmp 0x1401ac580
mov eax, 0xcd5b0f86
mov r12, qword [rsp + 0x60]
jmp 0x1401ac58d
mov eax, 0xb497ef55
mov rsi, rbx
jmp 0x1401ac58d
mov rax, qword [r14 + 0x80]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
mov eax, 0xabae5050
mov ecx, 0xcd5b0f86
cmove eax, ecx
mov r12, qword [rsp + 0x30]
jmp 0x1401ac58d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x50], rbp
cmp qword [rsp + 0x30], 0
mov eax, 0xcd5b0f86
mov ecx, 0xbfe3f849
cmovg eax, ecx
mov r12, qword [rsp + 0x30]
jmp 0x1401ac58d
mov eax, 0x85e19625
mov r15, qword [rsp + 0x68]
jmp 0x1401ac58d
mov qword [rsp + 0x28], r12
mov eax, dword [0x140838538]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf24c1e8e
mov ecx, 0x1aa31201
jmp 0x1401ac580
mov eax, 0x267b8a60
jmp 0x1401ac58d
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rax, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
mov eax, 0x4a491cfd
jmp 0x1401ac58d
xor eax, eax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
mov eax, 0x6dac0d62
mov ecx, 0xc801cdce
cmovg eax, ecx
test rbx, rbx
mov ecx, 0x6dac0d62
cmovle eax, ecx
mov r13, rbx
mov rbp, rdi
jmp 0x1401ac58d
cmp eax, 0x6d92e678
jne 0x1401ac58d
mov rax, qword [rsp + 0x70]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret