Function at 0x14000f860
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r15
sub rsp, 0xe0
mov rax, qword [0x140050010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rcx, qword [0x140108af0]
lea rdx, str.EEPHRD_r
add rcx, 0x12c92e0
call fcn.140001190
mov rbx, qword [0x140108af0]
xor r15d, r15d
mov rbp, 0xffffffffffffffff
cmp dword [rbx + 0x12ca2f8], 1
jne 0x14000fe12
mov rdi, qword [rbx + 0x4174770]
cmp dword [rdi + 8], 1
je 0x14000f8ff
lea rdx, [rbx + 0x12c92e0]
mov r8, rbp
inc r8
cmp byte [rdx + r8], r15b
jne 0x14000f8d1
mov rcx, qword [rdi + 0xe00028]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [0x140108af0]
mov dword [rdi + 0xe00020], r15d
cmp dword [rbx + 0x12ca2f8], 1
jne 0x14000fe12
lea rdi, [rbx + 0xbb12e0]
mov rbx, qword [rbx + 0x4174770]
cmp dword [rbx + 8], 1
jne 0x14000f928
mov byte [rdi], r15b
jmp 0x14000fe12
mov qword [rsp + 0x100], rsi
call qword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
call qword [sym.imp.WINMM.dll_timeGetTime]
movsxd rdx, dword [rbx + 0xe0001c]
cmp dword [rbx + 0xe00018], edx
jne 0x14000f967
sub eax, esi
cmp eax, 0x3e8
ja 0x14000fe0a
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000f938
sub eax, dword [rbx + 0xe00024]
cmp eax, 0x14
jae 0x14000f97f
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000f938
mov r8d, r15d
mov r9, rdx
nop word [rax + 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, r15d
mov r9, r15
cmovb edx, ecx
cmovb r9, rax
cmp edx, dword [rbx + 0xe00018]
jne 0x14000f990
test r8d, r8d
jle 0x14000fe0a
mov rbx, qword [0x140108af0]
mov edx, r15d
movsxd rax, r8d
mov qword [rsp + 0x108], r14
movaps xmmword [rsp + 0xd0], xmm6
mov byte [rax + rbx + 0xbb12e0], r15b
mov rcx, qword [rbx + 0x4174770]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x14000fa28
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x14000fa21
mov dword [rcx + 0xe0001c], r15d
inc edx
cmp edx, r8d
jl 0x14000fa00
lea r10, [rbx + 0xbb12e7]
mov r11, r15
mov r8d, r15d
mov r9d, r15d
mov rdx, r15
nop dword [rax + rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000fa59
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x14000fa64
cmp cl, 0x2d
jne 0x14000fa6f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x14000fa40
jmp 0x14000fa77
cmp cl, 0x2c
jne 0x14000fa77
inc rdx
add r10, rdx
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 0x14000fa9f
sub cl, 0x2c
cmp cl, 1
ja 0x14000faab
inc r11
cmp r11, 0x1000
jl 0x14000fa32
movsd xmm6, qword [0x140049468]
lea rdx, [rsp + 0x44]
mov r14d, 3
lea rcx, [rbx + 0x6009c0]
mov r8d, r14d
nop dword [rax + rax]
mov eax, dword [rdx - 4]
lea rcx, [rcx + 0x20]
sub eax, 0x8000
lea rdx, [rdx + 0x10]
movd xmm0, eax
mov eax, dword [rdx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rcx - 0x80], xmm0
movsd qword [rcx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rdx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rcx - 0x78], xmm0
movsd qword [rcx - 0x18], xmm0
movd xmm0, eax
mov eax, dword [rdx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rcx - 0x70], xmm0
movsd qword [rcx - 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rcx - 0x68], xmm0
movsd qword [rcx - 8], xmm0
sub r8, 1
jne 0x14000fad0
lea rcx, [rbx + 0x12c92e0]
lea rdx, str.EEAMPRD_r
call fcn.140001190
mov rbx, qword [0x140108af0]
cmp dword [rbx + 0x12ca2f8], 1
jne 0x14000fdfa
mov rdi, qword [rbx + 0x4174770]
cmp dword [rdi + 8], 1
je 0x14000fbc6
lea rdx, [rbx + 0x12c92e0]
inc rbp
cmp byte [rdx + rbp], r15b
jne 0x14000fb95
mov rcx, qword [rdi + 0xe00028]
lea r9, [rsp + 0x30]
mov r8, rbp
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [0x140108af0]
mov dword [rdi + 0xe00020], r15d
cmp dword [rbx + 0x12ca2f8], 1
jne 0x14000fdfa
lea rdi, [rbx + 0xbb12e0]
mov rbx, qword [rbx + 0x4174770]
cmp dword [rbx + 8], 1
jne 0x14000fbef
mov byte [rdi], r15b
jmp 0x14000fdfa
call qword [sym.imp.WINMM.dll_timeGetTime]
mov esi, eax
call qword [sym.imp.WINMM.dll_timeGetTime]
movsxd rdx, dword [rbx + 0xe0001c]
cmp dword [rbx + 0xe00018], edx
jne 0x14000fc26
sub eax, esi
cmp eax, 0x3e8
ja 0x14000fdfa
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000fbf7
sub eax, dword [rbx + 0xe00024]
cmp eax, 0x14
jae 0x14000fc3e
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000fbf7
mov r8d, r15d
mov r9, rdx
nop dword [rax]
nop dword [rax + 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, r15d
mov r9, r15
cmovb edx, ecx
cmovb r9, rax
cmp edx, dword [rbx + 0xe00018]
jne 0x14000fc50
test r8d, r8d
jle 0x14000fdfa
mov rbx, qword [0x140108af0]
mov edx, r15d
movsxd rax, r8d
mov byte [rax + rbx + 0xbb12e0], r15b
mov rcx, qword [rbx + 0x4174770]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x14000fcd8
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x14000fcd1
mov dword [rcx + 0xe0001c], r15d
inc edx
cmp edx, r8d
jl 0x14000fcb0
lea r10, [rbx + 0xbb12e8]
mov r11, r15
mov r8d, r15d
mov r9d, r15d
mov rdx, r15
nop dword [rax + rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000fd09
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x14000fd14
cmp cl, 0x2d
jne 0x14000fd1f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x14000fcf0
jmp 0x14000fd27
cmp cl, 0x2c
jne 0x14000fd27
inc rdx
add r10, rdx
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 0x14000fd4f
sub cl, 0x2c
cmp cl, 1
ja 0x14000fd5b
inc r11
cmp r11, 0x1000
jl 0x14000fce2
lea rdx, [rsp + 0x44]
lea rcx, [rbx + 0x600900]
nop word [rax + rax]
mov eax, dword [rdx - 4]
lea rcx, [rcx + 0x20]
sub eax, 0x8000
lea rdx, [rdx + 0x10]
movd xmm0, eax
mov eax, dword [rdx - 0x10]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rcx - 0x80], xmm0
movsd qword [rcx - 0x20], xmm0
movd xmm0, eax
mov eax, dword [rdx - 0xc]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rcx - 0x78], xmm0
movsd qword [rcx - 0x18], xmm0
movd xmm0, eax
mov eax, dword [rdx - 8]
cvtdq2pd xmm0, xmm0
sub eax, 0x8000
divsd xmm0, xmm6
movsd qword [rcx - 0x70], xmm0
movsd qword [rcx - 0x10], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm6
movsd qword [rcx - 0x68], xmm0
movsd qword [rcx - 8], xmm0
sub r14, 1
jne 0x14000fd70
mov r14, qword [rsp + 0x108]
movaps xmm6, xmmword [rsp + 0xd0]
mov rsi, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001d8d0
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop r15
pop rdi
pop rbp
ret