Function at 0x4143c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f637
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x44], esi
call fcn.00415510
lea edi, [esi + 8]
mov dword [esi], vtable.Poco::SharedMemoryImpl.0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x414412
mov eax, dword [edi]
jmp 0x414414
mov eax, edi
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
mov ecx, edi
mov byte [eax], 0
call fcn.00404150
mov eax, dword [ebp + 0xc]
mov ecx, 4
cmp dword [ebp + 0x10], 1
mov dword [esi + 0x28], eax
mov eax, 2
cmove eax, ecx
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x30], 0
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.004194e0
add esp, 8
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
cmovae eax, dword [ebp - 0x24]
push eax
push dword [esi + 0x28]
push 0
push dword [esi + 0x2c]
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x41462a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x2c], 2
mov ebx, eax
jne 0x414576
cmp ebx, 5
jne 0x414576
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 0x20], eax
pop ebx
test eax, eax
jne 0x41462a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.00415560
add esp, 8
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.004142a0
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp + 0x10]
mov dword [ebp + 8], esi
call fcn.00414260
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.004142a0
push str.Cannot_open_shared_memory_object__s__Error__d:__s_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.00410f71
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00417cb0
add esp, 0x14
push 0
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xe
call fcn.00414e60
push 0x455900
lea eax, [ebp - 0x70]
push eax
call fcn.0041c66c
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.00415560
add esp, 8
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.004142a0
push 8
mov byte [ebp - 4], 4
call fcn.00412c35
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4145b3
mov dword [eax], vtable.Poco::Any::Holder_int_.0
mov dword [eax + 4], ebx
jmp 0x4145b5
xor eax, eax
mov dword [ebp + 0xc], eax
push edi
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 5
call fcn.004142a0
push 0x34
push str.Cannot_create_shared_memory_object__s__Error__d:__s_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00404330
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00417cb0
add esp, 0x14
push 0
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.00414e60
push 0x455900
lea eax, [ebp - 0x70]
push eax
call fcn.0041c66c
mov ecx, esi
call fcn.004148d0
mov eax, dword [ebp - 0x10]
cmp eax, 8
jb 0x414646
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.0040f600
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14