Function at 0x40d1d0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43b05c
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
call fcn.0040d710
mov esi, dword [esp + 0x120]
test eax, eax
jne 0x40d28f
push str._uninstall
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x40d28f
mov eax, dword [0x444020]
push 0x80
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.00405370
mov ecx, dword [esp + 0xc]
push 0x30
push ecx
push 0x444620
push 0
mov dword [esp + 0x128], 0
call fcn.00420f60
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x444024]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40d277
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40d277
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0043a372
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret
push esi
call fcn.0040d770
add esp, 4
test eax, eax
je 0x40d2b4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret
push ebx
push edi
push str.360AntiArpMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x4458f0], eax
je 0x40d6d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xb7
jne 0x40d429
mov ecx, dword [0x444020]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x18]
push 0x100
push edx
push 0x80
mov dword [esp + 0x12c], 1
call fcn.004057e0
mov ecx, 0x100
sub ecx, eax
cmp ecx, 2
jle 0x40d32e
lea edx, [esp + 0x18]
lea ecx, [esp + 0xc]
push edx
call fcn.004052a0
jmp 0x40d37c
push 0x1ff
lea ecx, [esp + 0x10]
mov esi, 0x200
call fcn.00405570
test eax, eax
je 0x40d371
push esi
push eax
push 0x80
call fcn.004057e0
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jg 0x40d371
add esi, 0x100
lea ecx, [esp + 0xc]
lea edx, [esi - 1]
push edx
call fcn.00405570
test eax, eax
jne 0x40d345
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.00405620
mov eax, dword [esp + 0xc]
push eax
push str.360AntiarpClass
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x40d3d8
mov eax, dword [0x4458e8]
test eax, eax
je 0x40d3ad
push 0
push 0
push 0x4cf
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x40d3d8
mov eax, dword [0x4458ec]
test eax, eax
je 0x40d3c8
push 0
push 0
push 0x4d0
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x40d3d8
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x4458f0]
push ecx
call ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [0x444024]
mov dword [0x4458f0], 0
mov dword [esp + 0x120], 0xffffffff
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40d6d3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40d429
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0043a372
add esp, 4
mov eax, dword [0x4458f0]
test eax, eax
je 0x40d6d3
mov ecx, 0x445300
call fcn.00408930
mov edi, eax
test edi, edi
je 0x40d6d3
mov eax, dword [0x444020]
mov dword [esp + 0xc], eax
mov dword [esp + 0x120], 2
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
push 0x100
push ecx
push 0x80
mov byte [esp + 0x12c], 3
call fcn.004057e0
mov edx, 0x100
sub edx, eax
cmp edx, 2
jle 0x40d49a
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
call fcn.004052a0
jmp 0x40d4e8
push 0x1ff
lea ecx, [esp + 0x10]
mov esi, 0x200
call fcn.00405570
test eax, eax
je 0x40d4dd
push esi
push eax
push 0x80
call fcn.004057e0
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jg 0x40d4dd
add esi, 0x100
lea ecx, [esp + 0xc]
lea edx, [esi - 1]
push edx
call fcn.00405570
test eax, eax
jne 0x40d4b1
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.00405620
lea eax, [edi - 0x8001]
cmp eax, 3
ja case.default.0x40d4f7
jmp dword [eax*4 + 0x40d6f8]
lea eax, [esp + 0x18]
push 0x100
push eax
push 0x81
call fcn.004057e0
mov ecx, 0x100
sub ecx, eax
cmp ecx, 2
jle 0x40d53d
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.004052a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x30
push eax
push ecx
jmp 0x40d673
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00405570
test eax, eax
je 0x40d580
push esi
push eax
push 0x81
call fcn.004057e0
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jg 0x40d580
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00405570
test eax, eax
jne 0x40d554
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405620
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x30
push eax
push ecx
jmp 0x40d673
lea edx, [esp + 0x18]
push 0x100
push edx
push 0x82
call fcn.004057e0
mov ecx, 0x100
sub ecx, eax
cmp ecx, 2
jle 0x40d5db
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.004052a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x31
push eax
push ecx
jmp 0x40d673
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00405570
test eax, eax
je 0x40d61e
push esi
push eax
push 0x82
call fcn.004057e0
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jg 0x40d61e
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00405570
test eax, eax
jne 0x40d5f2
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405620
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x31
push eax
push ecx
jmp 0x40d673
push 0x83
lea ecx, [esp + 0x14]
call fcn.00405370
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push 0x31
push edx
push eax
push 0
call fcn.00420f60
add esp, 0x10
cmp eax, 1
jne case.default.0x40d4f7
call fcn.00420870
jmp case.default.0x40d4f7
mov ecx, dword [esp + 0xc]
push 0x10
push ecx
push 0x4445e4
push 0
call fcn.00420f60
add esp, 0x10
mov edx, dword [0x4458f0]
push edx
call ebx
mov eax, dword [esp + 0x10]
mov edx, dword [0x444024]
mov dword [0x4458f0], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40d6bf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40d6bf
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.0043a372
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.004056e0
mov ecx, dword [0x4458f0]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x118]
pop edi
pop ebx
pop esi
setne al
mov dword fs:[0], ecx
add esp, 0x118
ret