Function at 0x407d94
Capabilities:
Check mutex on windows
Create process on windows
Create process suspended

Disassembly:
push 0x8c
mov eax, 0x469a61
call fcn.0045178e
push str.Epson.DocumentCapturePro.JobRunner
xor esi, esi
push esi
mov dword [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ebx, 0x1f0001
push ebx
call edi
push str.Epson.DocumentCapturePro
push esi
push ebx
mov dword [ebp - 0x10], eax
call edi
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x10], esi
jne 0x407df8
cmp eax, esi
jne 0x407df8
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285d
mov eax, esi
call fcn.00451866
ret 8
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
call fcn.0041656f
mov edi, 0x47814c
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00406a1b
push str.___DS:
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00406a1b
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00406a1b
push str.__Start___S:usb:__
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00406a1b
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 6
call fcn.00406973
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 7
call fcn.00406973
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 8
call fcn.00406973
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 9
call fcn.00406973
lea ecx, [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xa
call fcn.00406973
mov ecx, dword [ebp - 0x38]
add esp, 0x3c
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0040285d
push 0x40
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.0044de40
push dword [ebp - 0x14]
mov dword [ebp - 0x54], esi
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x98], 0x44
mov dword [ebp - 0x28], esi
call fcn.0044e885
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x98]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x407f82
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x54]
call ebx
push dword [ebp - 0x50]
call ebx
xor eax, eax
inc eax
cmp dword [ebp - 0x28], eax
jne 0x407f82
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x10], esi
je 0x407f8c
push dword [ebp - 0x10]
call ebx
cmp dword [ebp - 0x30], esi
je 0x407f96
push dword [ebp - 0x30]
call ebx
push edi
call fcn.0044dba4
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040285d
mov esi, dword [ebp - 0x1c]
jmp 0x407dd8