Function at 0x4012d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43f1e8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x25c4
call fcn.00429090
mov eax, dword [0x451c14]
xor eax, esp
mov dword [esp + 0x25c0], eax
push ebx
push esi
push edi
mov eax, dword [0x451c14]
xor eax, esp
push eax
lea eax, [esp + 0x25d8]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
push eax
mov edi, ecx
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.004194cc
push 0x444250
mov ecx, edi
call fcn.0041a4e9
mov ecx, 0x463520
call fcn.0040bc60
push str.ManViewier
push pe_nt_image_headers32
push 0x463524
call fcn.0042771d
add esp, 0xc
mov ecx, edi
xor bl, bl
call fcn.00401780
cmp dword [edi + 0x10ac], 3
je 0x4013b5
push str.633741A7_2449_4209_804E_86E29BE36D24
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x10b0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40139c
mov bl, 1
mov eax, dword [edi + 0x10b0]
test eax, eax
je 0x4013ad
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
jne 0x40162f
call fcn.0041a69d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4013cf
push 0x80004005
call fcn.00401e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
push 0xd5
mov dword [esp + 0x25e4], 0
call fcn.0041af58
test eax, eax
je 0x40140b
push 0xd5
push eax
lea ecx, [esp + 0x20]
call fcn.00402430
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402720
mov byte [esp + 0x25e0], 1
mov eax, dword [edi + 0x10ac]
lea edx, [esp + 0x2c]
mov dword [edi + 0x20], edx
mov dword [esp + 0x34c], eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x4014a6
push 0xd7
call fcn.0041af58
test eax, eax
je 0x40145c
push 0xd7
push eax
lea ecx, [esp + 0x20]
call fcn.00402430
mov ebx, dword [esp + 0x18]
push 0
push 0
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x444324
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x25e4], 0
call fcn.00401660
lea eax, [ebx - 0x10]
mov dword [esp + 0x25e0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x401623
mov eax, dword [edi + 0x10ac]
cmp eax, 1
jne 0x4014d0
lea ecx, [edi + 0x8aa]
call fcn.00406d90
test al, al
jne 0x401547
push 0
push 0
push ebx
call fcn.00418c68
jmp 0x401474
test eax, eax
jne 0x4014ed
call fcn.004070e0
mov esi, 0x46350c
mov byte [esp + 0x17], al
call fcn.004062b0
mov al, byte [esp + 0x17]
jmp 0x4014bc
cmp eax, 2
jne 0x40152c
lea edx, [edi + 0xaa]
lea ecx, [esp + 0x2c]
call fcn.004037a0
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x25e4], 0
call fcn.00401660
lea ecx, [esp + 0x18]
mov dword [esp + 0x25e0], 0xffffffff
call fcn.004023d0
jmp 0x40162f
cmp eax, 3
jne 0x401547
lea ecx, [edi + 0xaa]
lea edx, [esp + 0x2c]
call fcn.00403ee0
lea edx, [esp + 0x2c]
push edx
jmp 0x401506
cmp dword [edi + 0x10ac], 0
jne 0x4015ed
push 0x444328
mov ecx, 0x463520
call fcn.0040bf70
mov eax, dword [0x463504]
mov ecx, dword [eax]
add esp, 4
lea esi, [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0x463500
mov edi, eax
call fcn.00401c70
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401593
cmp eax, 0x463500
je 0x401598
call fcn.00426fb3
cmp dword [esp + 0x20], edi
jne 0x4015ed
push 0x44432c
mov ecx, 0x463520
call fcn.0040bf70
add esp, 4
lea esi, [esp + 0x1c]
call fcn.00401d00
push 0x2014
call fcn.00401b10
add eax, 0x1c
push eax
lea edx, [esp + 0x5bc]
push edx
call fcn.0042d970
add esp, 0xc
lea ebx, [esp + 0x5b4]
call fcn.00407660
lea eax, [esp + 0x2c]
push eax
jmp 0x401506
lea ecx, [esp + 0x2c]
call fcn.0041bfcf
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x25e4], 0
call fcn.00401660
lea eax, [ebx - 0x10]
mov dword [esp + 0x25e0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40162f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x25d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x25c0]
xor ecx, esp
call fcn.0042683e
mov esp, ebp
pop ebp
ret