Function at 0x48e0b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5602a0
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x28], edi
test eax, eax
je 0x48e3ef
cmp eax, 0xffffffff
je 0x48e3ef
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 1
push esi
mov bl, 1
call fcn.004f87d3
add esp, 4
test eax, eax
jne 0x48e4c4
mov eax, dword [edi + 4]
push esi
cmp eax, dword [edi + 8]
jne 0x48e12f
call fcn.004f87f8
add esp, 4
mov al, bl
jmp 0x48e4a8
call fcn.004f87f8
mov eax, dword [edi + 0x6c]
add esp, 4
mov dword [ebp - 0x18], 0
test eax, eax
je 0x48e14c
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [edi + 4]
lea eax, [edi + 0x5c]
mov ecx, dword [edi + 8]
push eax
lea eax, [ebp - 0x18]
sub ecx, edx
push eax
push ecx
push edx
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48e3e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, 0x3e5
je 0x48e3e8
sub esp, 8
mov eax, esp
push ecx
push 0x104
mov ecx, edi
mov dword [eax], str.base_wrt_impl
mov dword [eax + 4], 0xd
call fcn.00481870
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], str.PipeConnectionBase.cpp
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x2c], 0x105
call fcn.00418540
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
lea ecx, [ebp - 0xd8]
call fcn.004876e0
mov edx, str._Write_failed_with_error
lea ecx, [ebp - 0xd8]
call fcn.004185a0
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xd8]
call fcn.0043d580
lea ecx, [ebp - 0x80]
call fcn.00459e90
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x80], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
mov byte [ebp - 4], 1
push esi
call fcn.004f87d3
add esp, 4
test eax, eax
jne 0x48e4ca
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x48e244
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0x14]
je 0x48e24f
mov dword [edi + 0x14], eax
push esi
call fcn.004f87f8
add esp, 4
xor bl, bl
mov al, bl
jmp 0x48e4a8
mov al, bl
jmp 0x48e4a8
sub esp, 8
mov eax, esp
push 0
push 0xe0
mov dword [eax], str.base_invl_pipe
mov dword [eax + 4], 0xe
call fcn.00481870
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], str.PipeConnectionBase.cpp
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x20], 0xe1
call fcn.00418540
mov edx, str.Pipe_handle_is_invalid
lea ecx, [ebp - 0xd8]
call fcn.004185a0
lea ecx, [ebp - 0x80]
call fcn.00459e90
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x80], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 0x1c]
push esi
call fcn.004f87d3
add esp, 4
test eax, eax
jne 0x48e4dc
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x48e492
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0x14]
je 0x48e49d
mov dword [edi + 0x14], eax
push esi
call fcn.004f87f8
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
ret
push eax
call fcn.004f88d9
push eax
call fcn.004f88d9
push eax
call fcn.004f88d9
push eax
call fcn.004f88d9
push eax
call fcn.004f88d9
int3