Function at 0x40b0a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x484ae4
mov eax, dword fs:[0]
push eax
sub esp, 0x4f8
mov eax, dword [0x4a55d0]
xor eax, esp
mov dword [esp + 0x4f0], eax
push ebx
push esi
push edi
mov eax, dword [0x4a55d0]
xor eax, esp
push eax
lea eax, [esp + 0x508]
mov dword fs:[0], eax
push 0x4c86b8
lea eax, [esp + 0x14]
mov esi, ecx
push str.ft_sf_detect_tools_single_instance_msgid_
xor ebx, ebx
push eax
mov dword [esi + 0xa8], ebx
call fcn.0040b6a0
add esp, 0xc
mov dword [esp + 0x510], ebx
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [esi + 0xa8], eax
cmp eax, ebx
jne 0x40b15c
push ebx
push 0x10
push str.Can_not_initialize.
call fcn.00419dc3
mov dword [esp + 0x510], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b155
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40b506
lea ecx, [esp + 0x5c]
push ecx
call fcn.00409da0
mov byte [esp + 0x510], 1
mov eax, dword [esp + 0x100]
cmp eax, 0xb
je 0x40b17f
cmp eax, 0xc
jl 0x40b18b
mov edx, dword [esi + 0xa8]
push edx
call fcn.0040b050
push 0x4c86b8
lea eax, [esp + 0x18]
push str.ft_sf_detect_tools_single_instance_
push eax
call fcn.0040b6a0
add esp, 0xc
mov byte [esp + 0x510], 2
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp ecx, dword [0x4c87bc]
push edx
sbb eax, eax
and eax, 0x4c87bc
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40b24f
mov eax, dword [esi + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0xa8]
push ebx
push ebx
push ecx
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [esp + 0x510], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b222
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
call fcn.00409eb0
mov dword [esp + 0x510], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40b149
call fcn.0042c854
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.0042b414
push 4
call fcn.0042a66f
cmp eax, ebx
je 0x40b28b
mov dword [eax], vtable.CXUICustomOccManager.0
mov edi, eax
jmp 0x40b28d
xor edi, edi
push 8
call fcn.0041812a
add esp, 4
cmp eax, ebx
je 0x40b2a6
mov dword [eax], vtable.CXUIImpIDispatch.0
mov dword [eax + 4], ebx
jmp 0x40b2a8
xor eax, eax
push edi
mov dword [esi + 0xc0], eax
call fcn.0042d297
add esp, 4
lea ecx, [esp + 0x20]
call fcn.0042ba63
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov byte [esp + 0x514], 3
call fcn.0042b042
call fcn.0040d6c0
test eax, eax
jge 0x40b30f
lea ecx, [esp + 0x20]
mov byte [esp + 0x510], 2
call fcn.0042baa7
mov byte [esp + 0x510], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40b216
cmp dword [esp + 0x28], ebx
jne 0x40b494
cmp dword [esp + 0x2c], ebx
jne 0x40b494
mov eax, dword [esp + 0x34]
cmp eax, 6
jne 0x40b379
push ebx
call fcn.0040aeb0
mov eax, dword [0x4c25f4]
cmp eax, ebx
je 0x40b341
call eax
cmp eax, ebx
jl 0x40b346
call fcn.0040cad0
lea ecx, [esp + 0x20]
mov byte [esp + 0x510], 2
call fcn.0042baa7
lea ecx, [esp + 0x14]
call fcn.00402630
lea ecx, [esp + 0x5c]
call fcn.00409eb0
lea ecx, [esp + 0x10]
call fcn.00402630
xor eax, eax
jmp 0x40b506
cmp eax, 5
jne 0x40b3a5
push 1
call fcn.0040aeb0
call fcn.0040d390
cmp eax, ebx
jl 0x40b346
mov eax, dword [0x4c25f0]
cmp eax, ebx
je 0x40b346
mov ecx, dword [0x4c1a28]
push ecx
call eax
add esp, 4
jmp 0x40b346
push 0x103
lea edx, [esp + 0x3f9]
push ebx
push edx
mov byte [esp + 0x400], bl
call fcn.0043abe0
add esp, 0xc
push 0x104
lea eax, [esp + 0x3f8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x3f4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40b3e0
mov cx, word [0x49662c]
sub eax, edx
lea eax, [esp + eax + 0x3f1]
push ebx
mov word [eax], cx
mov dl, byte [0x49662e]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x54]
mov byte [eax + 2], dl
call fcn.0040d5b0
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x514], 4
mov eax, dword [esi + 0xac]
mov eax, dword [eax + 0x20]
lea ecx, [esi + 0xac]
push 0x1022
lea edx, [esp + 0x3fc]
push edx
call eax
test eax, eax
jne 0x40b445
mov dword [esi + 0xbc], ebx
lea ecx, [esp + 0x13c]
push ecx
call fcn.00410d10
lea edx, [esp + 0x13c]
mov byte [esp + 0x510], 5
mov ecx, edx
mov dword [esi + 0x20], edx
call fcn.0041c4af
push ebx
call fcn.0042c7a5
lea eax, [esp + 0x13c]
push eax
mov byte [esp + 0x514], 4
call fcn.00410eb0
lea ecx, [esp + 0x48]
call fcn.0040d540
jmp 0x40b346
lea ecx, [esp + 0x20]
mov byte [esp + 0x510], 2
call fcn.0042baa7
mov byte [esp + 0x510], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
call fcn.00409eb0
mov dword [esp + 0x510], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x508]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4f0]
xor ecx, esp
call fcn.0043675a
mov esp, ebp
pop ebp
ret