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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7299
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x542488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x54c638]
mov edi, dword [ebp + 8]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x548ed0]
cmp eax, dword [esi + 4]
jg 0x428dcf
mov eax, dword [0x548ed4]
cmp eax, dword [esi + 4]
jg 0x428e24
mov eax, dword [0x548ed8]
cmp eax, dword [esi + 4]
jg 0x428e79
mov eax, dword [0x548edc]
cmp eax, dword [esi + 4]
jg 0x428ece
mov eax, dword [0x548ee0]
cmp eax, dword [esi + 4]
jg 0x428f23
mov eax, dword [0x548ee4]
cmp eax, dword [esi + 4]
jg 0x428f78
push 0x541288
lea ecx, [ebp - 0x27c]
call fcn.00402970
push 0x5412a0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 6
call fcn.00402970
mov byte [ebp - 4], 7
call fcn.0048a5e0
test al, al
je 0x428b44
cmp dword [0x5412e4], 8
lea ecx, [ebp - 0x27c]
push dword [0x5412e0]
mov eax, 0x5412d0
cmovae eax, dword [0x5412d0]
push eax
call fcn.00407d30
cmp dword [0x5412fc], 8
lea ecx, [ebp - 0x24c]
push dword [0x5412f8]
mov eax, 0x5412e8
cmovae eax, dword [0x5412e8]
push eax
call fcn.00407d30
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8860
add esp, 0xc
lea ecx, [ebp - 0x27c]
cmp dword [ebp - 0x268], 8
cmovae ecx, dword [ebp - 0x27c]
cmp dword [edi + 0x14], 8
jb 0x428b76
mov edi, dword [edi]
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push ecx
cmovae eax, dword [ebp - 0x24c]
push edi
push eax
push str._ws__ws_starup_object__ws
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00427380
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 0x428bd0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.00407d30
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x234], 0
call fcn.00402970
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 0x428c49
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x428c49
xor bl, bl
jmp 0x428c4b
mov bl, 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x428c77
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 0x428cb7
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428cad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428fcd
push edx
push ecx
call fcn.004b5e6a
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 0x428d14
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428fcd
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x428d54
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428fcd
push edx
push ecx
call fcn.004b5e6a
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 0x428db1
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428da7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428fcd
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5e78
mov esp, ebp
pop ebp
ret
push 0x548ed0
call fcn.004b6104
add esp, 4
cmp dword [0x548ed0], 0xffffffff
jne 0x428a71
push 0x26
push str.DEB796DA_F98E_48A4_AE1E_71411184820E
mov ecx, 0x541288
mov dword [ebp - 4], 0
call fcn.00407d30
push 0x501f90
call fcn.004b6416
push 0x548ed0
mov dword [ebp - 4], 0xffffffff
call fcn.004b60ba
add esp, 8
jmp 0x428a71
push 0x548ed4
call fcn.004b6104
add esp, 4
cmp dword [0x548ed4], 0xffffffff
jne 0x428a82
push 0x13
push str.shared_memory_mutex
mov ecx, 0x5412a0
mov dword [ebp - 4], 1
call fcn.00407d30
push 0x502000
call fcn.004b6416
push 0x548ed4
mov dword [ebp - 4], 0xffffffff
call fcn.004b60ba
add esp, 8
jmp 0x428a82
push 0x548ed8
call fcn.004b6104
add esp, 4
cmp dword [0x548ed8], 0xffffffff
jne 0x428a93
push 0x15
push str.shared_memory_content
mov ecx, 0x5412b8
mov dword [ebp - 4], 2
call fcn.00407d30
push 0x501f30
call fcn.004b6416
push 0x548ed8
mov dword [ebp - 4], 0xffffffff
call fcn.004b60ba
add esp, 8
jmp 0x428a93
push 0x548edc
call fcn.004b6104
add esp, 4
cmp dword [0x548edc], 0xffffffff
jne 0x428aa4
push 0x26
push str.DEB796DA_F98E_48A4_AE1E_71411184821F
mov ecx, 0x5412d0
mov dword [ebp - 4], 3
call fcn.00407d30
push 0x5020c0
call fcn.004b6416
push 0x548edc
mov dword [ebp - 4], 0xffffffff
call fcn.004b60ba
add esp, 8
jmp 0x428aa4
push 0x548ee0
call fcn.004b6104
add esp, 4
cmp dword [0x548ee0], 0xffffffff
jne 0x428ab5
push 0x17
push str.uwp_shared_memory_mutex
mov ecx, 0x5412e8
mov dword [ebp - 4], 4
call fcn.00407d30
push 0x502120
call fcn.004b6416
push 0x548ee0
mov dword [ebp - 4], 0xffffffff
call fcn.004b60ba
add esp, 8
jmp 0x428ab5
push 0x548ee4
call fcn.004b6104
add esp, 4
cmp dword [0x548ee4], 0xffffffff
jne 0x428ac6
push 0x19
push str.uwp_shared_memory_content
mov ecx, 0x541300
mov dword [ebp - 4], 5
call fcn.00407d30
push 0x502060
call fcn.004b6416
push 0x548ee4
mov dword [ebp - 4], 0xffffffff
call fcn.004b60ba
add esp, 8
jmp 0x428ac6
call fcn.004c19b9
int3