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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4865
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4bcf04
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
cmp eax, 0xb7
jne 0x41116f
test esi, esi
je 0x411155
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push eax
push str.RunEntryChromeSvc
push str._s:CreateMutex___alreadly_run:_d
call fcn.00401620
add esp, 0xc
jmp 0x411340
call fcn.00406890
test eax, eax
jne 0x411310
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.004061a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4112b5
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
xor edi, edi
call fcn.0040fb50
test eax, eax
je 0x411232
lea ecx, [ebp - 0x58]
call fcn.0040faa0
push eax
lea ecx, [ebp - 0x40]
call fcn.00406f00
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x411227
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41121d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41135d
push edx
push ecx
call fcn.0044235d
add esp, 8
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x40]
cmovae edi, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, edi
cmovae ecx, dword [ebp - 0x28]
sub esp, 0x14
push 0
push ecx
call fcn.0040edc0
test eax, eax
je 0x411257
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411275
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.RunEntryChromeSvc
push str._s:JHCreateProcess__s__failed
call fcn.00401620
add esp, 0xc
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4112d3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4112a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411362
push edx
push ecx
call fcn.0044235d
add esp, 8
jmp 0x4112d3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.RunEntryChromeSvc
push str._s:PathFileExistsW__s__failed
call fcn.00401620
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x411310
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411306
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411367
push edx
push ecx
call fcn.0044235d
add esp, 8
test esi, esi
je 0x41131b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040eff0
test eax, eax
je 0x411340
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
push 0x1f4
call esi
call fcn.0040eff0
test eax, eax
jne 0x411330
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
ret
call fcn.004452a7
call fcn.004452a7
call fcn.004452a7
int3