Function at 0x420090
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x574270
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x44]
xor edi, edi
mov dword [esp + 0x24], edi
push eax
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.00454352
push edi
call fcn.0045d777
add esp, 4
push str.EPSON_Software_Updater
mov ecx, ebx
call fcn.0045c4d9
mov edx, dword [ebx]
mov eax, dword [ebx + 0xcc]
mov edx, dword [edx + 0xb8]
push eax
mov ecx, ebx
call edx
push str.______________Start_Download_Navigator_____________r_n
push 0x5dafc0
call fcn.00403a80
add esp, 8
push 0x5a14b0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00401a30
push edi
mov dword [esp + 0x6c], edi
call fcn.00541a2d
add esp, 4
mov dword [esp + 0x34], eax
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], edx
call fcn.00421ea0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.00401f40
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
push str.TIME___s__r_n
push 0x5dafc0
call fcn.00403a80
mov edx, dword [ebx + 0x48]
add esp, 0xc
push edx
push str.COMMAND_LINE___s__r_n
push 0x5dafc0
call fcn.00403a80
add esp, 0xc
push str.EPSON_SOFTWARE_UPDATER
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x420284
push str.Already_Running____r_n
push 0x5dafc0
call fcn.00403a80
add esp, 8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0044cc05
mov eax, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
push eax
call fcn.0044cc05
mov esi, eax
cmp esi, edi
je 0x4207d3
mov eax, dword [esi + 0x20]
push str.EPSON_SOFTWARE_UPDATER
push eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x420246
mov ecx, dword [esi + 0x20]
push 2
push ecx
call ebx
push eax
call fcn.0044cc05
mov esi, eax
cmp esi, edi
jne 0x42021a
jmp 0x4207d3
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x42025d
push 9
mov ecx, esi
call fcn.004501b6
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
push eax
call ebx
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call fcn.0044cc05
mov edx, dword [eax + 0x20]
push edx
call ebx
jmp 0x4207d3
mov eax, dword [ebx + 0xcc]
lea esi, [esp + 0x24]
call fcn.0041fbd0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jne 0x4202ad
mov edx, dword [ebx + 0xcc]
mov byte [esp + 0x1b], 1
cmp dword [edx + 0x80], edi
je 0x4202b2
mov byte [esp + 0x1b], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4202d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x4202e0
mov esi, ebx
call fcn.00421b80
mov eax, 1
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
call sub.gdiplus.dll_GdiplusStartup
lea ecx, [esp + 0x28]
push ecx
call dword [esp + 0x40]
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xa4], edi
je 0x420339
jg 0x420327
call fcn.00448939
mov eax, dword [eax + 0xa0]
lea ecx, [ebx + 0xc0]
push eax
call fcn.00401f40
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xb8], edi
je 0x420360
jg 0x42034e
call fcn.00448939
mov eax, dword [eax + 0xb4]
lea ecx, [ebx + 0xc4]
push eax
call fcn.00401f40
push ecx
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420381
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, esi
call fcn.00401ca0
mov esi, 0x5dafc8
mov byte [esp + 0x6c], 0
call fcn.00414c70
mov ecx, dword [ebx + 0xcc]
mov eax, dword [ecx + 0x60]
cmp eax, edi
jbe 0x4203de
lea edx, [esp + 0x24]
push edx
mov edi, 0x5dafcc
mov dword [esp + 0x28], eax
call fcn.004150d0
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, 0x5dafd4
mov dword [0x5dafe8], eax
call fcn.00454e85
xor edi, edi
call fcn.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4203f8
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push 0
lea edi, [esp + 0x28]
mov byte [esp + 0x6c], 3
call fcn.004150d0
mov ecx, dword [esp + 0x24]
push ecx
push str.LANGUAGE___s__r_n
push 0x5dafc0
call fcn.00403a80
mov eax, dword [ebx + 0xcc]
add esp, 8
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0041fb40
lea esi, [esp + 0x24]
call fcn.00408fe0
add esp, 4
mov byte [esp + 0x68], 4
mov edx, dword [esp + 0x20]
cmp dword [edx - 0xc], 0
jne 0x42049a
mov eax, dword [ebx + 0xcc]
push ecx
mov esi, esp
mov dword [esp + 0x34], esp
call fcn.0041fb70
lea eax, [esp + 0x34]
push eax
call fcn.00409060
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42049a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x42057c
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.004213b0
cmp eax, edi
je 0x42057c
mov eax, dword [ebx + 0xcc]
lea esi, [esp + 0x30]
call fcn.0041fba0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
mov eax, dword [esp + 0x30]
setne byte [esp + 0x1b]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420509
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x420518
inc dword [ebx + 0x1a8]
jmp 0x42057c
mov eax, dword [ebx + 0xcc]
lea esi, [esp + 0x30]
call fcn.0041fbd0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
mov eax, dword [esp + 0x30]
setne byte [esp + 0x1b]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420551
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x420560
inc dword [ebx + 0x1ac]
jmp 0x42057c
mov ecx, dword [ebx + 0xcc]
cmp dword [ecx + 0x80], edi
je 0x420576
inc dword [ebx + 0x19c]
jmp 0x42057c
inc dword [ebx + 0x1a4]
mov eax, dword [ebx + 0xcc]
lea esi, [esp + 0x30]
call fcn.0041fbd0
lea ecx, [ebx + 0xc8]
push eax
mov byte [esp + 0x6c], 5
call fcn.00401f40
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4205c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0xcc]
cmp dword [ecx + 0x3c], edi
je 0x4205ea
mov ecx, 1
mov edx, ebx
call fcn.004208c0
cmp eax, 0xa
je 0x420720
cmp eax, 0xb
je 0x420720
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0x74], edi
je 0x4205fc
mov ecx, 2
jmp 0x420644
lea esi, [esp + 0x30]
call fcn.0041fba0
mov edx, dword [eax]
cmp dword [edx - 0xc], edi
mov eax, dword [esp + 0x30]
setne byte [esp + 0x1b]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42062f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1b], 0
je 0x420642
mov ecx, 4
mov edx, ebx
call fcn.004208c0
xor ecx, ecx
mov edx, ebx
call fcn.004208c0
lea esi, [ebx + 0x190]
call fcn.00402670
mov esi, dword [ebx + 0x2fc]
cmp esi, edi
je 0x4206ac
call fcn.00429cd0
mov esi, dword [ebx + 0x2fc]
mov ecx, dword [esi + 0x2c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x420693
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x420693
cmp dword [eax + 0x20], edi
je 0x420693
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [ebx + 0x2fc]
cmp ecx, edi
je 0x4206a6
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x2fc], edi
mov ecx, dword [esp + 0x28]
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
push edx
call sub.gdiplus.dll_GdiplusShutdown
mov byte [esp + 0x68], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4206e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420709
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________End_Download_Navigator_____________r_n
push 0x5dafc0
call fcn.00403a80
add esp, 8
jmp 0x4207d3
mov esi, dword [ebx + 0x2fc]
cmp esi, edi
je 0x420776
call fcn.00429cd0
mov esi, dword [ebx + 0x2fc]
mov ecx, dword [esi + 0x2c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42075d
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x42075d
cmp dword [eax + 0x20], edi
je 0x42075d
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [ebx + 0x2fc]
cmp ecx, edi
je 0x420770
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x2fc], edi
mov ecx, dword [esp + 0x28]
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
push edx
call sub.gdiplus.dll_GdiplusShutdown
mov byte [esp + 0x68], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret