Function at 0x1400cf2b0
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 eax, dword [0x140b762f0]
mov ebp, dword [0x140b762f4]
lea ebx, [rax - 1]
imul ebx, eax
test bl, 1
sete byte [rsp + 0x21]
cmp ebp, 0xa
setl byte [rsp + 0x22]
mov r15, r8
mov r12, rdx
mov r14, rcx
lea r13, [rcx + 0x53e8]
add r14, 0x53e0
mov eax, 0xdb18ed7a
mov ebp, 0x3b9049aa
jmp 0x1400cf32d
mov eax, dword [0x140b762f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2025cf19
mov ecx, 0x331b699d
nop
cmove eax, ecx
cmp dword [0x140b762f4], 0xa
cmovl eax, ecx
cmp eax, 0xe570e0c4
jle 0x1400cf370
cmp eax, 0x2025cf18
jle 0x1400cf3b0
cmp eax, 0x3f8b6517
jle 0x1400cf449
cmp eax, 0x6d3b04cd
jle 0x1400cf51d
cmp eax, 0x6d3b04ce
je 0x1400cf305
cmp eax, 0x7c606c1a
jne 0x1400cf32d
mov rax, qword [rsp + 0x30]
mov eax, 0xc5488a72
jmp 0x1400cf32d
cmp eax, 0xc5488a71
jg 0x1400cf3f0
cmp eax, 0x97b7c1ef
jg 0x1400cf488
cmp eax, 0x8897833d
je 0x1400cf546
cmp eax, 0x8cbb42b7
je 0x1400cf560
cmp eax, 0x96940870
jne 0x1400cf32d
mov qword [rsp + 0x50], r13
mov eax, 0x8897833d
jmp 0x1400cf32d
cmp eax, 0xfac43d6f
jg 0x1400cf4b3
cmp eax, 0xe570e0c5
je 0x1400cf57e
cmp eax, 0xe6807a10
je 0x1400cf588
cmp eax, 0xee08cc52
jne 0x1400cf32d
mov eax, 0xdcc7d2f2
jmp 0x1400cf32d
cmp eax, 0xdb18ed79
jg 0x1400cf4f2
cmp eax, 0xc5488a72
je 0x1400cf71f
cmp eax, 0xc88c433d
je 0x1400cf74b
cmp eax, 0xd6e829a5
jne 0x1400cf32d
mov qword [rsp + 0x28], r13
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov eax, dword [0x140b762f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xddb1879f
mov ecx, 0xac60f4a5
jmp 0x1400cf320
cmp eax, 0x2025cf19
je 0x1400cf755
cmp eax, 0x2c868219
je 0x1400cf75f
cmp eax, 0x331b699d
jne 0x1400cf32d
mov eax, dword [0x140b762f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2025cf19
mov ecx, 0xfac43d70
jmp 0x1400cf320
cmp eax, 0x97b7c1f0
je 0x1400cf769
cmp eax, 0x9f93ae26
je 0x1400cf780
cmp eax, 0xac60f4a5
jne 0x1400cf32d
mov eax, 0xe6807a10
jmp 0x1400cf32d
cmp eax, 0xfac43d70
je 0x1400cf78a
cmp eax, 0xfc4bd851
je 0x1400cf794
cmp eax, 0xf735b05
jne 0x1400cf32d
mov eax, dword [0x140b762f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x2c868219
mov ecx, 0xee08cc52
jmp 0x1400cf320
cmp eax, 0xdb18ed7a
je 0x1400cf7b7
cmp eax, 0xdcc7d2f2
je 0x1400cf7d7
cmp eax, 0xddb1879f
jne 0x1400cf32d
mov eax, 0xd6e829a5
jmp 0x1400cf32d
cmp eax, 0x3f8b6518
jne 0x1400cf809
mov eax, dword [0x140b762f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x7c606c1a
mov ecx, 0xc5488a72
jmp 0x1400cf320
mov rcx, qword [rsp + 0x50]
mov rdx, r12
mov r8, r15
call fcn.140017c70
mov eax, 0x6d3b04ce
jmp 0x1400cf32d
mov eax, dword [0x140b762f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xddb1879f
mov ecx, 0xd6e829a5
jmp 0x1400cf320
mov eax, 0x672a6d6c
jmp 0x1400cf32d
mov rcx, qword [rsp + 0x48]
xor edx, edx
call fcn.140017760
mov rcx, qword [rsp + 0x28]
mov rdx, r12
mov r8, r15
call fcn.140017c70
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov eax, dword [0x140b759d0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x140b759d4], 0xa
setl cl
or cl, al
mov eax, 0xbcbc0356
mov ecx, 0xb36b2acd
cmovne eax, ecx
mov esi, 0xbcbc0356
mov ecx, 0x9f1b7115
cmovne esi, ecx
mov ecx, 0xc406415c
jmp 0x1400cf600
mov ecx, 0x3b9049aa
mov edx, dword [rsp + 0x44]
nop
mov edi, ecx
cmp ecx, 0xbceca6e9
jg 0x1400cf640
cmp edi, 0xb36b2acc
jg 0x1400cf670
cmp edi, 0x96ee2734
je 0x1400cf5f5
mov ecx, edi
cmp edi, 0x9f1b7115
jne 0x1400cf600
mov ecx, dword [rsp + 0x24]
add ecx, 0xffffffff
mov dword [rsp + 0x44], ecx
mov ecx, eax
jmp 0x1400cf600
cmp edi, 0x1f9b495b
jg 0x1400cf69c
mov ecx, esi
cmp edi, 0xbceca6ea
je 0x1400cf600
mov ecx, edi
cmp edi, 0xc406415c
jne 0x1400cf600
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx]
mov dword [rsp + 0x24], ecx
mov ecx, 0x1f9b495c
jmp 0x1400cf600
cmp edi, 0xb36b2acd
je 0x1400cf6b8
mov ecx, edi
cmp edi, 0xbcbc0356
jne 0x1400cf600
mov ecx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x24]
mov ecx, 0x9f1b7115
jmp 0x1400cf600
cmp edi, 0x1f9b495c
jne 0x1400cf6c2
cmp dword [rsp + 0x24], 0
mov ecx, 0xbceca6ea
cmove ecx, ebp
xor edx, edx
jmp 0x1400cf600
mov ecx, 0x96ee2734
jmp 0x1400cf600
mov ecx, edi
cmp edi, 0x3b9049aa
jne 0x1400cf600
movsxd rsi, edx
mov rcx, qword [rsp + 0x28]
call fcn.1400d40c0
mov rdi, rax
mov ecx, 0x8d00a110
nop word cs:[rax + rax]
nop
cmp ecx, 0x77ff9ad2
je 0x1400cf7f5
cmp ecx, 0x8d00a110
jne 0x1400cf6f0
mov edx, 1
mov rcx, rdi
mov r8, rsi
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, 0x77ff9ad2
jmp 0x1400cf6f0
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
setne byte [rsp + 0x23]
mov eax, dword [0x140b762f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x7c606c1a
mov ecx, 0x97b7c1f0
jmp 0x1400cf320
mov eax, 0x3f8b6518
jmp 0x1400cf32d
mov eax, 0x331b699d
jmp 0x1400cf32d
mov eax, 0xf735b05
jmp 0x1400cf32d
cmp byte [rsp + 0x23], 0
mov eax, 0x96940870
mov ecx, 0x8cbb42b7
cmovne eax, ecx
jmp 0x1400cf32d
mov eax, 0xfc4bd851
jmp 0x1400cf32d
mov eax, 0x672a6d6c
jmp 0x1400cf32d
mov qword [rsp + 0x30], r14
mov eax, dword [0x140b762f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9f93ae26
mov ecx, 0xc88c433d
jmp 0x1400cf320
mov cl, byte [rsp + 0x21]
cmp byte [rsp + 0x22], 0
mov eax, 0x2c868219
mov edx, 0xf735b05
cmovne eax, edx
test cl, cl
cmovne eax, edx
jmp 0x1400cf32d
mov eax, dword [0x140b762f0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9f93ae26
mov ecx, 0xfc4bd851
jmp 0x1400cf320
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, 0xe570e0c5
jmp 0x1400cf32d
cmp eax, 0x672a6d6c
jne 0x1400cf32d
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret