Function at 0x4012c0
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43c1f8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x17c4
call fcn.00426290
mov eax, dword [0x44dc1c]
xor eax, esp
mov dword [esp + 0x17c0], eax
push ebx
push esi
push edi
mov eax, dword [0x44dc1c]
xor eax, esp
push eax
lea eax, [esp + 0x17d8]
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.0041647b
push 0x441260
mov ecx, edi
call fcn.00418f87
mov ecx, 0x45a600
call fcn.00412250
push str.ManViewier
push pe_nt_image_headers32
push 0x45a604
call fcn.004245b9
add esp, 0xc
mov ecx, edi
xor bl, bl
call fcn.00401770
cmp dword [edi + 0x10ac], 3
je 0x4013a5
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 0x40138c
mov bl, 1
mov eax, dword [edi + 0x10b0]
test eax, eax
je 0x40139d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
jne 0x40161f
call fcn.00419116
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4013bf
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 + 0x17e4], 0
call fcn.004199ae
test eax, eax
je 0x4013fb
push 0xd5
push eax
lea ecx, [esp + 0x20]
call fcn.00402430
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
call fcn.004026b0
mov byte [esp + 0x17e0], 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 0x401496
push 0xd7
call fcn.004199ae
test eax, eax
je 0x40144c
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 0x441334
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x17e4], 0
call fcn.00401650
lea eax, [ebx - 0x10]
mov dword [esp + 0x17e0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x401613
mov eax, dword [edi + 0x10ac]
cmp eax, 1
jne 0x4014c0
lea ecx, [edi + 0x8aa]
call fcn.00405310
test al, al
jne 0x401537
push 0
push 0
push ebx
call fcn.00415d2c
jmp 0x401464
test eax, eax
jne 0x4014dd
call fcn.004055f0
mov esi, 0x45a5f4
mov byte [esp + 0x17], al
call fcn.00404a40
mov al, byte [esp + 0x17]
jmp 0x4014ac
cmp eax, 2
jne 0x40151c
lea edx, [edi + 0xaa]
lea ecx, [esp + 0x2c]
call fcn.00403380
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x17e4], 0
call fcn.00401650
lea ecx, [esp + 0x18]
mov dword [esp + 0x17e0], 0xffffffff
call fcn.004023d0
jmp 0x40161f
cmp eax, 3
jne 0x401537
lea ecx, [edi + 0xaa]
lea edx, [esp + 0x2c]
call fcn.00403950
lea edx, [esp + 0x2c]
push edx
jmp 0x4014f6
cmp dword [edi + 0x10ac], 0
jne 0x4015dd
push 0x441338
mov ecx, 0x45a600
call fcn.00412540
mov eax, dword [0x45a5ec]
mov ecx, dword [eax]
add esp, 4
lea esi, [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0x45a5e8
mov edi, eax
call fcn.00401c60
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401583
cmp eax, 0x45a5e8
je 0x401588
call fcn.0042449d
cmp dword [esp + 0x20], edi
jne 0x4015dd
push 0x44133c
mov ecx, 0x45a600
call fcn.00412540
add esp, 4
lea esi, [esp + 0x1c]
call fcn.00401cf0
push 0x1214
call fcn.00401af0
add eax, 0x1c
push eax
lea edx, [esp + 0x5bc]
push edx
call fcn.0042b590
add esp, 0xc
lea ebx, [esp + 0x5b4]
call fcn.00405a20
lea eax, [esp + 0x2c]
push eax
jmp 0x4014f6
lea ecx, [esp + 0x2c]
call fcn.00417acd
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x17e4], 0
call fcn.00401650
lea eax, [ebx - 0x10]
mov dword [esp + 0x17e0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40161f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x17d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x17c0]
xor ecx, esp
call fcn.0042397a
mov esp, ebp
pop ebp
ret