Function at 0x4419d0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560e75
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5ab3e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5b4a68]
mov esi, dword [ebp + 8]
test al, 1
jne 0x441a5e
or eax, 1
mov dword [0x5b4a68], eax
push 0x26
xor eax, eax
mov dword [ebp - 4], 0
push str.DEB796DA_F98E_48A4_AE1E_71411184820E
mov ecx, 0x5b4a50
mov dword [0x5b4a60], 0
mov dword [0x5b4a64], 7
mov word [0x5b4a50], ax
call fcn.00407de0
push 0x567b70
call fcn.0048beac
mov eax, dword [0x5b4a68]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, 2
jne 0x441ab7
or eax, 2
mov dword [0x5b4a68], eax
push 0x13
xor eax, eax
mov dword [ebp - 4], 1
push str.shared_memory_mutex
mov ecx, 0x5b4a6c
mov dword [0x5b4a7c], 0
mov dword [0x5b4a80], 7
mov word [0x5b4a6c], ax
call fcn.00407de0
push 0x567bd0
call fcn.0048beac
mov eax, dword [0x5b4a68]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, 4
jne 0x441b10
or eax, 4
mov dword [0x5b4a68], eax
push 0x15
xor eax, eax
mov dword [ebp - 4], 2
push str.shared_memory_content
mov ecx, 0x5b4a84
mov dword [0x5b4a94], 0
mov dword [0x5b4a98], 7
mov word [0x5b4a84], ax
call fcn.00407de0
push 0x567b10
call fcn.0048beac
mov eax, dword [0x5b4a68]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, 8
jne 0x441b69
or eax, 8
mov dword [0x5b4a68], eax
push 0x26
xor eax, eax
mov dword [ebp - 4], 3
push str.DEB796DA_F98E_48A4_AE1E_71411184821F
mov ecx, 0x5b4a9c
mov dword [0x5b4aac], 0
mov dword [0x5b4ab0], 7
mov word [0x5b4a9c], ax
call fcn.00407de0
push 0x567c90
call fcn.0048beac
mov eax, dword [0x5b4a68]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, 0x10
jne 0x441bc2
or eax, 0x10
mov dword [0x5b4a68], eax
push 0x17
xor eax, eax
mov dword [ebp - 4], 4
push str.uwp_shared_memory_mutex
mov ecx, 0x5b4ab4
mov dword [0x5b4ac4], 0
mov dword [0x5b4ac8], 7
mov word [0x5b4ab4], ax
call fcn.00407de0
push 0x567cf0
call fcn.0048beac
mov eax, dword [0x5b4a68]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, 0x20
jne 0x441c16
or eax, 0x20
mov dword [0x5b4a68], eax
push 0x19
xor eax, eax
mov dword [ebp - 4], 5
push str.uwp_shared_memory_content
mov ecx, 0x5b4acc
mov dword [0x5b4adc], 0
mov dword [0x5b4ae0], 7
mov word [0x5b4acc], ax
call fcn.00407de0
push 0x567c30
call fcn.0048beac
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5b4a50
lea ecx, [ebp - 0x27c]
call fcn.00402b20
push 0x5b4a6c
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 6
call fcn.00402b20
mov byte [ebp - 4], 7
call fcn.00473b90
test al, al
je 0x441c94
cmp dword [0x5b4ab0], 8
lea ecx, [ebp - 0x27c]
push dword [0x5b4aac]
mov eax, 0x5b4a9c
cmovae eax, dword [0x5b4a9c]
push eax
call fcn.00407de0
cmp dword [0x5b4ac8], 8
lea ecx, [ebp - 0x24c]
push dword [0x5b4ac4]
mov eax, 0x5b4ab4
cmovae eax, dword [0x5b4ab4]
push eax
call fcn.00407de0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048e2e0
add esp, 0xc
lea ecx, [ebp - 0x27c]
cmp dword [ebp - 0x268], 8
cmovae ecx, dword [ebp - 0x27c]
cmp dword [esi + 0x14], 8
jb 0x441cc6
mov esi, dword [esi]
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push ecx
cmovae eax, dword [ebp - 0x24c]
push esi
push eax
push str._ws__ws_starup_object__ws
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0041acc0
add esp, 0x18
mov dword [ebp - 0x254], 0
xor eax, eax
mov dword [ebp - 0x250], 7
lea ecx, [ebp - 0x218]
mov word [ebp - 0x264], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441d20
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.00407de0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x234], 0
call fcn.00402b20
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x441d99
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x441d99
xor bl, bl
jmp 0x441d9b
mov bl, 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x441dc7
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x234]
call esi
mov dword [ebp - 0x234], 0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x441e07
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441dfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441f1a
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov edx, dword [ebp - 0x250]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x441e64
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441e5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441f1a
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x441ea4
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441e9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441f1a
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov edx, dword [ebp - 0x268]
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
cmp edx, 8
jb 0x441efd
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441ef3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441f1a
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bb19
mov esp, ebp
pop ebp
ret
call fcn.00497439
int3