Function at 0x1400ea690
Capabilities:
Read file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x11a0
call fcn.14012a8c0
sub rsp, rax
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rsp + 0x11e0], rbx
mov qword [rsp + 0x11e8], rsi
mov rax, qword [0x1402d9850]
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.14003fda0
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 0x1400ea40f
mov dword [rsp + 0x60], 0x57
lea rax, str.Checking_Parameters_
mov qword [rsp + 0x68], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x60]
call fcn.14012ccc0
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 [0x140237358]
test eax, eax
jne 0x1400ea496
mov dword [rsp + 0x70], 8
lea rax, str.Resize
mov qword [rsp + 0x78], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x70]
call fcn.14012ccc0
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 0x1400ea5fc
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 0x1400ea524
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400ea524
add esi, eax
add r13d, eax
jmp 0x1400ea55c
test edi, edi
je 0x1400ea557
cmp edi, 0x6d
je 0x1400ea557
mov dword [rsp + 0x80], edi
lea rax, [0x1402373c8]
mov qword [rsp + 0x88], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x80]
call fcn.14012ccc0
mov edi, 0x26
cmp esi, 0xbb8
jae 0x1400ea56d
cmp edi, 0x26
jne 0x1400ea5f2
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 0x1400ea5b9
mov dword [rsp + 0x90], 8
lea rax, str.grow
mov qword [rsp + 0x98], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x90]
call fcn.14012ccc0
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.14012c7d0
xor ebx, ebx
mov esi, ebx
mov r15, qword [rsp + 0x40]
jmp 0x1400ea5f4
xor ebx, ebx
inc r12d
jmp 0x1400ea4b0
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 0x1400ea638
test rcx, rcx
je 0x1400ea638
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0xa8]
call fcn.14003fbb0
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.14012a1e0
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 0x1400ea350