Function at 0x14000c670
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0xe0
mov rax, qword [0x140049010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rcx, qword [0x140101ac0]
lea rdx, str.EEPHRD_r
add rcx, 0x18cb2e0
call fcn.140001180
mov rdx, qword [0x140101ac0]
xor ebp, ebp
mov rdi, 0xffffffffffffffff
cmp dword [rdx + 0x18cc310], 1
jne 0x14000c706
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x14000c706
add rdx, 0x18cb2e0
mov r8, rdi
nop
inc r8
cmp byte [rdx + r8], bpl
jne 0x14000c6e0
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 r8d, 0x3e8
call fcn.14000f520
movsxd r8, eax
test eax, eax
jle 0x14000ca9a
mov rbx, qword [0x140101ac0]
mov edx, ebp
mov qword [rsp + 0xf0], rsi
movaps xmmword [rsp + 0xd0], xmm6
mov byte [r8 + rbx + 0x11b12e0], bpl
mov rcx, qword [rbx + 0x1a36720]
mov r9d, dword [rcx + 0xe00018]
nop dword [rax + rax]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x14000c777
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x14000c770
mov dword [rcx + 0xe0001c], ebp
inc edx
cmp edx, r8d
jl 0x14000c750
lea r10, [rbx + 0x11b12e7]
mov r11, rbp
mov r8d, ebp
mov r9d, ebp
mov rdx, rbp
nop word [rax + rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000c7a9
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x14000c7b4
cmp cl, 0x2d
jne 0x14000c7bf
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x14000c790
jmp 0x14000c7c7
cmp cl, 0x2c
jne 0x14000c7c7
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 0x14000c7ef
sub cl, 0x2c
cmp cl, 1
ja 0x14000c7fb
inc r11
cmp r11, 0x1000
jl 0x14000c781
movsd xmm6, qword [0x140042f60]
lea rdx, [rsp + 0x44]
mov esi, 3
lea rcx, [rbx + 0xc009c0]
mov r8d, esi
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 r8, 1
jne 0x14000c820
lea rcx, [rbx + 0x18cb2e0]
lea rdx, str.EEAMPRD_r
call fcn.140001180
mov rdx, qword [0x140101ac0]
cmp dword [rdx + 0x18cc310], 1
jne 0x14000c90a
mov rbx, qword [rdx + 0x1a36720]
cmp dword [rbx + 8], 1
je 0x14000c90a
add rdx, 0x18cb2e0
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x14000c8e1
mov rcx, qword [rbx + 0xe00028]
lea r9, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], ebp
mov r8d, 0x3e8
call fcn.14000f520
movsxd r8, eax
test eax, eax
jle 0x14000ca8a
mov rbx, qword [0x140101ac0]
mov edx, ebp
mov byte [r8 + rbx + 0x11b12e0], bpl
mov rcx, qword [rbx + 0x1a36720]
mov r9d, dword [rcx + 0xe00018]
nop
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x14000c967
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x14000c960
mov dword [rcx + 0xe0001c], ebp
inc edx
cmp edx, r8d
jl 0x14000c940
lea r10, [rbx + 0x11b12e8]
mov r11, rbp
mov r8d, ebp
mov r9d, ebp
mov rdx, rbp
nop word [rax + rax]
movzx ecx, byte [rdx + r10]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000c999
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x14000c9a4
cmp cl, 0x2d
jne 0x14000c9af
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x14000c980
jmp 0x14000c9b7
cmp cl, 0x2c
jne 0x14000c9b7
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 0x14000c9df
sub cl, 0x2c
cmp cl, 1
ja 0x14000c9eb
inc r11
cmp r11, 0x1000
jl 0x14000c971
lea rdx, [rsp + 0x44]
lea rcx, [rbx + 0xc00900]
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 rsi, 1
jne 0x14000ca00
mov rsi, qword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140018440
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret