Function at 0x414ab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4845a0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4ae070]
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 0x414b5e
mov edi, dword [ebp + 0xc]
nop dword [eax]
cmp byte [esi + 0x39], 0
je 0x414b5e
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 0x414b31
test ecx, ecx
jne 0x414b3b
jmp 0x414b4a
cmp dword [ebp - 0x24], 0
je 0x414c46
cmp ecx, edi
je 0x414b5e
add dword [ebp - 0x1c], ecx
sub edi, ecx
cmp ebx, 0x64
jg 0x414b7c
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 0x414b00
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.00459202
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4b29c0]
test eax, eax
je 0x414bab
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 0x49587c
push 0x49587c
push str.CommBridge
push str.OOBEUtils
push 0x28
call eax
add esp, 0x20
jmp 0x414bd3
mov ecx, dword [0x4b29c4]
test ecx, ecx
je 0x414bd3
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 0x49587c
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.00401830
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004165b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x414c24
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x28], 7
mov ecx, esi
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.004164c0
xor al, al
jmp 0x414b60
mov eax, dword [0x4b29c0]
test eax, eax
je 0x414c76
push 0x6d
push dword [ebp - 0x18]
push str.Aborting_read_on_pipe__p___errno:__lu
push 0x49587c
push 0x49587c
push str.CommBridge
push str.OOBEUtils
push 0x28
call eax
add esp, 0x20
jmp 0x414c9f
mov ecx, dword [0x4b29c4]
test ecx, ecx
je 0x414c9f
mov eax, dword [ecx]
push 0x6d
push dword [ebp - 0x18]
push str.Aborting_read_on_pipe__p___errno:__lu
push str.CommBridge
push 0x49587c
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.00401830
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004165b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x414cf0
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00401e60
mov ecx, esi
call fcn.004164c0
xor al, al
jmp 0x414b60