Function at 0x1400dc0c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r14
mov rbp, rsp
sub rsp, 0x68
lea rdx, [0x1401b9420]
lea rcx, [rbp + 0x20]
call fcn.1400ebe40
cmp qword [0x1401b7318], 0
je 0x1400dc385
xor r14d, r14d
mov qword [rsp + 0x90], rbx
cmp qword [0x1401b72d0], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x28], r14w
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
je 0x1400dc303
mov r8, qword [0x1401b72f0]
test r8, r8
je 0x1400dc303
cmp qword [0x1401b72f8], 8
lea rdx, [0x1401b72e0]
mov qword [rsp + 0x98], rsi
lea rcx, [rbp - 0x28]
cmovae rdx, qword [0x1401b72e0]
mov qword [rsp + 0x60], rdi
call fcn.14006b680
mov rcx, qword [rbp - 0x10]
lea rax, [rbp - 0x28]
mov rdx, qword [rbp - 0x28]
cmp rcx, 8
mov rdi, qword [rbp - 0x18]
cmovae rax, rdx
cmp word [rax + rdi*2 - 2], 0x5c
je 0x1400dc1ce
mov rax, rcx
sub rax, rdi
cmp rax, 1
jb 0x1400dc19f
lea rax, [rdi + 1]
cmp rcx, 8
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
cmovae rax, rdx
mov dword [rax + rdi*2], 0x5c
jmp 0x1400dc1c2
movzx r8d, byte [rbp + 0x18]
lea r9, [0x14018a954]
mov edx, 1
mov qword [rsp + 0x20], 1
lea rcx, [rbp - 0x28]
call fcn.140066e80
mov rdx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
cmp qword [0x1401b72d8], 8
lea r9, [0x1401b72c0]
mov rsi, qword [0x1401b72d0]
mov rax, rcx
cmovae r9, qword [0x1401b72c0]
sub rax, rdi
cmp rsi, rax
ja 0x1400dc226
cmp rcx, 8
lea rax, [rsi + rdi]
lea rbx, [rbp - 0x28]
mov qword [rbp - 0x18], rax
cmovae rbx, rdx
lea r8, [rsi + rsi]
mov rdx, r9
lea rcx, [rbx + rdi*2]
call fcn.1400f01c0
lea rax, [rsi + rdi]
mov word [rbx + rax*2], r14w
jmp 0x1400dc23c
movzx r8d, byte [rbp + 0x18]
lea rcx, [rbp - 0x28]
mov rdx, rsi
mov qword [rsp + 0x20], rsi
call fcn.140066e80
cmp byte [0x1401b7300], r14b
mov rsi, qword [rsp + 0x98]
je 0x1400dc256
lea rcx, [rbp - 0x28]
call fcn.1400dbde0
cmp qword [rbp - 0x10], 8
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x30], r14
cmovae rcx, qword [rbp - 0x28]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov dword [rsp + 0x20], 4
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rbx, [0x1401b7308]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400dc2fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400dc2ae
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1400dc2f3
cmp qword [0x1401b7320], 0x10
lea r9, [rbp + 0x18]
mov r8d, dword [0x1401b7318]
mov rdx, rbx
cmovae rdx, qword [0x1401b7308]
mov rcx, rdi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x60]
jmp 0x1400dc30a
lea rbx, [0x1401b7308]
cmp qword [0x1401b7320], 0x10
mov qword [0x1401b7318], r14
cmovae rbx, qword [0x1401b7308]
mov byte [rbx], r14b
call fcn.1400ecd3c
mov rdx, qword [rbp - 0x10]
mov rbx, qword [rsp + 0x90]
mov qword [0x1401b9490], rax
cmp rdx, 8
jb 0x1400dc374
mov rcx, qword [rbp - 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc36f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dc396
call fcn.1400eef0c
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
lea rcx, [rbp + 0x20]
call fcn.1400ebe80
add rsp, 0x68
pop r14
pop rbp
ret
call fcn.1400f5e30
int3