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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x54c154]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov eax, edx
push ecx
push 0x40
mov dword [esp + 0x1c], eax
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.LocalSM0:_lu:_lu:_hs
lea eax, [esp + 0x38]
push 0x104
push eax
call fcn.00427ff0
add esp, 0x18
lea eax, [esp + 0x28]
push 0x1f0001
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexExW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], esi
test ebx, ebx
jne 0x42dcbe
call fcn.00428b00
mov edi, eax
jmp 0x42de6b
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
cmp eax, 0x102
je 0x42dce1
test eax, eax
je 0x42dce3
cmp eax, 0x80
jne 0x42de8d
jmp 0x42dce3
xor ebx, ebx
push ecx
lea eax, [esp + 0x2c]
xorps xmm0, xmm0
push eax
push ecx
mov edx, 0x104
movlpd qword [esp + 0x24], xmm0
lea ecx, [esp + 0x23c]
call fcn.00428070
push 0x5248d0
lea ecx, [esp + 0x234]
call fcn.00427f90
lea eax, [esp + 0x230]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x42dd90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42dd52
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xcd
call fcn.004299a0
mov edi, eax
add esp, 4
test edi, edi
js 0x42ddce
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea eax, [edi*4]
test eax, eax
je 0x42de2e
mov dword [edx], eax
mov ecx, dword [eax]
mov eax, dword [edx]
inc ecx
mov dword [eax], ecx
xor edi, edi
test ebx, ebx
je 0x42de63
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
je 0x42de96
jmp 0x42de63
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov ecx, esi
call fcn.00429a90
mov edi, eax
test edi, edi
jns 0x42de12
push edi
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xd3
lfence
call fcn.00429950
add esp, 8
lfence
push esi
call dword [esp + 0x10]
test eax, eax
je 0x42dea4
push edi
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0x64
lfence
call fcn.00429950
add esp, 8
mov edx, 0x6d
lfence
push edi
push ecx
mov ecx, dword [ebp + 4]
call fcn.00429950
add esp, 8
mov edx, 0x12b
lfence
push edi
push ecx
mov ecx, dword [ebp + 4]
call fcn.00429950
add esp, 8
jmp 0x42dd74
mov eax, dword [esp + 0x10]
cdq
push esi
mov edi, eax
lfence
call dword [esp + 0x10]
test eax, eax
je 0x42deb2
jmp 0x42dd56
push edx
lea edx, [esp + 0x28]
lea ecx, [esp + 0x2c]
call fcn.0042e120
mov edi, eax
add esp, 4
test edi, edi
jns 0x42dd72
push edi
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0x134
lfence
call fcn.00429950
add esp, 8
jmp 0x42dd74
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0xc]
test ebx, ebx
je 0x42de76
push ebx
call esi
test eax, eax
je 0x42dec0
mov ecx, dword [esp + 0x43c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, dword [ebp + 4]
call fcn.00429a30
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0x9d7
call fcn.004299f0
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0x9cd
call fcn.004299f0
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0x9cd
call fcn.004299f0
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0x9cd
call fcn.004299f0
int3