Function at 0x1400107f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400650c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x19], rdx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r12
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], r12b
lea rdx, [rbp - 0x11]
mov rcx, rdi
call qword [sym.imp.libprotobuf_lite.dll_public:_bool___cdecl_google::protobuf::MessageLite::SerializePartialToString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64_const___ptr64]
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
mov r8d, dword [rbp - 1]
inc r8d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xf]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140010b0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rbp + 0x2c]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140010890
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea rax, [rbp + 0x2c]
cmp r9, rax
jne 0x1400108e4
movdqa xmm0, xmmword [0x140058c80]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], dl
jmp 0x1400108f8
lea r8, [rbp + 0x2c]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x59]
call fcn.140001ca0
nop
mov r8, qword [rbp - 0x49]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
sub rax, r8
mov r15d, 0x2b
lea rsi, str.write_pipe_message_to_service_error._code:
cmp rax, r15
jb 0x140010990
lea rax, [r8 + 0x2b]
mov qword [rbp - 0x49], rax
lea rbx, [rbp - 0x59]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x59]
lea rax, [0x140057e83]
cmp rax, rbx
jbe 0x140010954
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x140010954
cmp rbx, rsi
ja 0x14001094c
mov r14, r12
jmp 0x140010957
mov r14, rbx
sub r14, rsi
jmp 0x140010957
mov r14, r15
lea rcx, [rbx + 0x2b]
inc r8
mov rdx, rbx
call fcn.140046e50
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.140046e50
lea rcx, [rbx + r14]
sub r15, r14
lea rdx, [rsi + 0x2b]
add rdx, r14
mov r8, r15
call fcn.140046e50
lea rax, [rbp - 0x59]
jmp 0x1400109a6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
mov rdx, r15
lea rcx, [rbp - 0x59]
call fcn.140008bd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x39]
mov ecx, 1
call fcn.140002860
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140010a1d
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010a18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010bd2
call fcn.14001ee3c
movdqa xmm0, xmmword [0x140058c80]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x140010a6a
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010a64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010bd8
call fcn.14001ee3c
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140010aa5
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010aa0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010bcc
call fcn.14001ee3c
mov qword [rbp - 1], r12
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
lea rax, vtable.PipeMessage.0
mov qword [rdi], rax
test byte [rdi + 8], 1
je 0x140010ad0
lea rcx, [rdi + 8]
call fcn.140013980
jmp 0x140010ad8
mov rax, qword [rdi + 8]
and rax, 0xfffffffffffffffc
test rax, rax
jne 0x140010af7
mov eax, dword [rdi + 0x24]
test eax, eax
je 0x140010af7
cmp eax, 2
jne 0x140010af3
lea rcx, [rdi + 0x18]
call qword [sym.imp.libprotobuf_lite.dll_public:_void___cdecl_google::protobuf::internal::ArenaStringPtr::Destroy_void____ptr64]
mov dword [rdi + 0x24], r12d
mov rcx, rdi
call qword [sym.imp.libprotobuf_lite.dll_public_virtual:_void___cdecl_google::protobuf::MessageLite::destructor_void____ptr64]
nop
mov eax, 0xffffffff
jmp 0x140010ba4
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140010b46
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010b41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010bcc
call fcn.14001ee3c
mov qword [rbp - 1], r12
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
lea rax, vtable.PipeMessage.0
mov qword [rdi], rax
test byte [rdi + 8], 1
je 0x140010b71
lea rcx, [rdi + 8]
call fcn.140013980
jmp 0x140010b79
mov rax, qword [rdi + 8]
and rax, 0xfffffffffffffffc
test rax, rax
jne 0x140010b98
mov eax, dword [rdi + 0x24]
test eax, eax
je 0x140010b98
cmp eax, 2
jne 0x140010b94
lea rcx, [rdi + 0x18]
call qword [sym.imp.libprotobuf_lite.dll_public:_void___cdecl_google::protobuf::internal::ArenaStringPtr::Destroy_void____ptr64]
mov dword [rdi + 0x24], r12d
mov rcx, rdi
call qword [sym.imp.libprotobuf_lite.dll_public_virtual:_void___cdecl_google::protobuf::MessageLite::destructor_void____ptr64]
nop
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14001ede0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140025cfc
nop
call fcn.140025cfc
nop
call fcn.140025cfc
int3