Function at 0x14031c1b0
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 rsi, r8
mov r15, rdx
mov r14, rcx
lea rax, [rcx + 0x68]
mov qword [rsp + 0x50], rax
mov eax, 0xbde2b39a
jmp 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x53ac3b24
mov ecx, 0x92b67e78
nop word cs:[rax + rax]
nop dword [rax]
cmove eax, ecx
cmp dword [0x140b7e564], 0xa
cmovl eax, ecx
cmp eax, 0x2954044
jle 0x14031c270
cmp eax, 0x487694d1
jg 0x14031c2d0
cmp eax, 0x30fcb4fc
jle 0x14031c381
cmp eax, 0x3d39e68e
jle 0x14031c49b
cmp eax, 0x3d39e68f
je 0x14031c626
cmp eax, 0x44948d40
je 0x14031c630
cmp eax, 0x46fbaad8
jne 0x14031c20d
cmp byte [rsp + 0x27], 0
mov eax, 0x4a2f9f25
mov ecx, 0x82d271bd
cmovne eax, ecx
mov rbx, qword [rsp + 0x30]
jmp 0x14031c20d
cmp eax, 0xc0d9a5e8
jg 0x14031c340
cmp eax, 0x9f4b89ec
jg 0x14031c3bd
cmp eax, 0x89bd3826
jle 0x14031c4bb
cmp eax, 0x89bd3827
je 0x14031c63f
cmp eax, 0x8e6efce2
je 0x14031c64c
cmp eax, 0x92b67e78
jne 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x53ac3b24
mov ecx, 0x69e0e091
jmp 0x14031c200
cmp eax, 0x69e0e090
jg 0x14031c401
cmp eax, 0x4a2f9f24
jle 0x14031c4db
cmp eax, 0x4a2f9f25
je 0x14031c66a
cmp eax, 0x53ac3b24
je 0x14031c6a7
cmp eax, 0x5b610277
jne 0x14031c20d
mov rax, qword [rsp + 0x30]
cmp rax, rsi
setg byte [rsp + 0x27]
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x44948d40
mov ecx, 0x33ac0c3a
jmp 0x14031c200
cmp eax, 0xdbc90a44
jg 0x14031c44b
cmp eax, 0xd1d8c54f
jle 0x14031c518
cmp eax, 0xd1d8c550
je 0x14031c6b1
cmp eax, 0xd5c31146
je 0x14031c6ce
cmp eax, 0xd752a8a6
jne 0x14031c20d
mov eax, 0xcf26167
jmp 0x14031c20d
cmp eax, 0xcf26166
jle 0x14031c53d
cmp eax, 0xcf26167
je 0x14031c6ec
cmp eax, 0x1407458a
je 0x14031c70a
cmp eax, 0x204a4a94
jne 0x14031c20d
mov rbp, rsi
sub rbp, r12
mov eax, 0x1407458a
jmp 0x14031c20d
cmp eax, 0xb42d0e4f
jle 0x14031c569
cmp eax, 0xb42d0e50
je 0x14031c72d
cmp eax, 0xb4b2c1eb
je 0x14031c737
cmp eax, 0xbde2b39a
jne 0x14031c20d
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
setne byte [rsp + 0x26]
mov eax, 0x727ca479
jmp 0x14031c20d
cmp eax, 0x727ca478
jle 0x14031c59d
cmp eax, 0x727ca479
je 0x14031c1d9
cmp eax, 0x7824ddaa
je 0x14031c755
cmp eax, 0x79a6d1d1
jne 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x44948d40
mov ecx, 0x5b610277
jmp 0x14031c200
cmp eax, 0xf89d2c94
jle 0x14031c5dc
cmp eax, 0xf89d2c95
je 0x14031c75f
cmp eax, 0xfb8e0516
je 0x14031c76e
cmp eax, 0xfdac4c02
jne 0x14031c20d
mov qword [rsp + 0x38], r14
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x40]
cmp qword [rcx], 0
je 0x14031c877
mov rax, qword [rax + 0x58]
movsxd rax, dword [rax]
jmp 0x14031c879
cmp eax, 0x30fcb4fd
je 0x14031c778
cmp eax, 0x33ac0c3a
jne 0x14031c888
mov eax, 0xab71e7cf
jmp 0x14031c20d
cmp eax, 0x804a1807
je 0x14031c782
cmp eax, 0x82d271bd
jne 0x14031c20d
mov eax, 0x89bd3827
jmp 0x14031c20d
cmp eax, 0x487694d2
je 0x14031c7ab
cmp eax, 0x4982e5cf
jne 0x14031c20d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x68], r13
cmp qword [rsp + 0x28], 0
mov eax, 0x204a4a94
mov ecx, 0x4466ef4
cmovg eax, ecx
mov r12, qword [rsp + 0x28]
jmp 0x14031c20d
cmp eax, 0xc0d9a5e9
je 0x14031c7c2
cmp eax, 0xc2b18b80
jne 0x14031c20d
mov eax, 0x1407458a
mov rbp, qword [rsp + 0x58]
jmp 0x14031c20d
cmp eax, 0x2954045
je 0x14031c7e0
cmp eax, 0x4466ef4
jne 0x14031c20d
mov rax, qword [r14 + 0x80]
mov qword [rsp + 0x48], rax
mov eax, 0xd1d8c550
jmp 0x14031c20d
cmp eax, 0x9f4b89ed
je 0x14031c7fb
cmp eax, 0xab71e7cf
jne 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x30fcb4fd
mov ecx, 0x8e6efce2
jmp 0x14031c200
cmp eax, 0x69e0e091
je 0x14031c819
cmp eax, 0x6ed04e2b
jne 0x14031c20d
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov qword [rsp + 0x60], rax
mov eax, 0x487694d2
jmp 0x14031c20d
cmp eax, 0xdbc90a45
je 0x14031c830
cmp eax, 0xdcd23ec2
jne 0x14031c20d
mov rcx, qword [rsp + 0x40]
mov rdx, r15
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 + 0x58], rax
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2954045
mov ecx, 0xd752a8a6
jmp 0x14031c200
mov eax, 0xc0d9a5e9
jmp 0x14031c20d
mov rax, qword [rsp + 0x30]
mov eax, 0x5b610277
jmp 0x14031c20d
mov eax, 0x4a2f9f25
mov rbx, rsi
jmp 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x30fcb4fd
mov ecx, 0x46fbaad8
jmp 0x14031c200
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x40]
mov rdi, qword [rax]
mov eax, 0x2bbed75f
nop dword [rax + rax]
cmp eax, 0xd43dd417
je 0x14031c84e
cmp eax, 0x2bbed75f
jne 0x14031c680
mov rcx, rdi
mov rdx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0xd43dd417
jmp 0x14031c680
mov eax, 0x92b67e78
jmp 0x14031c20d
cmp qword [rsp + 0x48], 0
mov eax, 0x6ed04e2b
mov ecx, 0x204a4a94
cmove eax, ecx
mov r12, qword [rsp + 0x28]
jmp 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x7824ddaa
mov ecx, 0xb42d0e50
jmp 0x14031c200
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x3d39e68f
mov ecx, 0xc0d9a5e9
jmp 0x14031c200
mov qword [rsp + 0x70], rbp
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xfb8e0516
mov ecx, 0xb4b2c1eb
jmp 0x14031c200
mov eax, 0xfdac4c02
jmp 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xfb8e0516
mov ecx, 0x38d04c24
jmp 0x14031c200
mov eax, 0xd5c31146
jmp 0x14031c20d
mov qword [rsp + 0x40], r14
mov eax, 0xdbc90a45
jmp 0x14031c20d
mov eax, 0xb4b2c1eb
jmp 0x14031c20d
mov eax, 0x8e6efce2
jmp 0x14031c20d
cmp qword [rsp + 0x30], 0
mov eax, 0x4982e5cf
mov ecx, 0x79a6d1d1
cmovg eax, ecx
test rsi, rsi
mov ecx, 0x4982e5cf
cmovle eax, ecx
mov rdi, rsi
mov r13, r15
jmp 0x14031c20d
mov rax, qword [rsp + 0x60]
mov r12, qword [rsp + 0x28]
sub r12, rax
mov eax, 0x204a4a94
jmp 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x3d39e68f
mov ecx, 0xc2b18b80
jmp 0x14031c200
mov rcx, qword [rsp + 0x40]
mov rdx, r15
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 eax, 0xdcd23ec2
jmp 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x7824ddaa
mov ecx, 0xd5c31146
jmp 0x14031c200
cmp byte [rsp + 0x26], 0
mov eax, 0x9f4b89ed
mov ecx, 0xf89d2c95
cmovne eax, ecx
jmp 0x14031c20d
mov eax, dword [0x140b7e560]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2954045
mov ecx, 0xdcd23ec2
jmp 0x14031c200
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x58]
sub dword [rcx], ebx
lea r13, [r15 + rbx]
mov rdi, rsi
sub rdi, rbx
mov rax, qword [rax + 0x40]
movsxd rcx, ebx
add qword [rax], rcx
mov eax, 0x4982e5cf
jmp 0x14031c20d
xor eax, eax
mov qword [rsp + 0x30], rax
mov eax, 0x804a1807
jmp 0x14031c20d
cmp eax, 0x38d04c24
jne 0x14031c20d
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