Function at 0x61099b50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
xor esi, esi
push ebx
sub esp, 0xec
xor ebx, ebx
call sub.KERNEL32.dll_GetCurrentThread
mov dword [esp], eax
mov dword [esp + 4], edi
call sub.KERNEL32.dll_SetThreadPriority
sub esp, 8
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp], 0x6110943c
call sub.KERNEL32.dll_CreateEventA
mov dword [0x6110955c], eax
mov eax, dword [0x61109568]
sub esp, 0x10
mov dword [esp], eax
call sub.KERNEL32.dll_SetEvent
mov eax, dword fs:[4]
sub esp, 4
sub eax, 0x319c
mov dword [0x61109554], eax
mov dword [esp], eax
call method._cygtls.init_threadlist_exceptions__
test byte [0x6110c854], 1
jne 0x61099f42
mov edx, 0xffffffd8
mov ebx, 0xffffffd8
lea edi, [ebp - 0xc8]
mov dword [ebp - 0xc8], edx
lea esi, [esi]
lea edi, [edi]
cmp ebx, 0xffffffd8
je 0x61099c85
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xcc]
mov dword [esp + 0xc], eax
mov eax, 0xa4
mov dword [esp + 8], eax
mov eax, dword [0x6110ac0c]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
je 0x61099d41
mov eax, dword [ebp - 0xcc]
cmp eax, 0xa4
je 0x61099ca3
mov dword [esp + 0x10], eax
mov ebx, str.short_read_from_signal_pipe:__d____d
mov ecx, str.DWORD_wait_sig_void_
mov dword [esp + 0xc], ebx
mov edx, 0x8000
mov esi, 0xa4
mov dword [esp + 0x14], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 0x6110c854
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov ebx, dword [ebp - 0xc8]
cmp ebx, 0xffffffd8
jne 0x61099bf9
mov eax, 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [0x6110955c]
mov dword [esp], eax
call sub.KERNEL32.dll_WaitForSingleObject
sub esp, 8
jmp 0x61099bf9
mov ebx, dword [ebp - 0xc8]
test ebx, ebx
je 0x61099bf0
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x61099cd2
mov eax, dword [0x61109170]
lea edx, [ebp - 0xd0]
mov dword [ebp - 0x2c], edx
mov eax, dword [eax + 0x1dc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 0xd1], 0
lea eax, [ebx + 0x2a]
cmp eax, 8
jbe 0x61099d6a
test ebx, ebx
js 0x61099fac
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*8]
lea edx, [eax*4]
mov eax, dword [edx + 0x61109594]
test eax, eax
je 0x61099d13
mov eax, dword [ebp - 0x30]
cmp dword [edx + 0x6110962c], eax
je 0x61099f05
mov eax, edi
call sym.__ZN9sigpacket7processEv_4
test eax, eax
jle 0x61099fba
cmp ebx, 0x14
je 0x61099dfe
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x61099d71
mov ebx, dword [ebp - 0xc8]
cmp ebx, 0xffffffd6
jne 0x61099bf0
mov eax, dword [0x6110ac0c]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
test byte [0x6110c854], 1
jne 0x61099f80
mov dword [esp], 0
call sub.KERNEL32.dll_ExitThread
jmp dword [eax*4 + 0x611302d0]
test byte [0x6110c854], 1
jne 0x61099ed2
mov dword [esp], eax
call sub.KERNEL32.dll_SetEvent
sub esp, 4
jmp 0x61099d32
xor edx, edx
mov eax, 3
call sym.__Z12proc_subprocmm_8
jmp 0x61099d2b
mov dword [esp + 0x10], eax
mov eax, str.signalling_pack.wakeup__p
mov dword [esp + 0xc], eax
mov eax, str.DWORD_wait_sig_void_
mov dword [esp + 8], eax
mov eax, 0x800
mov dword [esp + 4], eax
mov dword [esp], 0x6110c854
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov eax, dword [ebp - 0x28]
jmp 0x61099d7e
test byte [0x6110c854], 1
je 0x61099d22
mov dword [esp + 0x10], ebx
mov eax, str.sig__d_already_queued
mov dword [esp + 0xc], eax
mov eax, str.DWORD_wait_sig_void_
mov dword [esp + 8], eax
mov eax, 0x800
mov dword [esp + 4], eax
mov dword [esp], 0x6110c854
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x61099d22
mov dword [esp], 0x6110c854
mov eax, dword [0x6110956c]
mov dword [esp + 0x14], eax
mov eax, dword [0x6110ac0c]
mov dword [esp + 0x10], eax
mov eax, str.entering_ReadFile_loop__my_readsig__p__my_sendsig__p
mov dword [esp + 0xc], eax
mov eax, str.DWORD_wait_sig_void_
mov dword [esp + 8], eax
mov eax, 0x800
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x61099bcd
mov dword [esp], 0x6110c854
mov esi, str.signal_thread_exiting
mov ebx, str.DWORD_wait_sig_void_
mov dword [esp + 0xc], esi
mov ecx, 0x800
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x61099d5e
neg ebx
mov eax, ebx
call sym.__Z9sig_cleari_4
jmp 0x61099d2b
mov dword [esp + 4], edi
mov dword [esp], 0x61109594
call method.pending_signals.add_sigpacket_
jmp 0x61099d22