Function at 0x4034b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e81e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x536008]
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 - 0x1d0], 0
cmp dword [0x5362d4], 0
je 0x4035a5
push 0
mov ecx, 0x5362d0
call fcn.0043bd20
mov eax, dword [0x5362d4]
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.004a42f0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, 0x5362d0
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.0043ced0
cmp byte [ebp - 0x11], 0
je 0x403596
lea eax, [ebp - 0x2c]
mov ecx, 0x5362d0
push eax
call fcn.0043d280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
lea ecx, [ebp - 0x1cc]
call fcn.0040ae50
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
push esi
call fcn.0040b300
test al, al
je 0x403694
mov esi, dword [ebp - 0x1cc]
cmp esi, 2
je 0x4035df
cmp esi, 3
jne 0x403754
call fcn.00402c90
test al, al
jne 0x403754
cmp dword [0x5362d4], 0
je 0x403694
push 0
mov ecx, 0x5362d0
call fcn.0043bd20
mov eax, dword [0x5362d4]
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 0x505c58
call fcn.0040a350
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, 0x5362d0
push eax
push 2
call fcn.0043ced0
cmp byte [ebp - 0x11], 0
je 0x403688
lea eax, [ebp - 0x2c]
mov ecx, 0x5362d0
push eax
call fcn.0043d280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
mov esi, 1
mov dword [ebp - 4], 0x24
lea ecx, [ebp - 0xcc]
call fcn.0040a2e0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xe4]
call fcn.0040a2e0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xfc]
call fcn.0040a2e0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x114]
call fcn.0040a2e0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x12c]
call fcn.0040a2e0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x144]
call fcn.0040a2e0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x174]
call fcn.0040a2e0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x18c]
call fcn.0040a2e0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x1a8]
call fcn.0040a2e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c0]
call fcn.0040a2e0
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.004e62ab
mov esp, ebp
pop ebp
ret 4
dec esi
cmp esi, 0xb
ja case.default.0x40375e
jmp dword [esi*4 + 0x403dd0]
mov ecx, 1
xor eax, eax
cmp dword [ebp - 0x1c8], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1cc]
push ecx
push eax
call fcn.00403e00
xor esi, esi
jmp 0x403699
mov ecx, dword [ebp - 0x1c4]
xor eax, eax
cmp ecx, 1
jne 0x4037a5
mov eax, ecx
push eax
call fcn.00404d50
xor esi, esi
jmp 0x403699
mov edx, 2
cmp ecx, edx
cmove eax, edx
push eax
call fcn.00404d50
xor esi, esi
jmp 0x403699
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0040cf00
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0040cea0
mov byte [ebp - 4], 4
push esi
push eax
call fcn.00405d00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0040a2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
xor esi, esi
jmp 0x403699
call fcn.004252a0
xor esi, esi
jmp 0x403699
cmp dword [ebp - 0x1c8], 0
jne 0x403826
push 1
call fcn.00406e60
mov byte [ebp - 4], 5
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040abc0
mov esi, eax
mov dword [ebp - 0x1d0], 1
mov byte [ebp - 4], 6
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040abc0
push esi
push dword [ebp - 0x14f]
mov dword [ebp - 0x1d0], 3
push eax
push dword [ebp - 0x1c8]
call fcn.00407540
mov esi, 3
mov dword [ebp - 0x1d0], esi
and esi, 0xfffffffd
mov dword [ebp - 0x1d0], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.0040a2e0
and esi, 0xfffffffe
mov dword [ebp - 0x1d0], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
xor esi, esi
jmp 0x403699
push 0
call fcn.00406e60
cmp dword [0x5362d4], 0
je 0x403960
push 0
mov ecx, 0x5362d0
call fcn.0043bd20
mov eax, dword [0x5362d4]
cmp byte [eax + 0x54], 0
je 0x403960
cmp dword [eax + 0x58], 4
jb 0x403960
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.0040a350
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, 0x5362d0
push eax
push 4
call fcn.0043ced0
cmp byte [ebp - 0x11], 0
je 0x403954
lea eax, [ebp - 0x2c]
mov ecx, 0x5362d0
push eax
call fcn.0043d280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
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.0043dbd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.0040a2e0
mov byte [ebp - 4], 1
xor esi, esi
jmp 0x403699
push str.2345SafeSvc
lea ecx, [ebp - 0x44]
call fcn.0040a100
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.00428bd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040a2e0
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 0x403af2
push 4
mov ecx, 0x5362d0
call fcn.0043ce50
mov edi, eax
test edi, edi
je 0x403ae4
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 0x505cdc
call fcn.0040a350
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, 0x5362d0
push eax
push 4
call fcn.0043ced0
cmp edi, 1
jbe 0x403ad8
lea eax, [ebp - 0x2c]
mov ecx, 0x5362d0
push eax
call fcn.0043d280
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
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 0x403ae4
push dword [ebp - 0x190]
call fcn.00422d00
call fcn.00422f70
lea ecx, [ebp - 0x11]
call fcn.004235f0
call fcn.00424860
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x60], xmm0
call fcn.0042b340
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.0042b410
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
push 0x38
lea eax, [ebp - 0xb0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb0]
call fcn.00427950
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb0]
call fcn.00427ac0
test al, al
je 0x403c35
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x403bcf
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 4], 0
je 0x403beb
lea eax, [ebp - 0x94]
push eax
push ecx
lea ecx, [ebp - 0xb0]
call fcn.004284a0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x403bfe
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 0x403c0c
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x24]
lea ecx, [ebp - 0xb0]
call fcn.00427da0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x403c2a
mov ecx, dword [ecx]
push 1
mov eax, dword [ecx]
call dword [eax + 0x18]
lea ecx, [ebp - 0xb0]
call fcn.00427cd0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xb0]
call fcn.00427a00
lea ecx, [ebp - 0x60]
call fcn.0042b4d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00409a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0042b3a0
xor esi, esi
jmp 0x403699
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0040cf00
mov esi, eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0040cea0
mov byte [ebp - 4], 0x13
push esi
push eax
call fcn.00406400
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x44]
call fcn.0040a2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
xor esi, esi
jmp 0x403699
call fcn.0040de80
xor esi, esi
jmp 0x403699
push str.2345SafeSvc
lea ecx, [ebp - 0x44]
call fcn.0040a100
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.00428bd0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
jmp 0x403db5
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040abc0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1d0], 4
mov esi, eax
call fcn.00440e40
mov byte [ebp - 4], 0x17
mov edx, eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004a8d90
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
mov esi, 4
mov dword [ebp - 0x1d0], esi
and esi, 0xfffffffb
mov dword [ebp - 0x1d0], esi
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5c]
call fcn.0040a2e0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040abc0
push 0
or esi, 8
lea ecx, [ebp - 0x44]
push 1
mov edx, eax
mov dword [ebp - 0x1d0], esi
call fcn.004a9940
add esp, 8
and esi, 0xfffffff7
mov dword [ebp - 0x1d0], esi
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x5c]
call fcn.0040a2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0040a2e0
xor esi, esi
jmp 0x403699