Function at 0x1400f6a30
Capabilities:
Read file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x11a0
call fcn.1400fd690
sub rsp, rax
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rsp + 0x11e0], rbx
mov qword [rsp + 0x11e8], rsi
mov rax, qword [0x140142088]
xor rax, rsp
mov qword [rsp + 0x1190], rax
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x40], rcx
lea rdx, str._SynchronousPipe::Read_
mov qword [rsp + 0x50], rdx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], 0x78
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0xa8]
call fcn.14000d640
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x20]
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x1400f67af
mov dword [rsp + 0x60], 0x57
lea rax, str.Checking_Parameters_
mov qword [rsp + 0x68], rax
lea rdx, [0x140140c08]
lea rcx, [rsp + 0x60]
call fcn.1400ffd80
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
lea rax, vtable.SpeedBit::Utils::StackBufferEx_4000_.0
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1178], rbx
mov qword [rsp + 0x1180], rbx
mov edx, 0xfa0
mov eax, dword [rsp + 0x3c]
test eax, eax
cmovne edx, eax
lea rcx, [rsp + 0x1d0]
call qword [0x140126270]
test eax, eax
jne 0x1400f6836
mov dword [rsp + 0x70], 8
lea rax, str.Resize
mov qword [rsp + 0x78], rax
lea rdx, [0x140140c08]
lea rcx, [rsp + 0x70]
call fcn.1400ffd80
mov edi, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r12d, ebx
mov r13d, ebx
mov esi, ebx
nop dword [rax + rax]
cmp edi, 0x26
je 0x1400f699c
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x1d0]
mov rax, qword [rsp + 0x1d0]
call qword [rax + 0x38]
mov rbx, rax
lea rcx, [rsp + 0x1d0]
mov rdx, qword [rsp + 0x1d0]
call qword [rdx + 0x10]
sub ebx, esi
mov edx, esi
add rdx, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov r8d, ebx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
je 0x1400f68c4
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400f68c4
add esi, eax
add r13d, eax
jmp 0x1400f68fc
test edi, edi
je 0x1400f68f7
cmp edi, 0x6d
je 0x1400f68f7
mov dword [rsp + 0x80], edi
lea rax, [0x140126310]
mov qword [rsp + 0x88], rax
lea rdx, [0x140140c08]
lea rcx, [rsp + 0x80]
call fcn.1400ffd80
mov edi, 0x26
cmp esi, 0xbb8
jae 0x1400f690d
cmp edi, 0x26
jne 0x1400f6992
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x38]
mov r15, rax
mov ebx, esi
mov r8, qword [r14]
mov edx, esi
mov rcx, r14
call qword [r8 + 0x28]
test eax, eax
jne 0x1400f6959
mov dword [rsp + 0x90], 8
lea rax, str.grow
mov qword [rsp + 0x98], rax
lea rdx, [0x140140c08]
lea rcx, [rsp + 0x90]
call fcn.1400ffd80
lea rcx, [rsp + 0x1d0]
mov rax, qword [rsp + 0x1d0]
call qword [rax + 0x10]
mov rsi, rax
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x10]
lea rcx, [rax + r15]
mov r8, rbx
mov rdx, rsi
call fcn.1400fe090
xor ebx, ebx
mov esi, ebx
mov r15, qword [rsp + 0x40]
jmp 0x1400f6994
xor ebx, ebx
inc r12d
jmp 0x1400f6850
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], 1
lea rax, vtable.SpeedBit::Utils::StackBufferEx_4000_.0
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1178]
cmp rcx, rax
je 0x1400f69d8
test rcx, rcx
je 0x1400f69d8
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0xa8]
call fcn.14000d3d0
nop
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x1190]
xor rcx, rsp
call fcn.1400fcbc0
lea r11, [rsp + 0x11a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rcx]
jmp 0x1400f66f0