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

Disassembly:
push 0x2c8
mov eax, 0x567861
call fcn.0053da79
mov eax, dword [ebp + 8]
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.00402431
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esp], str.Epson.DocumentCapturePro.JobRunner
xor esi, esi
push esi
mov ebx, 0x1f0001
push ebx
call edi
push str.Epson.DocumentCapturePro
push esi
push ebx
mov dword [ebp - 0x238], eax
call edi
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x238], esi
jne 0x411f84
cmp eax, esi
jne 0x411f84
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00402722
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402722
jmp 0x4121fc
lea ebx, [ebp - 0x23c]
mov dword [ebp - 0x254], esi
call fcn.00422b96
mov edi, 0x59a798
push edi
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
call fcn.0040f17a
push str.___DS:
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 6
call fcn.0040f17a
push edi
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 7
call fcn.0040f17a
push str.__Start___S:usb:__
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 8
call fcn.0040f17a
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 9
call fcn.004018e7
add esp, 0xc
lea ecx, [ebp - 0x250]
push ecx
push eax
lea eax, [ebp - 0x26c]
push eax
mov byte [ebp - 4], 0xa
call fcn.004018e7
add esp, 0xc
lea ecx, [ebp - 0x25c]
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 0xb
call fcn.004018e7
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 0xc
call fcn.004018e7
add esp, 0xc
lea ecx, [ebp - 0x248]
push ecx
push eax
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 0xd
call fcn.004018e7
mov ecx, dword [ebp - 0x260]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x24c]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x250]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x25c]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x248]
add ecx, 0xfffffff0
call fcn.00402722
push 0x40
lea eax, [ebp - 0x2d0]
push esi
push eax
call fcn.00539100
mov dword [ebp - 0x280], esi
xor eax, eax
lea edi, [ebp - 0x27c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push dword [ebp - 0x244]
stosd dword es:[edi], eax
mov dword [ebp - 0x2d4], 0x44
mov dword [ebp - 0x258], esi
call fcn.0053c701
pop ecx
mov edi, eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x2d4]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41218d
push 0xffffffffffffffff
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x280]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x280]
call ebx
push dword [ebp - 0x27c]
call ebx
xor eax, eax
inc eax
cmp dword [ebp - 0x258], eax
jne 0x41218d
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x238], esi
je 0x41219d
push dword [ebp - 0x238]
call ebx
cmp dword [ebp - 0x240], esi
je 0x4121ad
push dword [ebp - 0x240]
call ebx
push edi
call fcn.0053855f
pop ecx
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x23c]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00402722
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402722
cmp dword [ebp - 0x254], esi
jne 0x4122cc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x228], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, 0x100
push ebx
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.00539100
add esp, 0xc
push dword [ebp + 0x18]
lea edi, [ebx - 0x80]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0053c381
mov eax, dword [ebp + 0x14]
add esp, 0xc
push ebx
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push esi
push eax
mov dword [ebp - 0x22c], 0x218
call fcn.00539100
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.0053c381
lea eax, [ebp - 0x22c]
add esp, 0xc
mov dword [ebp - 0x288], 0x218
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x28c], 1
call fcn.004124fc
cmp eax, esi
je 0x4122b6
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x28c]
push eax
push esi
push 0x4a
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00402722
call fcn.0053dafc
ret 0x14