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

Disassembly:
push 0x2c8
mov eax, 0x567445
call fcn.0053d749
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.00402741
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.00402741
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 0x4121f7
cmp eax, esi
jne 0x4121f7
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00402a50
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402a50
jmp 0x41246f
lea ebx, [ebp - 0x23c]
mov dword [ebp - 0x254], esi
call fcn.00422cc3
mov edi, 0x59a898
push edi
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
call fcn.0040f341
push str.___DS:
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 6
call fcn.0040f341
push edi
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 7
call fcn.0040f341
push str.__Start___S:usb:__
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 8
call fcn.0040f341
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.00401c01
add esp, 0xc
lea ecx, [ebp - 0x250]
push ecx
push eax
lea eax, [ebp - 0x26c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401c01
add esp, 0xc
lea ecx, [ebp - 0x25c]
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 0xb
call fcn.00401c01
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401c01
add esp, 0xc
lea ecx, [ebp - 0x248]
push ecx
push eax
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 0xd
call fcn.00401c01
mov ecx, dword [ebp - 0x260]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x24c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x250]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x25c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x248]
add ecx, 0xfffffff0
call fcn.00402a50
push 0x40
lea eax, [ebp - 0x2d0]
push esi
push eax
call fcn.00538860
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.0053c3f1
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 0x412400
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 0x412400
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x238], esi
je 0x412410
push dword [ebp - 0x238]
call ebx
cmp dword [ebp - 0x240], esi
je 0x412420
push dword [ebp - 0x240]
call ebx
push edi
call fcn.0053823b
pop ecx
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x23c]
add ecx, 0xfffffff0
call fcn.00402a50
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00402a50
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402a50
cmp dword [ebp - 0x254], esi
jne 0x41253f
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.00538860
add esp, 0xc
push dword [ebp + 0x18]
lea edi, [ebx - 0x80]
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0053c071
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.00538860
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.0053c071
lea eax, [ebp - 0x22c]
add esp, 0xc
mov dword [ebp - 0x288], 0x218
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x28c], 1
call fcn.0041276e
cmp eax, esi
je 0x412529
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.00402a50
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00402a50
call fcn.0053d7cc
ret 0x14