Function at 0x411fe0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8503
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x512008]
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.00413980
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004132b0
mov dword [ebp - 4], 3
cmp dword [ebp + 8], 0
je 0x4120af
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 0x412067
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.00413310
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0
jne 0x4120cd
mov dword [ebp - 0xc4], 1
jmp 0x4120d7
mov dword [ebp - 0xc4], 0
movzx eax, byte [ebp - 0xc4]
test eax, eax
je 0x412144
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 0x4120fb
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.00413310
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 0x4121c7
call fcn.00419010
mov ecx, eax
call fcn.00418ff0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004131f0
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 0x4126a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4122bd
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.00412eb0
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00423840
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call fcn.00423b40
call fcn.00419010
mov ecx, eax
call fcn.00418ff0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0xa4]
call fcn.00412b60
movzx eax, al
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004238f0
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.004131f0
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 0x4126a3
lea ecx, [ebp - 0x34]
call fcn.0041ef70
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x34]
call fcn.00423c20
movzx eax, al
test eax, eax
jne 0x412338
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00423be0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.004131f0
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 0x4126a3
lea ecx, [ebp - 0x34]
call fcn.00423bf0
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x34]
call fcn.00423c00
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x34]
call fcn.00423c10
mov dword [ebp - 0x134], eax
call fcn.00419010
mov ecx, eax
call fcn.00418fd0
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0xa4]
call fcn.004126e0
cmp dword [ebp - 0xbc], 0
je 0x412396
cmp dword [ebp - 0xbc], 1
jne 0x412566
call fcn.0041b6d0
mov dword [ebp - 0xa8], eax
push 4
mov ecx, dword [ebp - 0xa8]
call fcn.0041c810
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jbe 0x412463
lea ecx, [ebp - 0xa0]
call fcn.00412f80
mov byte [ebp - 4], 0x13
push str.type_show
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.0041c850
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.0041c870
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.0041cbf0
cmp dword [ebp - 0xc8], 1
jbe 0x412434
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.0041cc00
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xa0]
call fcn.004131f0
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.00423c10
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 2
jne 0x4124d4
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.004850f0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x54]
call fcn.004852e0
movzx eax, al
test eax, eax
je 0x4124c8
lea ecx, [ebp - 0x54]
call fcn.004852d0
lea ecx, [ebp - 0x54]
call fcn.00485210
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x54]
call fcn.004851a0
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.004133c0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xa4]
call fcn.00412c20
call fcn.00419010
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.00419130
add esp, 4
jmp 0x412640
cmp dword [ebp - 0xbc], 2
jne 0x412640
call fcn.0041b6d0
mov dword [ebp - 0xb4], eax
push 4
mov ecx, dword [ebp - 0xb4]
call fcn.0041c810
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jbe 0x412640
lea ecx, [ebp - 0x88]
call fcn.00412f80
mov byte [ebp - 4], 0x1e
push str.type_silent
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.0041c850
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.0041c870
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.0041cbf0
cmp dword [ebp - 0xd8], 1
jbe 0x412611
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.0041cc00
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x88]
call fcn.004131f0
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.00419010
mov ecx, eax
call fcn.00418ff0
mov dword [ebp - 0xf0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00423be0
mov dword [ebp - 4], 0x23
lea ecx, [ebp - 0x28]
call fcn.004131f0
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.004b6413
mov esp, ebp
pop ebp
ret 4