Function at 0x4034b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e83c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x537008]
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 [0x5372d4], 0
je 0x4035a5
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
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.004a44e0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, 0x5372d0
push 0xb9
push str.RC::RCMainApplication::StartSafeApp
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_srcproductexe_shellprocexe_rcmainapplication.cpp
push eax
push 4
call fcn.0043d470
cmp byte [ebp - 0x11], 0
je 0x403596
lea eax, [ebp - 0x2c]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040a320
lea ecx, [ebp - 0x1d0]
call fcn.0040ae90
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1d0]
push esi
call fcn.0040b350
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 [0x5372d4], 0
je 0x403694
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
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 0x506c58
call fcn.0040a390
push 0xc5
push str.RC::RCMainApplication::StartSafeApp
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_srcproductexe_shellprocexe_rcmainapplication.cpp
lea eax, [ebp - 0x2c]
mov ecx, 0x5372d0
push eax
push 2
call fcn.0043d470
cmp byte [ebp - 0x11], 0
je 0x403688
lea eax, [ebp - 0x2c]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a320
mov esi, 1
mov dword [ebp - 4], 0x24
lea ecx, [ebp - 0xd0]
call fcn.0040a320
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xe8]
call fcn.0040a320
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x100]
call fcn.0040a320
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x118]
call fcn.0040a320
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x130]
call fcn.0040a320
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x148]
call fcn.0040a320
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x178]
call fcn.0040a320
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x190]
call fcn.0040a320
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1ac]
call fcn.0040a320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.0040a320
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.004e647b
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.00403e20
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.00404d80
xor esi, esi
jmp 0x403699
mov edx, 2
cmp ecx, edx
cmove eax, edx
push eax
call fcn.00404d80
xor esi, esi
jmp 0x403699
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0040d020
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0040cfc0
mov byte [ebp - 4], 4
push esi
push eax
call fcn.00405d40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0040a320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a320
xor esi, esi
jmp 0x403699
mov ecx, dword [ebp - 0xb4]
call fcn.00425460
xor esi, esi
jmp 0x403699
cmp dword [ebp - 0x1cc], 0
jne 0x40382c
push 1
call fcn.00406ea0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ac00
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.0040ac00
push esi
push dword [ebp - 0x153]
mov dword [ebp - 0x1d4], 3
push eax
push dword [ebp - 0x1cc]
call fcn.00407580
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.0040a320
and esi, 0xfffffffe
mov dword [ebp - 0x1d4], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a320
xor esi, esi
jmp 0x403699
push 0
call fcn.00406ea0
cmp dword [0x5372d4], 0
je 0x403966
push 0
mov ecx, 0x5372d0
call fcn.0043c2d0
mov eax, dword [0x5372d4]
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.0040a390
push 0x38a
push str.RC::RCMainApplication::SendUninstallClickStatic
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_srcproductexe_shellprocexe_rcmainapplication.cpp
lea eax, [ebp - 0x2c]
mov ecx, 0x5372d0
push eax
push 4
call fcn.0043d470
cmp byte [ebp - 0x11], 0
je 0x40395a
lea eax, [ebp - 0x2c]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a320
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.0043e170
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.0040a320
mov byte [ebp - 4], 1
xor esi, esi
jmp 0x403699
push str.2345SafeSvc
lea ecx, [ebp - 0x44]
call fcn.0040a140
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.00428f50
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.0040a320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040a320
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, 0x5372d0
call fcn.0043d400
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 0x506cdc
call fcn.0040a390
push 0x12c
push str.RC::RCMainApplication::StartSafeApp
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_srcproductexe_shellprocexe_rcmainapplication.cpp
lea eax, [ebp - 0x2c]
mov ecx, 0x5372d0
push eax
push 4
call fcn.0043d470
cmp edi, 1
jbe 0x403ade
lea eax, [ebp - 0x2c]
mov ecx, 0x5372d0
push eax
call fcn.0043d820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a320
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.00422ec0
call fcn.00423130
lea ecx, [ebp - 0x11]
call fcn.004237b0
call fcn.00424a20
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x60], xmm0
call fcn.0042b6c0
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.0042b790
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.0040a320
push 0x38
lea eax, [ebp - 0xb0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.00427cd0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb0]
call fcn.00427e40
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.00428820
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.00428120
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.00428050
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xb0]
call fcn.00427d80
lea ecx, [ebp - 0x60]
call fcn.0042b850
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00409a50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0042b720
xor esi, esi
jmp 0x403699
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0040d020
mov esi, eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.0040cfc0
mov byte [ebp - 4], 0x13
push esi
push eax
call fcn.00406440
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x44]
call fcn.0040a320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a320
xor esi, esi
jmp 0x403699
call fcn.0040dfa0
xor esi, esi
jmp 0x403699
push str.2345SafeSvc
lea ecx, [ebp - 0x44]
call fcn.0040a140
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.00428f50
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.0040ac00
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1d4], 4
mov esi, eax
call fcn.004413e0
mov byte [ebp - 4], 0x17
mov edx, eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004a8f70
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.0040a320
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.0040a320
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040ac00
push 0
or esi, 8
lea ecx, [ebp - 0x44]
push 1
mov edx, eax
mov dword [ebp - 0x1d4], esi
call fcn.004a9b20
add esp, 8
and esi, 0xfffffff7
mov dword [ebp - 0x1d4], esi
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5c]
call fcn.0040a320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040a320
xor esi, esi
jmp 0x403699