Function at 0x533e10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0000
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x64a070]
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 0x533ebe
mov edi, dword [ebp + 0xc]
nop dword [eax]
cmp byte [esi + 0x39], 0
je 0x533ebe
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 0x533e91
test ecx, ecx
jne 0x533e9b
jmp 0x533eaa
cmp dword [ebp - 0x24], 0
je 0x533fa6
cmp ecx, edi
je 0x533ebe
add dword [ebp - 0x1c], ecx
sub edi, ecx
cmp ebx, 0x64
jg 0x533edc
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 0x533e60
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.0057608a
mov esp, ebp
pop ebp
ret
mov eax, dword [0x656c44]
test eax, eax
je 0x533f0b
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 0x5f8398
push 0x5f8398
push str.CommBridge
push 0x61c4f4
push 0x28
call eax
add esp, 0x20
jmp 0x533f33
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x533f33
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 0x5f8398
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.00408a10
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.005358c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x533f84
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x28], 7
mov ecx, esi
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.00535770
xor al, al
jmp 0x533ec0
mov eax, dword [0x656c44]
test eax, eax
je 0x533fd6
push 0x6d
push dword [ebp - 0x18]
push str.Aborting_read_on_pipe__p___errno:__lu
push 0x5f8398
push 0x5f8398
push str.CommBridge
push 0x61c4f4
push 0x28
call eax
add esp, 0x20
jmp 0x533fff
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x533fff
mov eax, dword [ecx]
push 0x6d
push dword [ebp - 0x18]
push str.Aborting_read_on_pipe__p___errno:__lu
push str.CommBridge
push 0x5f8398
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.00408a10
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.005358c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x534050
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00409510
mov ecx, esi
call fcn.00535770
xor al, al
jmp 0x533ec0