Function at 0x14001c3e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x290
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor ebp, ebp
mov ebx, ebp
cmp dword [0x14006b210], ebx
jbe 0x14001c642
xor edx, edx
mov qword [rsp + 0x2a0], rsi
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140034ac0
mov eax, dword [0x7ffe02d8]
lea r9, str.GlobalAsMonStartupTask_NamedPipeMux
lea r8, str._s_0x_x
mov dword [rsp + 0x20], eax
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.140009eb0
lea r8, [rsp + 0x70]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenMutexW]
lea rsi, [0x14006b110]
test rax, rax
je 0x14001c5fe
mov rcx, rax
mov qword [rsp + 0x2a8], rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [0x7ffe02d8]
lea r9, str..pipeAsMonStartupTask_NamedPipeCommand
lea r8, str._s_0x_x
mov dword [rsp + 0x20], eax
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.140009eb0
nop dword [rax]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x70]
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c510
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xe7
jne 0x14001c5f6
mov edx, 0x7d0
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_WaitNamedPipeW]
test eax, eax
jne 0x14001c4b0
jmp 0x14001c5f6
mov eax, dword [0x14006b210]
test eax, eax
je 0x14001c5e8
movaps xmm0, xmmword [0x14006b110]
add eax, 0xffffffff
movaps xmm1, xmmword [0x14006b120]
mov edx, ebp
movups xmmword [rsp + 0x48], xmm0
mov dword [0x14006b210], eax
movups xmmword [rsp + 0x58], xmm1
je 0x14001c5a7
nop dword [rax]
nop word [rax + rax]
lea ebx, [rdx + 1]
mov eax, edx
mov ecx, ebx
shl rcx, 5
add rcx, rsi
shl rax, 5
add rax, rsi
je 0x14001c58b
test rcx, rcx
je 0x14001c57c
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
jmp 0x14001c59b
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
call fcn.140039644
mov dword [rax], 0x16
call fcn.140039524
mov eax, dword [0x14006b210]
mov edx, ebx
cmp ebx, eax
jb 0x14001c550
xor ecx, ecx
shl rax, 5
add rax, rsi
mov dword [rsp + 0x40], 0x20
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x48]
lea r8d, [rcx + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
jmp 0x14001c510
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov ebx, 1
mov rdi, qword [rsp + 0x2a8]
mov edx, ebp
cmp dword [0x14006b210], edx
jbe 0x14001c634
nop dword [rax + rax]
xor eax, eax
mov ecx, edx
shl rcx, 5
inc edx
add rcx, rsi
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
cmp edx, dword [0x14006b210]
jb 0x14001c610
mov rsi, qword [rsp + 0x2a0]
mov dword [0x14006b210], ebp
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140032e60
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rbp
ret