Function at 0x14031f8e0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, r8
mov rdi, rdx
mov r14, rcx
mov eax, 0xed1f7ed4
jmp 0x14031f92d
mov eax, dword [0x140ae14c8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf01b3ea6
mov ecx, 0x7112cee9
nop dword [rax]
cmove eax, ecx
cmp dword [0x140ae14cc], 0xa
cmovl eax, ecx
cmp eax, 0x28ccad0c
jg 0x14031f970
cmp eax, 0xe33e29c8
jg 0x14031f9c0
cmp eax, 0xca9bbd93
jg 0x14031fa4f
cmp eax, 0xa67419aa
jg 0x14031fb60
cmp eax, 0x982494c6
je 0x14031fc95
cmp eax, 0xa1f55dfd
jne 0x14031f92d
mov eax, 0x4058c0c
jmp 0x14031f92d
cmp eax, 0x562974ed
jg 0x14031fa00
cmp eax, 0x3696d61b
jle 0x14031fa9c
cmp eax, 0x4eea6e99
jg 0x14031fb8d
cmp eax, 0x3696d61c
je 0x14031fcb0
cmp eax, 0x49208379
jne 0x14031f92d
cmp byte [rsp + 0x2f], 0
mov eax, 0xa67419ab
mov ecx, 0x6457a26e
cmovne eax, ecx
mov r13, qword [rsp + 0x40]
jmp 0x14031f92d
cmp eax, 0xf01b3ea5
jle 0x14031fae1
cmp eax, 0xfd5a922d
jg 0x14031fbb3
cmp eax, 0xf01b3ea6
je 0x14031fcc8
cmp eax, 0xf6e96660
jne 0x14031f92d
mov eax, 0x6e4c073e
jmp 0x14031f92d
cmp eax, 0x6e4c073d
jle 0x14031fb15
cmp eax, 0x77a2886f
jg 0x14031fbe9
cmp eax, 0x6e4c073e
je 0x14031fcd2
cmp eax, 0x7112cee9
jne 0x14031f92d
mov qword [rsp + 0x58], r14
mov eax, dword [0x140ae14c8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf01b3ea6
mov ecx, 0xa1f55dfd
jmp 0x14031f920
cmp eax, 0xcf50feac
jle 0x14031fc1c
cmp eax, 0xcf50fead
je 0x14031f903
cmp eax, 0xd6d036ee
jne 0x14031f92d
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov qword [rsp + 0x78], rax
mov eax, 0xc37d8d28
jmp 0x14031f92d
cmp eax, 0x28ccad0d
je 0x14031fcf0
cmp eax, 0x2906f3af
je 0x14031fd0d
cmp eax, 0x2f2c9945
jne 0x14031f92d
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x40]
cmp qword [rcx], 0
je 0x14031fe1f
mov rax, qword [rax + 0x58]
movsxd rax, dword [rax]
jmp 0x14031fe21
cmp eax, 0xe33e29c9
je 0x14031fd1a
cmp eax, 0xe415c19d
je 0x14031fd29
cmp eax, 0xed1f7ed4
jne 0x14031f92d
mov rax, qword [r14 + 0x68]
mov qword [rsp + 0x50], rax
mov eax, 0x3696d61c
jmp 0x14031f92d
cmp eax, 0x562974ee
je 0x14031fd47
cmp eax, 0x6457a26e
je 0x14031fd5e
cmp eax, 0x6be3ab65
jne 0x14031f92d
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x80], r12
cmp qword [rsp + 0x38], 0
mov eax, 0x55f95197
mov ecx, 0x77a28870
cmovg eax, ecx
mov r15, qword [rsp + 0x38]
jmp 0x14031f92d
cmp eax, 0xa67419ab
je 0x14031fd68
cmp eax, 0xc37d8d28
jne 0x14031f92d
mov rax, qword [rsp + 0x78]
mov r15, qword [rsp + 0x38]
sub r15, rax
mov eax, 0x55f95197
jmp 0x14031f92d
cmp eax, 0x4eea6e9a
je 0x14031fd8b
cmp eax, 0x55f95197
jne 0x14031f92d
mov rbx, rsi
sub rbx, r15
mov eax, 0xcc73cc9b
jmp 0x14031f92d
cmp eax, 0xfd5a922e
je 0x14031fdf5
cmp eax, 0x4058c0c
jne 0x14031f92d
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
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 + 0x60], rax
mov eax, 0xe33e29c9
jmp 0x14031f92d
cmp eax, 0x77a28870
je 0x14031fe09
cmp eax, 0x78c413ac
jne 0x14031f92d
cmp byte [rsp + 0x2e], 0
mov eax, 0x6be3ab65
mov ecx, 0x562974ee
cmovne eax, ecx
mov rbp, rsi
mov r12, rdi
jmp 0x14031f92d
cmp eax, 0xca9bbd94
jne 0x14031fe38
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov rcx, qword [rax]
mov r8, qword [rsp + 0x20]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + 0x58]
sub dword [rdx], eax
mov rcx, qword [rcx + 0x40]
cdqe
add qword [rcx], rax
mov eax, 0x4eea6e9a
jmp 0x14031f92d
cmp qword [rsp + 0x40], 0
setg al
and al, byte [rsp + 0x2d]
mov byte [rsp + 0x2e], al
mov eax, 0x78c413ac
jmp 0x14031f92d
cmp qword [rsp + 0x50], 0
mov eax, 0xcf50fead
mov ecx, 0x2f2c9945
cmove eax, ecx
jmp 0x14031f92d
mov eax, 0x7112cee9
jmp 0x14031f92d
mov eax, dword [0x140ae14c8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf6e96660
mov ecx, 0x49208379
jmp 0x14031f920
cmp qword [rsp + 0x48], 0
mov eax, 0xd6d036ee
mov ecx, 0x55f95197
cmove eax, ecx
mov r15, qword [rsp + 0x38]
jmp 0x14031f92d
mov eax, 0xa67419ab
mov r13, rsi
jmp 0x14031f92d
mov eax, 0xcc73cc9b
mov rbx, qword [rsp + 0x60]
jmp 0x14031f92d
mov eax, dword [0x140ae14c8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xf6e96660
mov ecx, 0x6e4c073e
jmp 0x14031f920
mov rax, qword [rsp + 0x40]
cmp rax, rsi
setg byte [rsp + 0x2f]
mov eax, 0xe415c19d
jmp 0x14031f92d
mov eax, 0x2906f3af
jmp 0x14031f92d
mov qword [rsp + 0x20], r13
mov eax, dword [0x140ae14c8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xca9bbd94
mov ecx, 0x4eea6e9a
jmp 0x14031f920
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
mov rcx, qword [rax]
mov r8, qword [rsp + 0x20]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x20]
add rax, rdi
mov qword [rsp + 0x68], rax
mov rax, rsi
sub rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + 0x58]
sub dword [rdx], eax
mov rcx, qword [rcx + 0x40]
cdqe
add qword [rcx], rax
mov eax, dword [0x140ae14c8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xca9bbd94
mov ecx, 0xfd5a922e
jmp 0x14031f920
mov r12, qword [rsp + 0x68]
mov eax, 0x6be3ab65
mov rbp, qword [rsp + 0x70]
jmp 0x14031f92d
mov rax, qword [r14 + 0x80]
mov qword [rsp + 0x48], rax
mov eax, 0x28ccad0d
jmp 0x14031f92d
xor eax, eax
test rsi, rsi
mov qword [rsp + 0x40], rax
setg byte [rsp + 0x2d]
mov eax, 0x982494c6
jmp 0x14031f92d
cmp eax, 0xcc73cc9b
jne 0x14031f92d
mov rax, rbx
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret