Function at 0x402ae0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447cba
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x47a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
mov esi, dword [ebp + 8]
push str.F0B09FED_D64C_4050_B8A0_9A176C7999C7
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x402c3d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x47a554], 0
je 0x402c33
push 0
mov ecx, 0x47a550
call fcn.00409700
mov eax, dword [0x47a554]
cmp byte [eax + 0x54], 0
je 0x402c33
cmp dword [eax + 0x58], 5
jb 0x402c33
mov al, byte [eax + 0x5c]
mov byte [ebp - 0xdd], al
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0xb
push str.mutex_exist
call fcn.00404970
push 0x82
push str.RC::RCMainApplication::IsRunApp
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_srcproductexe_safeexe_rcmainapplication.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47a550
push eax
push 5
call fcn.0040a6b0
cmp byte [ebp - 0xdd], 0
je 0x402bdc
lea eax, [ebp - 0x28]
mov ecx, 0x47a550
push eax
call fcn.0040ad30
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402c1f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402c15
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00430ae5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, 1
jmp 0x403252
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 1
test esi, esi
je 0x402c89
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402c70
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00404970
lea eax, [ebp - 0x64]
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x100], eax
movups xmmword [ebp - 0x68], xmm0
xor eax, eax
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
push 0x24
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
push str.E2B92256_7193_4381_837C_6789C07D6643
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
call fcn.00404970
mov byte [ebp - 4], 4
lea eax, [ebp - 0x118]
push 0
push 1
push eax
lea ecx, [ebp - 0x64]
call fcn.0040e110
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x104]
cmp edx, 8
jb 0x402d6e
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00430ae5
add esp, 8
xor eax, eax
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], eax
je 0x402eca
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0xcc]
xor eax, eax
mov dword [ebp - 0xb8], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 0
push 0x467e74
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
call fcn.00404970
mov byte [ebp - 4], 6
xor eax, eax
push eax
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], 0
push 0x467e74
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
call fcn.00404970
mov byte [ebp - 4], 7
xor eax, eax
push eax
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 0
push 0x467e74
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.00404970
mov byte [ebp - 4], 8
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00408c70
mov byte [ebp - 0xdd], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xdc]
call fcn.00408ae0
cmp byte [ebp - 0xdd], 0
jne 0x402eca
push 0
push 0x467e74
lea ecx, [ebp - 0x44]
call fcn.00404970
push str.A99A488C_3A1C_4BD3_80ED_A4A13EC9ED15
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x68], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x402f13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402f8f
push dword [ebp - 0x68]
call edi
push 0
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x68], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.004058f0
mov esi, 1
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x402f2d
push eax
call edi
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x402f37
push eax
call edi
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0040e060
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x40323c
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403232
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403232
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x68]
call fcn.004050a0
test al, al
je 0x402f13
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x80]
call fcn.0040e190
test al, al
je 0x4030c3
push str.2345PCSafeConfig
lea ecx, [ebp - 0x28]
call fcn.004048a0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0xfc]
call fcn.0040d9d0
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x80]
push eax
call fcn.00404830
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xe8]
cmp edx, 8
jb 0x403052
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403048
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403048
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00430ae5
add esp, 8
xor eax, eax
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4030af
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4030a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4030a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00430ae5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0xe4]
call fcn.00403270
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], 1
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xfc]
push esi
call fcn.004048a0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xfc]
mov esi, dword [ebp - 0xe4]
mov ecx, esi
push eax
call fcn.00403b00
mov byte [ebp - 0xdd], al
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xe8]
cmp edx, 8
jb 0x403175
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40316b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40316b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00430ae5
add esp, 8
mov ecx, dword [esi + 8]
xor eax, eax
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
test ecx, ecx
je 0x4031a9
call fcn.0040c790
test al, al
je 0x4031a9
push 0
call fcn.0040c760
xor eax, eax
cmp byte [ebp - 0xdd], al
sete al
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4031d3
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x403213
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403209
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403209
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00430ae5
add esp, 8
mov esi, dword [ebp - 0xe4]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
jmp 0x402f18
push edx
push ecx
call fcn.00430ae5
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov eax, esi
mov dword [ebp - 0x30], 7
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.00430aa4
mov esp, ebp
pop ebp
ret 4