Function at 0x14000fcf0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14009f088]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov ebx, edx
mov r14, rcx
cmp qword [0x1400a4850], 0
je 0x140010054
cmp qword [0x1400a48f0], 0
je 0x140010054
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x1400a4900]
lea rdx, [0x140089c90]
lea rcx, [rbp - 0x41]
call fcn.1400106c0
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.1400136d0
nop
lea r8, [rbp + 0x1f]
mov rdi, qword [rbp + 0x1f]
mov rsi, qword [rbp + 0x37]
cmp rsi, 8
cmovae r8, rdi
mov r9, qword [rbp + 0x2f]
cmp r9, 5
jne 0x14000fdc2
mov rdx, r9
lea r10, [0x140089960]
sub r10, r8
nop dword [rax + rax]
movzx eax, word [r10 + r8]
cmp word [r8], ax
jne 0x14000fdcc
add r8, 2
sub rdx, 1
jne 0x14000fda0
test ebx, ebx
jle 0x14001001d
jmp 0x140010011
cmp r9, 2
jbe 0x14001000d
lea rax, [rbp + 0x1f]
cmp rsi, 8
cmovae rax, rdi
mov ebx, 1
cmp word [rax], 0x22
jne 0x14000fe1c
mov eax, ebx
cmp r9, rbx
cmovb rax, r9
lea rcx, [rbp + 0x1f]
cmp rsi, 8
cmovae rcx, rdi
sub r9, rax
mov qword [rbp + 0x2f], r9
lea r8, [r9*2 + 2]
lea rdx, [rcx + rax*2]
call fcn.14004cf20
mov rsi, qword [rbp + 0x37]
mov r9, qword [rbp + 0x2f]
mov rdi, qword [rbp + 0x1f]
lea rax, [rbp + 0x1f]
cmp rsi, 8
cmovae rax, rdi
cmp word [rax + r9*2 - 2], 0x22
jne 0x14000fe82
lea rdx, [r9 - 1]
cmp r9, rdx
jb 0x140010084
mov rax, r9
sub rax, rdx
cmp rax, rbx
cmovb rbx, rax
lea rax, [rbp + 0x1f]
cmp rsi, 8
cmovae rax, rdi
lea rcx, [rax + rdx*2]
sub r9, rbx
mov qword [rbp + 0x2f], r9
sub r9, rdx
lea r8, [r9*2 + 2]
lea rdx, [rcx + rbx*2]
call fcn.14004cf20
mov rsi, qword [rbp + 0x37]
mov r9, qword [rbp + 0x2f]
mov rdi, qword [rbp + 0x1f]
lea r10, [rbp + 0x1f]
cmp rsi, 8
cmovae r10, rdi
cmp r9, 3
jb 0x14000ffd3
lea r11, [r9 - 2]
lea r11, [r10 + r11*2]
mov rax, r10
lea rbx, [0x140089cd0]
nop word [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x14000ffd3
cmp word [rax], 0x31
je 0x14000fecf
add rax, 2
sub rcx, 1
jmp 0x14000feb9
test rax, rax
je 0x14000ffd3
mov r8d, 3
mov rdx, rbx
mov r9, rax
sub r9, rbx
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x140010004
add rdx, 2
sub r8, 1
jne 0x14000fef0
sub rax, r10
cmp rax, 2
jae 0x14000ffd3
lea rax, [rbp - 0x21]
mov qword [rbp - 0x59], rax
lea rdx, [0x1400a4840]
lea rcx, [rbp - 0x21]
call fcn.1400102e0
mov rbx, rax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.1400102e0
nop
mov rdx, rbx
mov rcx, rax
call fcn.140014a70
movzx ebx, al
lea rcx, [0x1400a4950]
call fcn.14002d46c
test eax, eax
je 0x14000ff63
mov ecx, eax
call fcn.14002cf28
mov dword [rbp - 0x59], 7
xor edi, edi
mov dword [rbp - 0x51], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x51]
lea r8d, [rdi + 4]
lea rdx, [rbp - 0x59]
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
test bl, bl
setne al
mov dword [rbp - 0x51], eax
mov dword [rbp - 0x59], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x59]
lea r8d, [rdi + 4]
lea rdx, [rbp - 0x51]
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [0x1400a4950]
call fcn.14002d490
test eax, eax
je 0x14000ffcb
mov ecx, eax
call fcn.14002cf28
nop
mov rsi, qword [rbp + 0x37]
mov rdi, qword [rbp + 0x1f]
cmp rsi, 8
jb 0x140010054
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001004c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001007e
jmp 0x14001004c
add rax, 2
jmp 0x14000feb0
test ebx, ebx
jle 0x14000ffd3
lea edx, [rbx - 1]
mov rcx, r14
call fcn.14000fcf0
nop
cmp rsi, 8
jb 0x140010054
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001004c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010078
mov rcx, rdi
call fcn.14002e8b4
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002e890
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14004fe44
int3
call fcn.14004fe44
nop
call fcn.140002460
nop
int3