Function at 0x140095c40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11f8]
mov eax, 0x12f8
call fcn.1401f4bb0
sub rsp, rax
mov rax, qword [0x140298cb8]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
mov r12, r9
mov qword [rbp - 0x78], r9
mov rsi, r8
mov qword [rbp - 0x70], r8
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov r13d, r14d
mov dword [rsp + 0x70], r14d
mov r8d, dword [rcx]
test r8d, r8d
je 0x140095d4f
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0x1300
mov r9d, 0x409
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 0xf
mov rdx, qword [rsp + 0x78]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [rdx + r14], r13b
jne 0x140095ce1
mov r8, r14
lea rcx, [rbp - 0x68]
call fcn.140003300
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.140003f40
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140095d48
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095d43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400966e7
call fcn.1401f41fc
xor al, al
jmp 0x1400966f6
cmp qword [rcx + 8], r13
jne 0x140095da8
mov r9d, 0xa8
lea r8, str..._third_partyprotobuf_srcgoogleprotobufcompiler_subprocess.cc
mov edx, 3
lea rcx, [rbp + 8]
call fcn.14013f680
nop
mov r13d, 1
mov dword [rsp + 0x70], r13d
lea rdx, str.CHECK_failed:_child_handle____NULL:
mov rcx, rax
call fcn.14013fb20
mov rcx, rax
lea rdx, str.Must_call_Start___first.
call fcn.14013fb20
mov rdx, rax
lea rcx, [rsp + 0x61]
call fcn.14013f7a0
nop
test r13b, 1
je 0x140095dbb
and r13d, 0xfffffffe
lea rcx, [rbp + 8]
call fcn.14013f730
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.140145550
nop
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov r15d, r14d
mov rdx, qword [rdi + 0x18]
mov r14, 0xffffffffffffffff
test rdx, rdx
je 0x1400960c8
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rbp - 0x28]
test rcx, rcx
cmovne rax, rcx
mov qword [rbp - 0x28], rax
xor ebx, ebx
test rcx, rcx
setne bl
test rdx, rdx
je 0x140095e30
neg rcx
sbb rax, rax
and eax, 8
mov qword [rbp + rax - 0x28], rdx
inc ebx
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp - 0x28]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, eax
xor r12d, r12d
cmp eax, ebx
jae 0x140095e58
mov r12, qword [rbp + rsi*8 - 0x28]
jmp 0x140095fae
cmp esi, 0xffffffff
jne 0x140095f62
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x409
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], bl
mov rdx, qword [rsp + 0x68]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rdx + r8], bl
jne 0x140095eb0
lea rcx, [rbp - 0x68]
call fcn.140003300
or r13d, 4
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov r9d, 0xc2
lea r8, str..._third_partyprotobuf_srcgoogleprotobufcompiler_subprocess.cc
mov edx, 3
lea rcx, [rbp + 8]
call fcn.14013f680
nop
lea rdx, str.WaitForMultipleObjects:
mov rcx, rax
call fcn.14013fb20
mov rcx, rax
lea rdx, [rbp - 0x68]
call fcn.14013f840
mov rdx, rax
lea rcx, [rsp + 0x61]
call fcn.14013f7a0
nop
lea rcx, [rbp + 8]
call fcn.14013f730
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140095fb0
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140095f5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400960df
call fcn.1401f41fc
jmp 0x140095fb0
mov r9d, 0xc5
lea r8, str..._third_partyprotobuf_srcgoogleprotobufcompiler_subprocess.cc
mov edx, 3
lea rcx, [rbp + 8]
call fcn.14013f680
nop
lea rdx, str.WaitForMultipleObjects:_Unexpected_return_code:
mov rcx, rax
call fcn.14013fb20
mov rcx, rax
mov edx, esi
call fcn.14013fa30
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14013f7a0
nop
lea rcx, [rbp + 8]
call fcn.14013f730
xor ebx, ebx
mov rcx, qword [rdi + 0x10]
cmp r12, rcx
jne 0x140096014
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rax, qword [rbp + 0x40]
mov r8d, dword [rbp + 0x50]
sub r8d, r15d
movsxd rdx, r15d
add rdx, rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x50]
test eax, eax
jne 0x140095ff1
mov r15d, ecx
jmp 0x140095ff6
add r15d, dword [rsp + 0x70]
movsxd rax, r15d
cmp rax, rcx
jne 0x1400960b3
mov rcx, qword [rdi + 0x10]
call fcn.140095af0
mov qword [rdi + 0x10], rbx
jmp 0x1400960b3
mov rcx, qword [rdi + 0x18]
cmp r12, rcx
jne 0x1400960b3
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x78]
mov r8d, 0x1000
lea rdx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140096051
mov rcx, qword [rdi + 0x18]
call fcn.140095af0
mov qword [rdi + 0x18], rbx
jmp 0x1400960b3
mov esi, dword [rsp + 0x78]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140096098
lea rax, [rcx + rsi]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x48]
add rbx, rcx
mov r8d, esi
lea rdx, [rbp + 0x1e0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1400960b3
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x1e0]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x48]
call fcn.140003960
mov rdx, qword [rdi + 0x18]
test rdx, rdx
jne 0x140095e00
mov r12, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x70]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400960e6
call fcn.140095af0
xor r13d, r13d
mov qword [rdi + 0x10], r13
jmp 0x1400960e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r13d, r13d
mov edx, 0xffffffff
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140096202
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x409
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x68]
mov r8, r14
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140096150
lea rcx, [rbp - 0x68]
call fcn.140003300
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov r9d, 0xf1
lea r8, str..._third_partyprotobuf_srcgoogleprotobufcompiler_subprocess.cc
mov edx, 3
lea rcx, [rbp + 8]
call fcn.14013f680
nop
lea rdx, str.WaitForSingleObject:
mov rcx, rax
call fcn.14013fb20
mov rcx, rax
lea rdx, [rbp - 0x68]
call fcn.14013f840
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14013f7a0
nop
lea rcx, [rbp + 8]
call fcn.14013f730
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140096252
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400961fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400961fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401f41fc
jmp 0x140096252
test ebx, ebx
je 0x140096252
mov r9d, 0xf4
lea r8, str..._third_partyprotobuf_srcgoogleprotobufcompiler_subprocess.cc
mov edx, 3
lea rcx, [rbp + 8]
call fcn.14013f680
nop
lea rdx, str.WaitForSingleObject:_Unexpected_return_code:
mov rcx, rax
call fcn.14013fb20
mov rcx, rax
mov edx, ebx
call fcn.14013fa30
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14013f7a0
nop
lea rcx, [rbp + 8]
call fcn.14013f730
lea rdx, [rbp - 0x80]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140096360
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x409
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x68]
mov r8, r14
inc r8
cmp byte [rdx + r8], 0
jne 0x1400962b4
lea rcx, [rbp - 0x68]
call fcn.140003300
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov r9d, 0xfa
lea r8, str..._third_partyprotobuf_srcgoogleprotobufcompiler_subprocess.cc
mov edx, 3
lea rcx, [rbp + 8]
call fcn.14013f680
nop
lea rdx, str.GetExitCodeProcess:
mov rcx, rax
call fcn.14013fb20
mov rcx, rax
lea rdx, [rbp - 0x68]
call fcn.14013f840
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14013f7a0
nop
lea rcx, [rbp + 8]
call fcn.14013f730
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140096360
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009635b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009635b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401f41fc
mov rcx, qword [rdi + 8]
call fcn.140095af0
mov qword [rdi + 8], r13
mov ecx, dword [rbp - 0x80]
test ecx, ecx
je 0x1400964d3
lea rdx, [rbp - 0x1c]
call fcn.140141bf0
lea rax, [rbp - 0x1c]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x1c]
mov rax, r14
inc rax
cmp byte [rcx + rax], 0
jne 0x140096390
mov dword [rbp - 0x20], eax
mov qword [rbp + 0x60], r13
mov dword [rbp + 0x68], r14d
mov qword [rbp + 0x90], r13
mov dword [rbp + 0x98], r14d
mov qword [rbp + 0xc0], r13
mov dword [rbp + 0xc8], r14d
mov qword [rbp + 0xf0], r13
mov dword [rbp + 0xf8], r14d
mov qword [rbp + 0x120], r13
mov dword [rbp + 0x128], r14d
mov qword [rbp + 0x150], r13
mov dword [rbp + 0x158], r14d
mov qword [rbp + 0x180], r13
mov dword [rbp + 0x188], r14d
mov qword [rbp + 0x1b0], r13
mov dword [rbp + 0x1b8], r14d
mov qword [rbp + 8], r13
mov dword [rbp + 0x10], r14d
lea rax, [rbp + 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x150]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
lea r8, [rbp - 0x28]
lea rdx, str.Plugin_failed_with_status_code__0.
lea rcx, [rbp - 0x68]
call fcn.1401b8010
mov rdx, rax
mov rcx, r12
call fcn.140003f40
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140096661
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009665c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009665c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.1401453d0
test al, al
jne 0x140096665
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.140141220
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x1e
jb 0x14009658f
lea rax, [r8 + 0x1e]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x140096523
mov rdi, qword [rbx]
lea rax, [0x1402168e6]
mov r15d, 0x1e
lea r14, str.Plugin_output_is_unparseable:
cmp rax, rdi
jbe 0x140096557
lea rax, [rdi + r8]
cmp r14, rax
ja 0x140096557
cmp rdi, r14
ja 0x14009654f
mov rsi, r13
jmp 0x14009655a
mov rsi, rdi
sub rsi, r14
jmp 0x14009655a
mov rsi, r15
lea rcx, [rdi + 0x1e]
inc r8
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rsi]
sub r15, rsi
lea rdx, [r14 + 0x1e]
add rdx, rsi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400965ba
mov r15d, 0x1e
mov qword [rsp + 0x28], r15
lea r14, str.Plugin_output_is_unparseable:
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call fcn.140010430
mov rbx, rax
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.140003f40
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140096623
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009661d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009661d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401f41fc
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140096661
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009665c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009665c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401f41fc
xor bl, bl
jmp 0x140096667
mov bl, 1
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400966a5
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400966a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400966a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401f41fc
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1400966f3
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400966ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400966ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401f41fc
movzx eax, bl
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.1401f42a0
add rsp, 0x12f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret