Function at 0x1008b7e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009fa88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
push 0
push eax
mov eax, dword [ebp + 0x10]
push ecx
lea edx, [esi + 0x14]
push edx
push eax
call sym.ACE.dll_void____cdecl_ACE::handle_timed_open_class_ACE_Time_Value___char_const___int__int__struct__SECURITY_ATTRIBUTES__
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
jne 0x1008b84b
or eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x2a4]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [ebx + 4], edi
mov ecx, dword [esi + 4]
lea eax, [ebx + 4]
mov dword [ebx + 0x12c], ecx
mov edx, dword [esi + 8]
push 0
mov dword [esp + 0x24], eax
mov dword [ebx + 0x130], edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
add esi, 0xc
lea edi, [ebx + 0x134]
mov ecx, 0x44
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x2a0]
push 4
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1008b8c2
mov eax, dword [esp + 0x18]
jmp 0x1008b8c7
call fcn.1002a850
mov edi, dword [sym.imp.MSVCR100.dll__errno]
cmp eax, 0xffffffff
jne 0x1008b92c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
mov eax, dword [eax]
test eax, eax
je 0x1008b8e4
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str.write_to_pipe_failed
push str.ACE_UPIPE_Connector__p_n
push 0x80
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.UPIPE_Connector.cpp
mov dword [eax + 0x144], 0x4b
mov dword [eax + 0x148], 0xffffffff
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 eax, dword [ebx + 0x244]
mov eax, dword [eax + 0x3c]
lea ecx, [ebx + 0x244]
push 0
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], 0
call eax
lea esi, [eax + 1]
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x1008b9b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call edi
mov eax, dword [eax]
test eax, eax
je 0x1008b96d
mov ebx, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str.no_confirmation_from_server
push str.ACE_UPIPE_Connector__p_n
push 0x80
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.UPIPE_Connector.cpp
mov dword [eax + 0x144], 0x58
mov dword [eax + 0x148], 0xffffffff
mov dword [eax + 0x14c], ebx
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x10
jmp 0x1008b9c0
mov ecx, dword [esp + 0x20]
call sym.ACE.dll_public:_int___thiscall_ACE_FIFO::close_void_
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c