Function at 0x14000ef08
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov eax, dword [rcx + 0x378]
xor r15d, r15d
mov ebp, r9d
lea r12d, [r15 + 1]
mov esi, r8d
mov r14, rdx
cmp eax, r12d
mov rbx, rcx
mov r13d, r15d
mov dword [rcx + 0x44], r15d
jne 0x14000ef4f
mov dword [rcx + 0x40], r15d
jmp 0x14000ef6f
cmp eax, 2
je 0x14000ef6b
cmp r8d, 4
mov dword [rcx + 0x40], r12d
jne 0x14000ef62
mov dword [rcx + 0x44], r12d
cmp eax, 3
jne 0x14000ef6f
mov dword [rcx + 0x44], r12d
mov dword [rcx + 0x40], r12d
call fcn.14000cbb0
cmp word [r14], r15w
je 0x14000ef86
xor edx, edx
mov rcx, r14
call fcn.140009ae0
jmp 0x14000ef91
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x14000f1f8
cmp ebp, r15d
jne 0x14000efe3
cmp dword [rbx + 0x40], r15d
je 0x14000efe3
cmp dword [rbx + 0x44], r15d
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x60]
mov rcx, rax
je 0x14000efd0
mov r8d, 3
lea rdx, [0x14001b820]
jmp 0x14000efdd
mov r8d, 2
lea rdx, [0x14001b824]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0x7f02
xor ecx, ecx
mov r13d, r12d
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
cmp esi, 5
mov qword [0x140020400], rax
je 0x14000f00d
cmp esi, 6
jne 0x14000f01f
mov rax, qword [rbx]
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0xb8]
cmp esi, 7
jne 0x14000f030
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x50]
cmp esi, 2
jne 0x14000f04c
cmp dword [rbx + 0x374], r15d
je 0x14000f068
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.14000e118
cmp esi, 4
jne 0x14000f068
cmp dword [rbx + 0x374], r15d
je 0x14000f068
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.14000df60
cmp dword [rsp + 0x80], r15d
mov rcx, qword [rbx + 0x310]
je 0x14000f10d
mov r12d, 0x100c
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, r12d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
cmp eax, r15d
jl 0x14000f1ae
lea rdx, [rsp + 0x60]
mov r8d, ebp
mov rcx, rbx
call fcn.14000d15c
cmp eax, r15d
je 0x14000f0f0
mov rax, qword [rbx]
mov rdx, qword [rsp + 0x60]
mov r8d, ebp
mov rcx, rbx
call qword [rax + 0xf0]
cmp eax, r15d
je 0x14000f0f0
mov rax, qword [rbx]
mov r8, qword [rsp + 0x60]
mov r9d, esi
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x108]
cmp eax, r15d
je 0x14000f1ab
mov rcx, qword [rbx + 0x310]
movsxd r8, ebp
mov r9d, 2
mov edx, r12d
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
jmp 0x14000f099
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebp, r15d
cmp eax, r15d
mov r12, rax
jle 0x14000f1ae
lea rdx, [rsp + 0x60]
mov r8d, ebp
mov rcx, rbx
call fcn.14000d15c
cmp eax, r15d
je 0x14000f1a1
cmp dword [rbx + 0x370], r15d
mov rcx, qword [rbx + 0x310]
movsxd r8, ebp
mov edx, 0x102c
mov r9d, 0xf000
jne 0x14000f166
mov r9d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx]
mov rdx, qword [rsp + 0x60]
mov r8d, ebp
mov rcx, rbx
call qword [rax + 0xf0]
cmp eax, r15d
je 0x14000f1a1
mov rax, qword [rbx]
mov r8, qword [rsp + 0x60]
mov r9d, esi
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x108]
cmp eax, r15d
je 0x14000f1ab
add ebp, r13d
cmp ebp, r12d
jge 0x14000f1ae
jmp 0x14000f12d
mov r13d, r15d
cmp esi, 5
je 0x14000f1b8
cmp esi, 6
jne 0x14000f1ca
mov rax, qword [rbx]
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0xb0]
cmp esi, 7
jne 0x14000f1dc
mov r8, qword [rbx]
mov rdx, rdi
mov rcx, rbx
call qword [r8 + 0x58]
cmp word [r14], r15w
je 0x14000f1eb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140020400]
call qword [sym.imp.USER32.dll_SetCursor]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov eax, r13d
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret