Function at 0x14000f5a0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
sub rsp, 0x98
mov rax, qword [0x140050010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rcx, qword [0x140108af0]
cmp dword [rcx + 0x12ca2f8], 1
jne 0x14000f840
mov r9d, 0xa
mov qword [r11 + 8], rbx
add rcx, 0x12c92e0
mov qword [r11 + 0x10], rbp
lea rdx, str.K_0_0_c_c
lea r8d, [r9 + 3]
call fcn.140001190
mov rdx, qword [0x140108af0]
xor ebp, ebp
cmp dword [rdx + 0x12ca2f8], 1
jne 0x14000f648
mov rbx, qword [rdx + 0x4174770]
cmp dword [rbx + 8], 1
je 0x14000f648
add rdx, 0x12c92e0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bpl
jne 0x14000f622
mov rcx, qword [rbx + 0xe00028]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], ebp
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [0x140108af0]
cmp dword [rbx + 0x12ca2f8], 1
jne 0x14000f830
mov qword [rsp + 0x90], rdi
lea rdi, [rbx + 0xbb12e0]
mov rbx, qword [rbx + 0x4174770]
cmp dword [rbx + 8], 1
jne 0x14000f68b
mov byte [rdi], bpl
jmp 0x14000f828
mov qword [rsp + 0xb0], rsi
call qword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
nop dword [rax + rax]
call qword [sym.imp.WINMM.dll_timeGetTime]
movsxd rdx, dword [rbx + 0xe0001c]
cmp dword [rbx + 0xe00018], edx
jne 0x14000f6cf
sub eax, esi
cmp eax, 0x1f4
ja 0x14000f820
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000f6a0
sub eax, dword [rbx + 0xe00024]
cmp eax, 0x14
jae 0x14000f6e7
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000f6a0
mov r8d, ebp
mov r9, rdx
nop dword [rax]
movzx eax, byte [r9 + rbx + 0x700018]
lea ecx, [rdx + 1]
mov byte [rdi], al
lea rdi, [rdi + 1]
inc r8d
lea rax, [r9 + 1]
cmp ecx, 0x700000
mov edx, ebp
mov r9, rbp
cmovb edx, ecx
cmovb r9, rax
cmp edx, dword [rbx + 0xe00018]
jne 0x14000f6f0
test r8d, r8d
je 0x14000f820
mov rbx, qword [0x140108af0]
mov edx, ebp
mov rcx, qword [rbx + 0x4174770]
jle 0x14000f76c
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x14000f76c
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x14000f765
mov dword [rcx + 0xe0001c], ebp
inc edx
cmp edx, r8d
jl 0x14000f745
xorps xmm0, xmm0
movsxd rax, r8d
movups xmmword [rsp + 0x60], xmm0
lea r10, [rbx + 0xbb12e6]
mov r11, rbp
movups xmmword [rsp + 0x70], xmm0
mov byte [rax + rbx + 0xbb12e0], bpl
nop
mov r8d, ebp
mov r9d, ebp
mov rax, rbp
nop dword [rax]
movzx edx, byte [rax + r10]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x14000f7ba
movsx ecx, cl
lea edx, [r8 + r8*4]
lea r8d, [rcx + rdx*2]
jmp 0x14000f7c5
cmp dl, 0x2d
jne 0x14000f7d0
mov r9d, 1
inc rax
cmp rax, 0x10
jl 0x14000f7a0
jmp 0x14000f7d8
cmp dl, 0x2c
jne 0x14000f7d8
inc rax
add r10, rax
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r10]
cmovne eax, r8d
mov dword [rsp + r11*4 + 0x40], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x14000f800
sub cl, 0x2c
cmp cl, 1
ja 0x14000f80c
inc r11
cmp r11, 0x1000
jl 0x14000f790
cmp dword [rsp + 0x6c], 0x128e0
jl 0x14000f820
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0x41746c0], eax
mov rsi, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14001d8d0
add rsp, 0x98
ret