Function at 0x1008b4c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009fac6
mov eax, dword fs:[0]
push eax
sub esp, 0x260
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x2c]
call sym.ACE.dll_public:_void___thiscall_ACE_SPIPE_Stream::constructor_void_
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
xor esi, esi
push esi
push eax
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
mov dword [esp + 0x28c], esi
call sym.ACE.dll_public:_int___thiscall_ACE_SPIPE_Acceptor::accept_class_ACE_SPIPE_Stream___class_ACE_SPIPE_Addr___class_ACE_Time_Value___bool__bool_
cmp eax, 0xffffffff
jne 0x1008b542
or eax, eax
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x2a4]
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], esi
mov byte [esp + 0x278], 1
inc dword [ebx + 0x2a0]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x10], ecx
lea eax, [ebx + 4]
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x150]
lea edi, [ebx + 0x14]
mov ecx, 0x44
lea esi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x154]
mov dword [ebx + 0x130], ecx
push 0
mov dword [ebx + 0x12c], edx
lea edx, [esp + 0x24]
push edx
lea edi, [ebx + 0x134]
mov ecx, 0x44
lea esi, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
push 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008b5e5
mov eax, dword [esp + 0x20]
jmp 0x1008b5ea
call fcn.1002a850
or edi, 0xffffffff
cmp eax, edi
jne 0x1008b620
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x1008b607
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov dword [eax + 0x144], 0x6c
push str.read_stream_address_failed
jmp 0x1008b6b7
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0x244]
mov edx, dword [edx + 0x30]
add eax, 0x244
push eax
lea ecx, [ebx + 0x244]
call edx
cmp eax, edi
jne 0x1008b66b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x1008b655
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov dword [eax + 0x144], 0x70
push str.link_streams_failed
jmp 0x1008b6b7
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x244]
mov edx, dword [eax + 0x38]
add ecx, 0x1fc
push 0
push ecx
lea ecx, [ebx + 0x244]
call edx
cmp eax, edi
jne 0x1008b6e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x1008b6a3
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov dword [eax + 0x144], 0x75
push str.linked_stream.put_failed
mov byte [eax + 0x13c], 1
push str.ACE_UPIPE_Acceptor:__p_n
mov dword [eax + 0x140], str.UPIPE_Acceptor.cpp
push 0x80
mov dword [eax + 0x148], edi
push eax
mov dword [eax + 0x14c], esi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x10
mov ecx, dword [esp + 0x1c]
call sym.ACE.dll_public:_int___thiscall_ACE_FIFO::close_void_
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14