Function at 0x4c6750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7400
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x67d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
cmp byte [esi + 0x38], al
je 0x4c67fe
mov edi, dword [ebp + 0xc]
nop dword [eax]
cmp byte [esi + 0x39], 0
je 0x4c67fe
add eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push 0
push ecx
push edi
push eax
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [ebp - 0x14]
mov edx, eax
cmp edx, 0x6d
je 0x4c67d1
test ecx, ecx
jne 0x4c67db
jmp 0x4c67ea
cmp dword [ebp - 0x24], 0
je 0x4c68e6
cmp ecx, edi
je 0x4c67fe
add dword [ebp - 0x1c], ecx
sub edi, ecx
cmp ebx, 0x64
jg 0x4c681c
inc ebx
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [esi + 0x38], 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
jne 0x4c67a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599c70
mov esp, ebp
pop ebp
ret
mov eax, dword [0x689958]
test eax, eax
je 0x4c684b
push dword [ebp - 0x18]
push edx
push str.Number_of_retries_to_read_pipe_exhausted_with_last_errno___lu._Aborting_read_on_pipe__p
push 0x622628
push 0x622628
push str.CommBridge
push str.OOBEUtils
push 0x28
call eax
add esp, 0x20
jmp 0x4c6873
mov ecx, dword [0x68995c]
test ecx, ecx
je 0x4c6873
push dword [ebp - 0x18]
mov eax, dword [ecx]
push edx
push str.Number_of_retries_to_read_pipe_exhausted_with_last_errno___lu._Aborting_read_on_pipe__p
push str.CommBridge
push 0x622628
push 0x28
push ecx
call dword [eax + 0x34]
add esp, 0x1c
push 0x11
xor eax, eax
mov dword [ebp - 0x28], 7
push str.Terminate_channel
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.00407060
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004c8200
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x4c68c4
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0x28], 7
mov ecx, esi
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.004c8110
xor al, al
jmp 0x4c6800
mov eax, dword [0x689958]
test eax, eax
je 0x4c6916
push 0x6d
push dword [ebp - 0x18]
push str.Aborting_read_on_pipe__p___errno:__lu
push 0x622628
push 0x622628
push str.CommBridge
push str.OOBEUtils
push 0x28
call eax
add esp, 0x20
jmp 0x4c693f
mov ecx, dword [0x68995c]
test ecx, ecx
je 0x4c693f
mov eax, dword [ecx]
push 0x6d
push dword [ebp - 0x18]
push str.Aborting_read_on_pipe__p___errno:__lu
push str.CommBridge
push 0x622628
push 0x28
push ecx
call dword [eax + 0x34]
add esp, 0x1c
push 0x11
xor eax, eax
mov dword [ebp - 0x40], 7
push str.Terminate_channel
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
call fcn.00407060
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004c8200
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x4c6990
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00407b40
mov ecx, esi
call fcn.004c8110
xor al, al
jmp 0x4c6800