Function at 0x413080
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600035
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x69ee98]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
call fcn.00485933
mov edi, eax
test edi, edi
je 0x4135ef
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 1
call fcn.00485933
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4135f9
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x613aec]
mov ecx, dword [ebp - 0x48]
call edi
lea edi, [eax + 0x10]
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 2
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x413131
push 0x104
lea ecx, [ebp - 0x48]
call fcn.00403840
mov edi, dword [ebp - 0x48]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x413163
push 0x104
lea ecx, [ebp - 0x4c]
call fcn.00403840
mov esi, dword [ebp - 0x4c]
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push dword [edi - 8]
push edi
call fcn.005dafda
add esp, 8
test eax, eax
js 0x413603
cmp eax, dword [edi - 8]
jg 0x413603
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
push dword [esi - 8]
push esi
call fcn.005dafda
add esp, 8
test eax, eax
js 0x413603
cmp eax, dword [esi - 8]
jg 0x413603
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.005e3e74
add esp, 8
test eax, eax
jne 0x413289
mov ecx, dword [ebx + 0x2d4]
mov eax, dword [ebp - 0x30]
cmp ecx, 4
jge 0x4131e2
cmp eax, 0x2bc00000
jl 0x4131f6
cmp ecx, 0x64
jge 0x413289
cmp eax, 0x400000
jge 0x413289
test ecx, ecx
jle 0x413289
mov ecx, dword [0x6c77e4]
jmp 0x413210
mov eax, dword [ebx + 0x2d4]
dec eax
cmp dword [ebx + 0x27c], eax
jl 0x4133f3
cmp dword [0x6c77e0], 0
je 0x4133f3
cmp dword [0x6c77dc], 0
je 0x4133f3
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [0x6c77e4], eax
mov ecx, dword [ebx + 0xa20]
cmp ecx, 0xffffffff
je 0x41326a
jl 0x41326a
push eax
push ecx
lea ecx, [ebx + 0xc0]
call fcn.00410140
mov eax, dword [0x6c77e4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x6c77e4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6c77e4], 0
push str.Start
mov dword [ebx + 0xa20], 0
lea ecx, [ebx + 0xa24]
push dword [ebx + 0xa2c]
call fcn.0048953d
push str.Next
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
push str.Wait
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
push str.AnimGif
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
push str.LoadMovie
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
push str.SlideMovie
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
push 0x674dc8
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
push str.LoadImage
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
push str.ImageSlide
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
push 0x674de4
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
push str.Blank
push dword [ebx + 0xa2c]
lea ecx, [ebx + 0xa24]
call fcn.0048953d
mov ecx, ebx
call fcn.0048d079
cmp eax, 0xffffffff
jne 0x41344a
or ebx, eax
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4133c1
mov ebx, dword [edi]
push edi
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4134ea
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov eax, ebx
jmp 0x4135cb
cmp dword [0x6c77e0], 1
jne 0x41341a
cmp dword [0x6c77dc], 1
jne 0x41341a
test ecx, ecx
je 0x413422
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [0x6c77e4], ecx
jmp 0x413422
test ecx, ecx
jne 0x413210
mov eax, dword [ebx + 0xa20]
cmp eax, 0xffffffff
je 0x413210
jl 0x413210
push 1
push eax
lea ecx, [ebx + 0xc0]
call fcn.00410140
jmp 0x4131fe
push 0x6c77a8
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [0x6a95ac], 3
je 0x41348b
mov eax, dword [0x6c77a8]
sub dword [0x6c77b0], eax
mov eax, dword [0x6c77ac]
sub dword [0x6c77b4], eax
mov dword [0x6c77a8], 0
mov dword [0x6c77ac], 0
mov ecx, ebx
call fcn.00413820
test eax, eax
jns 0x4134f1
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4134c3
mov ebx, dword [edi]
push edi
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4134ea
mov edi, dword [esi]
push esi
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov eax, ebx
jmp 0x4135cb
push str.WM_REPAINT
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.WM_LAUNCHURL
mov dword [0x6a95ec], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x6a95f0], eax
mov dword [ebx + 0xa20], 0
push 0x6c77a8
mov dword [0x6a95e4], 0
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [ebx + 0xa38]
call fcn.0048a400
push 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0xc
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 1
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push dword [0x6a95ec]
mov dword [0x69f9d0], eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
or ecx, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ecx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4135a4
mov ebx, dword [edi]
push edi
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
or ecx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4135c9
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005d4ba5
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402cb0
push 0x80004005
call fcn.00402cb0
push 0x80070057
call fcn.00402cb0
int3