Function at 0x4034b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb5b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x53b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1d4], 0
cmp dword [0x53b2d4], 0
je 0x4035a5
push 0
mov ecx, 0x53b2d0
call fcn.0043d750
mov eax, dword [0x53b2d4]
cmp byte [eax + 0x54], 0
je 0x4035a5
cmp dword [eax + 0x58], 4
jb 0x4035a5
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x11], al
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x403551
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x2c]
push str.Start._CmdLine:__s
push eax
call fcn.004a7e40
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, 0x53b2d0
push 0xbb
push str.RC::RCMainApplication::StartSafeApp
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_srcproductexe_shellprocexe_rcmainapplication.cpp
push eax
push 4
call fcn.0043e8f0
cmp byte [ebp - 0x11], 0
je 0x403596
lea eax, [ebp - 0x2c]
mov ecx, 0x53b2d0
push eax
call fcn.0043eca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040b220
lea ecx, [ebp - 0x1d0]
call fcn.0040c2e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1d0]
push esi
call fcn.0040c7a0
test al, al
je 0x403694
mov esi, dword [ebp - 0x1d0]
cmp esi, 2
je 0x4035df
cmp esi, 3
jne 0x403754
call fcn.00402c90
test al, al
jne 0x403754
cmp dword [0x53b2d4], 0
je 0x403694
push 0
mov ecx, 0x53b2d0
call fcn.0043d750
mov eax, dword [0x53b2d4]
cmp byte [eax + 0x54], 0
je 0x403694
cmp dword [eax + 0x58], 2
jb 0x403694
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x11], al
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push 0xc
push 0x509cc8
call fcn.0040b290
push 0xc7
push str.RC::RCMainApplication::StartSafeApp
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_srcproductexe_shellprocexe_rcmainapplication.cpp
lea eax, [ebp - 0x2c]
mov ecx, 0x53b2d0
push eax
push 2
call fcn.0043e8f0
cmp byte [ebp - 0x11], 0
je 0x403688
lea eax, [ebp - 0x2c]
mov ecx, 0x53b2d0
push eax
call fcn.0043eca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040b220
mov esi, 1
mov dword [ebp - 4], 0x24
lea ecx, [ebp - 0xd0]
call fcn.0040b220
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xe8]
call fcn.0040b220
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x100]
call fcn.0040b220
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x118]
call fcn.0040b220
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x130]
call fcn.0040b220
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x148]
call fcn.0040b220
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x178]
call fcn.0040b220
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x190]
call fcn.0040b220
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1ac]
call fcn.0040b220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.0040b220
mov eax, esi
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.004e9681
mov esp, ebp
pop ebp
ret 4
dec esi
cmp esi, 0xb
ja case.default.0x40375e
jmp dword [esi*4 + 0x403dd4]
mov ecx, 1
xor eax, eax
cmp dword [ebp - 0x1cc], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1d0]
push ecx
push eax
call fcn.00404380
xor esi, esi
jmp 0x403699
mov ecx, dword [ebp - 0x1c8]
xor eax, eax
cmp ecx, 1
jne 0x4037a5
mov eax, ecx
push eax
call fcn.00405340
xor esi, esi
jmp 0x403699
mov edx, 2
cmp ecx, edx
cmove eax, edx
push eax
call fcn.00405340
xor esi, esi
jmp 0x403699
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0040e4c0
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0040e460
mov byte [ebp - 4], 4
push esi
push eax
call fcn.00406330
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0040b220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040b220
xor esi, esi
jmp 0x403699
mov ecx, dword [ebp - 0xb4]
call fcn.004268f0
xor esi, esi
jmp 0x403699
cmp dword [ebp - 0x1cc], 0
jne 0x40382c
push 1
call fcn.00407490
mov byte [ebp - 4], 5
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040be30
mov esi, eax
mov dword [ebp - 0x1d4], 1
mov byte [ebp - 4], 6
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040be30
push esi
push dword [ebp - 0x153]
mov dword [ebp - 0x1d4], 3
push eax
push dword [ebp - 0x1cc]
call fcn.00407b70
mov esi, 3
mov dword [ebp - 0x1d4], esi
and esi, 0xfffffffd
mov dword [ebp - 0x1d4], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.0040b220
and esi, 0xfffffffe
mov dword [ebp - 0x1d4], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040b220
xor esi, esi
jmp 0x403699
push 0
call fcn.00407490
cmp dword [0x53b2d4], 0
je 0x403966
push 0
mov ecx, 0x53b2d0
call fcn.0043d750
mov eax, dword [0x53b2d4]
cmp byte [eax + 0x54], 0
je 0x403966
cmp dword [eax + 0x58], 4
jb 0x403966
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x11], al
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
push 6
push str.Start.
call fcn.0040b290
push 0x3ec
push str.RC::RCMainApplication::SendUninstallClickStatic
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_srcproductexe_shellprocexe_rcmainapplication.cpp
lea eax, [ebp - 0x2c]
mov ecx, 0x53b2d0
push eax
push 4
call fcn.0043e8f0
cmp byte [ebp - 0x11], 0
je 0x40395a
lea eax, [ebp - 0x2c]
mov ecx, 0x53b2d0
push eax
call fcn.0043eca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040b220
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], 2
call fcn.0043f5f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.0040b220
mov byte [ebp - 4], 1
xor esi, esi
jmp 0x403699
push str.2345SafeSvc
lea ecx, [ebp - 0x44]
call fcn.0040a730
mov byte [ebp - 4], 0xc
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.0042a3e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.0040b220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040b220
push str.301DB991_8D1B_4431_BA55_CBECF478B330
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
je 0x403af8
push 4
mov ecx, 0x53b2d0
call fcn.0043e880
mov edi, eax
test edi, edi
je 0x403aea
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
push 0x15
push 0x509d4c
call fcn.0040b290
push 0x12e
push str.RC::RCMainApplication::StartSafeApp
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_srcproductexe_shellprocexe_rcmainapplication.cpp
lea eax, [ebp - 0x2c]
mov ecx, 0x53b2d0
push eax
push 4
call fcn.0043e8f0
cmp edi, 1
jbe 0x403ade
lea eax, [ebp - 0x2c]
mov ecx, 0x53b2d0
push eax
call fcn.0043eca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040b220
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x403699
push str.AFB34B3F_C914_4093_9EEC_0532736A53AC
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403aea
push dword [ebp - 0x194]
call fcn.00424350
call fcn.004245c0
lea ecx, [ebp - 0x11]
call fcn.00424c40
call fcn.00425eb0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x60], xmm0
call fcn.0042cb50
mov byte [ebp - 4], 0xf
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x60]
call fcn.0042cc20
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.0040b220
push 0x38
lea eax, [ebp - 0xb0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.00429160
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb0]
call fcn.004292d0
test al, al
je 0x403c3b
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x403bd5
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 4], 0
je 0x403bf1
lea eax, [ebp - 0x94]
push eax
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00429cb0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x403c04
mov ecx, dword [ecx]
push 1
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x403c12
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x24]
lea ecx, [ebp - 0xb0]
call fcn.004295b0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x403c30
mov ecx, dword [ecx]
push 1
mov eax, dword [ecx]
call dword [eax + 0x18]
lea ecx, [ebp - 0xb0]
call fcn.004294e0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xb0]
call fcn.00429210
lea ecx, [ebp - 0x60]
call fcn.0042cce0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040a040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0042cbb0
xor esi, esi
jmp 0x403699
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0040e4c0
mov esi, eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0040e460
mov byte [ebp - 4], 0x13
push esi
push eax
call fcn.00406a30
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x44]
call fcn.0040b220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040b220
xor esi, esi
jmp 0x403699
call fcn.0040f440
xor esi, esi
jmp 0x403699
push str.2345SafeSvc
lea ecx, [ebp - 0x44]
call fcn.0040a730
mov byte [ebp - 4], 0x14
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.0042a3e0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
jmp 0x403dbb
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040be30
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1d4], 4
mov esi, eax
call fcn.00442860
mov byte [ebp - 4], 0x17
mov edx, eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004ac8d0
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.0040b220
mov esi, 4
mov dword [ebp - 0x1d4], esi
and esi, 0xfffffffb
mov dword [ebp - 0x1d4], esi
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5c]
call fcn.0040b220
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040be30
push 0
or esi, 8
lea ecx, [ebp - 0x44]
push 1
mov edx, eax
mov dword [ebp - 0x1d4], esi
call fcn.004ad480
add esp, 8
and esi, 0xfffffff7
mov dword [ebp - 0x1d4], esi
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5c]
call fcn.0040b220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040b220
xor esi, esi
jmp 0x403699