Function at 0x413900
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4878e9
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x4b555c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x318], ecx
lea ecx, [ebp - 0xb0]
call fcn.0042d2b0
mov dword [ebp - 4], 0
mov byte [ebp - 0x2fc], 0
push 0x103
push 0
lea eax, [ebp - 0x2fb]
push eax
call fcn.0046fb70
add esp, 0xc
lea ecx, [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.0042d3a0
lea edx, [ebp - 0x2fc]
push edx
call fcn.00432170
add esp, 4
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov byte [ebp - 0xc0], 0
xor ecx, ecx
mov dword [ebp - 0xbf], ecx
mov dword [ebp - 0xbb], ecx
mov word [ebp - 0xb7], cx
mov byte [ebp - 0xb5], cl
xor edx, edx
mov word [ebp - 0xb4], dx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0xb4], ax
movzx eax, word [ebp - 0xb4]
push eax
push str._04X
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0046e29b
add esp, 0xc
call dword [0x4b765c]
push eax
lea edx, [ebp - 0xc0]
push edx
call fcn.0046fa70
add esp, 8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xc0]
push ecx
call fcn.00470990
add esp, 8
test eax, eax
je 0x413a1f
lea edx, [ebp - 0x1c]
push edx
call dword [0x4b7638]
add esp, 4
push 0x40
push 0
push 0x4b6c30
call fcn.0046fb70
add esp, 0xc
push str.IDS_TOOLTITLE
push 0x4926f4
call dword [0x4b7598]
add esp, 8
push eax
push 0x4b6c30
call fcn.0046fa70
add esp, 8
mov dword [ebp - 0x170], 0
mov byte [ebp - 0x16c], 0
push 0x7f
push 0
lea eax, [ebp - 0x16b]
push eax
call fcn.0046fb70
add esp, 0xc
push str.IDC_STATIC_APPUUID
push 0x492710
call dword [0x4b7598]
add esp, 8
push eax
push 0x49271c
lea ecx, [ebp - 0x16c]
push ecx
call fcn.0046e29b
add esp, 0xc
lea edx, [ebp - 0x16c]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0xac], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413acb
mov dword [ebp - 0x170], 1
cmp dword [ebp - 0xac], 0
je 0x413ae1
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov cl, byte [0x4926b1]
mov byte [ebp - 0x1f4], cl
push 0x7f
push 0
lea edx, [ebp - 0x1f3]
push edx
call fcn.0046fb70
add esp, 0xc
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call dword [0x4b7660]
mov edx, dword [ebp - 0xa4]
push edx
push str.set_find_win_top_msg__05d
lea eax, [ebp - 0x1f4]
push eax
call fcn.0046e29b
add esp, 0xc
lea ecx, [ebp - 0x1f4]
push ecx
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x4b7384], eax
cmp dword [ebp - 0x170], 1
jne 0x413bc2
push 0
push 0
mov edx, dword [0x4b7384]
push edx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [ebp - 0x300], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.0042d2d0
mov eax, dword [ebp - 0x300]
jmp 0x413d93
push 0x80
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.0046fb70
add esp, 0xc
push 0x40
push 0
push 0x4b6c70
call fcn.0046fb70
add esp, 0xc
push 0x4b6c70
call dword [0x4b75d8]
add esp, 4
push 0x40
push 0
push 0x4b6bf0
call fcn.0046fb70
add esp, 0xc
push 0x4b6bf0
call dword [0x4b763c]
add esp, 4
push 0x4b70ec
push 0x4b70e8
call dword [0x4b7614]
add esp, 8
push 0
call fcn.00451aad
add esp, 4
mov ecx, dword [ebp - 0x318]
call fcn.00414640
push 0x6c
call fcn.004035a0
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30c], 0
je 0x413c7f
push 0x493034
push 0x493e34
push 0x492b0c
push 0x80
mov ecx, dword [ebp - 0x30c]
call fcn.00450dd8
mov dword [ebp - 0x31c], eax
jmp 0x413c89
mov dword [ebp - 0x31c], 0
mov ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x308], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x308]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x318]
call fcn.00450554
lea ecx, [ebp - 0xe8]
call fcn.00450004
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0x318]
call fcn.0044f601
lea edx, [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0x318]
call fcn.004503d6
test eax, eax
jne 0x413d21
mov dword [ebp - 0x310], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00450048
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.0042d2d0
mov eax, dword [ebp - 0x310]
jmp 0x413d93
push 0
mov eax, dword [ebp - 0x318]
mov ecx, dword [eax + 0x20]
call fcn.0044abbf
mov ecx, dword [ebp - 0x318]
mov ecx, dword [ecx + 0x20]
call fcn.00404ec0
push 0
mov edx, dword [ebp - 0x318]
mov ecx, dword [edx + 0x20]
call fcn.00446934
push 0x4b6c30
mov eax, dword [ebp - 0x318]
mov ecx, dword [eax + 0x20]
call fcn.0044aaf4
mov dword [ebp - 0x314], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00450048
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.0042d2d0
mov eax, dword [ebp - 0x314]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046df66
mov esp, ebp
pop ebp
ret