Function at 0x14004e1b0
Capabilities:
Write file on windows

Disassembly:
jmp 0x14004e1b0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x140232d98]
xor rax, rsp
mov qword [rbp + 0x70], rax
movzx r15d, r8b
mov r12, rdx
mov rsi, rcx
xor r13d, r13d
movabs rax, 0x7ffffffffffffffe
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r13
mov rdi, qword [rsi + 0x10]
mov r14, rsi
cmp qword [rsi + 0x18], 8
jb 0x14004e217
mov r14, qword [rsi]
lea rcx, [rbp + 0x50]
cmp rdi, 8
jae 0x14004e233
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x68], 7
jmp 0x14004e272
mov rbx, rdi
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.140005b1e
mov qword [rbp + 0x50], rax
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140003f8a
mov qword [rbp + 0x68], rbx
lea rcx, [rbp + 0x50]
cmp rbx, 8
cmovae rcx, qword [rbp + 0x50]
mov qword [rbp + 0x60], rdi
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14004e2dc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e2d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e47d
call fcn.140001933
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r13w
cmp rdi, 0xffffffffffffffff
jne 0x14004e37e
test r15b, r15b
je 0x14004e30f
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r15b, r15b
jmp 0x14004e1f4
lea rcx, [rsp + 0x58]
call fcn.14000214e
nop
lea rdx, str.bool___cdecl_Utils::writePipe_const_class_std::filesystem::path__const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____bool_
mov rcx, rax
call fcn.140006825
mov rcx, rax
lea rdx, [0x1401c2248]
call fcn.1400025a4
mov rcx, rax
lea rdx, str.Failed_to_open_pipe:
call fcn.140006776
mov rcx, rax
mov rdx, rsi
call fcn.140003166
mov rcx, rax
lea rdx, str._data:
call fcn.140001343
mov rcx, rax
mov rdx, r12
call fcn.140005245
nop
lea rcx, [rsp + 0x58]
call fcn.140004769
xor al, al
jmp 0x14004e456
mov rax, qword [r12 + 0x10]
lea ebx, [rax + rax]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14004e395
mov rdx, qword [r12]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x40], ebx
sete bl
lea rcx, [rsp + 0x58]
call fcn.14000214e
nop
lea rdx, str.bool___cdecl_Utils::writePipe_const_class_std::filesystem::path__const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____bool_
mov rcx, rax
call fcn.140006825
mov rcx, rax
lea rdx, [0x1401c2248]
call fcn.1400025a4
lea rdx, str.Wrote:
lea rcx, str.Failed_to_write:
test bl, bl
cmovne rcx, rdx
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140003945
mov rcx, rax
mov rdx, r12
call fcn.140005245
mov rcx, rax
lea rdx, str._to
call fcn.14000423c
mov rcx, rax
mov rdx, rsi
call fcn.140003166
nop
lea rcx, [rsp + 0x58]
call fcn.140004769
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140005ff6
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140002658
int3