Function at 0x411be0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8343
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x513008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
call fcn.00413580
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00412eb0
mov dword [ebp - 4], 3
cmp dword [ebp + 8], 0
je 0x411caf
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
add edx, 2
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xac]
mov cx, word [eax]
mov word [ebp - 0xbe], cx
add dword [ebp - 0xac], 2
cmp word [ebp - 0xbe], 0
jne 0x411c67
mov edx, dword [ebp - 0xac]
sub edx, dword [ebp - 0xe0]
sar edx, 1
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00412f10
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0
jne 0x411ccd
mov dword [ebp - 0xc4], 1
jmp 0x411cd7
mov dword [ebp - 0xc4], 0
movzx eax, byte [ebp - 0xc4]
test eax, eax
je 0x411d44
mov dword [ebp - 0xb0], str.__typeshow___switchenable
mov ecx, dword [ebp - 0xb0]
add ecx, 2
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0xb0]
mov ax, word [edx]
mov word [ebp - 0xb6], ax
add dword [ebp - 0xb0], 2
cmp word [ebp - 0xb6], 0
jne 0x411cfb
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [ebp - 0x100]
sar ecx, 1
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
push edx
push str.__typeshow___switchenable
lea ecx, [ebp - 0x28]
call fcn.00412f10
push str.666B44C9_41D5_4CE3_9760_31B70EA0DABB
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], eax
mov edx, dword [ebp - 0xa4]
cmp dword [edx], 0
jne 0x411dc7
call fcn.00418c10
mov ecx, eax
call fcn.00418bf0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00412df0
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], 6
mov dword [ebp - 4], 7
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xf4]
jmp 0x4122a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x411ebd
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xa4]
mov dword [eax], 0
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x110], esp
push str.BCE5459C_796A_47D9_BA82_7B50BC7284F1
call fcn.00412ab0
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00423440
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.00423740
call fcn.00418c10
mov ecx, eax
call fcn.00418bf0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0xa4]
call fcn.00412760
movzx eax, al
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004234f0
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00412df0
mov dword [ebp - 4], 0xb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 4], 0xc
mov dword [ebp - 4], 0xd
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xf8]
jmp 0x4122a3
lea ecx, [ebp - 0x34]
call fcn.0041eb70
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x34]
call fcn.00423820
movzx eax, al
test eax, eax
jne 0x411f38
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004237e0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.00412df0
mov dword [ebp - 4], 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0x12
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe4]
jmp 0x4122a3
lea ecx, [ebp - 0x34]
call fcn.004237f0
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x34]
call fcn.00423800
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x34]
call fcn.00423810
mov dword [ebp - 0x134], eax
call fcn.00418c10
mov ecx, eax
call fcn.00418bd0
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0xa4]
call fcn.004122e0
cmp dword [ebp - 0xbc], 0
je 0x411f96
cmp dword [ebp - 0xbc], 1
jne 0x412166
call fcn.0041b2d0
mov dword [ebp - 0xa8], eax
push 4
mov ecx, dword [ebp - 0xa8]
call fcn.0041c410
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jbe 0x412063
lea ecx, [ebp - 0xa0]
call fcn.00412b80
mov byte [ebp - 4], 0x13
push str.type_show
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.0041c450
push 0x58
push str.RC::RCMainApplication::Run
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_nightmode_nightmodeexe_rcmainapplication.cpp
lea ecx, [ebp - 0xa0]
push ecx
push 4
mov ecx, dword [ebp - 0xa8]
call fcn.0041c470
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.0041c7f0
cmp dword [ebp - 0xc8], 1
jbe 0x412034
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.0041c800
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xa0]
call fcn.00412df0
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x34]
call fcn.00423810
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 2
jne 0x4120d4
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
push 0
push 0
push str.Global8CCAC575_2EC9_4BCA_B95C_B2484ECE80DE
lea ecx, [ebp - 0x54]
call fcn.00484c20
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x54]
call fcn.00484e10
movzx eax, al
test eax, eax
je 0x4120c8
lea ecx, [ebp - 0x54]
call fcn.00484e00
lea ecx, [ebp - 0x54]
call fcn.00484d40
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x54]
call fcn.00484cd0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x128], esp
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0xcc]
mov dword [edx + 0x14], 0
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xd0]
call fcn.00412fc0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xa4]
call fcn.00412820
call fcn.00418c10
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.00418d30
add esp, 4
jmp 0x412240
cmp dword [ebp - 0xbc], 2
jne 0x412240
call fcn.0041b2d0
mov dword [ebp - 0xb4], eax
push 4
mov ecx, dword [ebp - 0xb4]
call fcn.0041c410
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jbe 0x412240
lea ecx, [ebp - 0x88]
call fcn.00412b80
mov byte [ebp - 4], 0x1e
push str.type_silent
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.0041c450
push 0x6d
push str.RC::RCMainApplication::Run
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhino_safe_src_nightmode_nightmodeexe_rcmainapplication.cpp
lea eax, [ebp - 0x88]
push eax
push 4
mov ecx, dword [ebp - 0xb4]
call fcn.0041c470
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.0041c7f0
cmp dword [ebp - 0xd8], 1
jbe 0x412211
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.0041c800
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x88]
call fcn.00412df0
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x88]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0xe
call fcn.00418c10
mov ecx, eax
call fcn.00418bf0
mov dword [ebp - 0xf0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004237e0
mov dword [ebp - 4], 0x23
lea ecx, [ebp - 0x28]
call fcn.00412df0
mov dword [ebp - 4], 0x24
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], 0x25
mov dword [ebp - 4], 0x26
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret 4