Function at 0x14000b0f0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x14001f080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, rdx
mov al, byte [0x1400207d8]
mov r15d, 0x1000
xor r13d, r13d
test al, al
jne 0x14000b2ac
lea rsi, [0x1400207b0]
mov qword [rbp - 0x51], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov al, byte [0x1400207d8]
test al, al
jne 0x14000b2a2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov qword [rbp - 9], r13
lea rdx, [rbp - 0x29]
lea rcx, [0x140000000]
call fcn.14000bc18
mov edi, eax
mov rbx, qword [rbp - 0x29]
test eax, eax
js 0x14000b1f1
lea edx, [r13 + 0x5c]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
test rax, rax
jne 0x14000b1a9
mov edi, 0x800700a1
mov rcx, qword [rbp - 0x11]
jmp 0x14000b1bf
mov word [rax], r13w
mov rcx, rbx
mov qword [rbp - 0x11], rbx
add rax, 2
mov qword [rbp - 9], rax
mov edi, r13d
test edi, edi
js 0x14000b1f1
mov qword [rbp - 0x31], r13
lea rdx, [rbp - 0x31]
call fcn.140009aec
mov edi, eax
test eax, eax
jns 0x14000b234
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14000b1f1
mov rdx, qword [rcx]
mov rax, qword [rdx]
mov edx, 1
call qword [0x140015878]
nop
test rbx, rbx
je 0x14000b2c9
mov rax, qword [rbp - 0x19]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, r15
jb 0x14000b2c0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b2c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140015878]
mov edx, 1
mov eax, edx
xchg byte [0x1400207d8], al
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14000b268
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [0x140015878]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14000b2a2
mov rax, qword [rbp - 0x19]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, r15
jb 0x14000b29c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b22d
call fcn.14001269c
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov esi, 3
mov r14d, 0x80000000
lea rdi, str..pipeStandardCollector.Service170
jmp 0x14000b2fb
mov rcx, rbx
call fcn.14001269c
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000b4eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14000b3a1
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x14000b39b
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov qword [rbp - 0x49], rax
mov rbx, rax
je 0x14000b2d7
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
lfence
mov edi, 0x100
mov ecx, edi
call fcn.1400126a4
mov rsi, rax
mov qword [rbp - 1], rax
lea r14, [rax + 0x100]
mov qword [rbp + 0xf], r14
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 7], r14
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x41]
mov r8d, edi
mov rdx, rsi
mov rbx, qword [rbp - 0x49]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000b3b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000b4ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000b4dd
cmp dword [rbp - 0x41], edi
jbe 0x14000b3c3
mov edi, 0xe1110024
jmp 0x14000b4ac
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], r15
test r15, r15
jne 0x14000b405
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14000b497
mov qword [rbp - 0x39], r13
lea r8, [rbp - 0x39]
xor edx, edx
mov rcx, r15
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
test eax, eax
js 0x14000b480
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
xor r9d, r9d
mov r8d, dword [rbp - 0x41]
mov rdx, rsi
mov rax, qword [rax + 0x20]
call qword [0x140015878]
mov edi, eax
test eax, eax
js 0x14000b480
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
mov qword [rbp - 0x59], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rax, qword [rax + 0x28]
call qword [0x140015878]
mov edi, eax
test eax, eax
js 0x14000b480
mov r8, r12
lea rdx, [0x140016860]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ole32.dll_CoUnmarshalInterface]
mov edi, eax
test eax, eax
js 0x14000b480
mov edi, r13d
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14000b497
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140015878]
nop
test r15, r15
je 0x14000b4a6
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov r15d, 0x1000
test rsi, rsi
je 0x14000b4dd
sub r14, rsi
cmp r14, r15
jb 0x14000b4d1
add r14, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x14000b51a
mov rsi, rcx
mov rdx, r14
mov rcx, rsi
call fcn.14001269c
nop
test rbx, rbx
je 0x14000b4eb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140012650
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3