Function at 0x409431
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push 0x2c0
mov eax, 0x5565b7
call fcn.0052faf2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401e83
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401e83
pop ecx
add eax, 0x10
pop ecx
mov dword [ebp - 0x22c], eax
push str.Epson.DocumentCapturePro.JobRunner
xor esi, esi
push esi
mov byte [ebp - 4], 4
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 - 0x234], eax
call edi
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x234], esi
jne 0x4094e0
cmp eax, esi
jne 0x4094e0
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.004021a7
jmp 0x40974b
lea ebx, [ebp - 0x238]
mov dword [ebp - 0x250], esi
call fcn.0041833e
mov edi, 0x588acc
push edi
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 5
call fcn.004070b3
push str.___DS:
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 6
call fcn.004070b3
push edi
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 7
call fcn.004070b3
push str.__Start___S:usb:__
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 8
call fcn.004070b3
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x26c]
push eax
mov byte [ebp - 4], 9
call fcn.00401680
lea ecx, [ebp - 0x24c]
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401680
lea ecx, [ebp - 0x258]
push ecx
push eax
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 0xb
call fcn.00401680
lea ecx, [ebp - 0x230]
push ecx
push eax
lea eax, [ebp - 0x25c]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401680
lea ecx, [ebp - 0x244]
push ecx
push eax
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401680
mov ecx, dword [ebp - 0x25c]
add esp, 0x3c
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x248]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x24c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x258]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.004021a7
push 0x40
lea eax, [ebp - 0x2c8]
push esi
push eax
call fcn.0052bfd0
push dword [ebp - 0x240]
mov dword [ebp - 0x27c], esi
xor eax, eax
lea edi, [ebp - 0x278]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2cc], 0x44
mov dword [ebp - 0x254], esi
call fcn.0052cd58
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x2cc]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4096dc
push 0xffffffffffffffff
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x27c]
call ebx
push dword [ebp - 0x278]
call ebx
xor eax, eax
inc eax
cmp dword [ebp - 0x254], eax
jne 0x4096dc
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x234], esi
je 0x4096ec
push dword [ebp - 0x234]
call ebx
cmp dword [ebp - 0x23c], esi
je 0x4096fc
push dword [ebp - 0x23c]
call ebx
push edi
call fcn.0052b484
pop ecx
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.004021a7
cmp dword [ebp - 0x250], esi
jne 0x409812
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x224], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, pe_nt_image_headers32
push ebx
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0052bfd0
push dword [ebp + 0x18]
lea edi, [ebx - 0x80]
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0052c9d8
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push esi
push eax
mov dword [ebp - 0x228], 0x218
call fcn.0052bfd0
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0052c9d8
lea eax, [ebp - 0x228]
add esp, 0x30
mov dword [ebp - 0x284], 0x218
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x288], 1
call fcn.00409974
cmp eax, esi
je 0x4097fc
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x288]
push eax
push esi
push 0x4a
push dword [ebp - 0x260]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0052fb75
ret 0x14