Function at 0x61099250
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 4], edi
mov edi, 0x94
mov dword [ebp - 8], esi
test byte [0x6110a820], 1
jne 0x61099310
mov eax, dword [eax + 0x14]
test eax, eax
js 0x610993a0
mov dword [ebp - 0x2c], 0
mov edx, dword [ebx + 8]
lea esi, [ebp - 0x38]
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov eax, esi
mov dword [esp], 0
call method.pinfo.init_int__unsigned_long__void_
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x610992e2
mov dword [esp], 0x30
xor edi, edi
call method.cygthread.operator_new_unsigned_int_
mov dword [esp + 0x14], edi
mov ecx, str.commune_process
mov edx, 0x94
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp], eax
mov edx, sym.__Z15commune_processPv_4
mov dword [esp + 4], edx
call sym.cygthread::cygthread_unsigned_long____void___unsigned_int__void__char_const__void_
cmp byte [ebp - 0x30], 0
je 0x61099300
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x61099467
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 8]
mov dword [esp], 0x6110a820
mov dword [esp + 0x10], eax
mov eax, str.pid__d_wants_some_information
mov dword [esp + 0xc], eax
mov eax, str.void_talktome_siginfo_t_
mov dword [esp + 8], eax
mov eax, 0x800
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov esi, dword [ebx + 0x14]
test esi, esi
js 0x610993a0
mov dword [ebp - 0x2c], 0
mov edx, dword [ebx + 8]
lea esi, [ebp - 0x38]
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov eax, esi
mov dword [esp], 0
call method.pinfo.init_int__unsigned_long__void_
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x610992e2
mov dword [esp], 0x30
call method.cygthread.operator_new_unsigned_int_
mov dword [esp + 0xc], ebx
xor edx, edx
mov ecx, str.commune_process
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edi
jmp 0x610992d1
lea eax, [ebp - 0x3c]
xor edi, edi
mov esi, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x40]
mov dword [esp + 0x10], edi
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [0x61108bd8]
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
je 0x61099300
cmp dword [ebp - 0x3c], 4
jne 0x61099300
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0x95]
add eax, 0xb3
and eax, 0xfffffff0
call sym.cygwin1.dll__alloca
mov dword [esp + 4], ebx
lea esi, [esp + 0x27]
mov ecx, 0x94
mov dword [esp + 8], ecx
and esi, 0xfffffff0
mov dword [esp], esi
call sym.cygwin1.dll__memcpy
lea eax, [esi + 0x94]
xor edx, edx
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
mov eax, dword [0x61108bd8]
mov dword [esp], eax
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
je 0x61099300
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jne 0x61099300
mov eax, dword [esi + 0x24]
mov ebx, esi
mov byte [eax + edx], 0
jmp 0x61099345
mov dword [esp], esi
call method.pinfo.release__
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret