Function at 0x407b10
Capabilities:
Check mutex on windows
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
mov eax, dword [0x439190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov edi, edx
mov word [ebp - 0x210], ax
call fcn.00419b60
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x416]
push ecx
mov word [ebp - 0x418], ax
call fcn.00419b60
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x407b82
mov esi, dword [esi]
push str..tmp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea edx, [ebp - 0x418]
push str._s_08X_d_s
push edx
call fcn.004025f0
add esp, 0x18
push 1
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x407bf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x210]
push eax
push str.CopyFileW___fail___s_:__s__error:__lu.
call fcn.004166a0
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004180c9
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x61e]
push edx
mov word [ebp - 0x620], cx
call fcn.00419b60
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
push str.__s____s_
lea edx, [ebp - 0x620]
push 0x104
push edx
call fcn.00418ae3
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
add esp, 0x20
push str.MXTERM
push 0
push 0x1f0001
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x407c5e
push eax
call ebx
jmp 0x407c69
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x407cd3
push str.MXMSGBOXMUTEX
push 0
push 0x1f0001
call esi
test eax, eax
je 0x407c91
push eax
call ebx
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004180c9
mov esp, ebp
pop ebp
ret
push str.MXMSGBOXMUTEX
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0x10
push 0x433ef0
push str.X__W
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call ebx
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004180c9
mov esp, ebp
pop ebp
ret
push 0x40
lea eax, [ebp - 0x674]
push 0
push eax
call fcn.00419b60
xor eax, eax
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x624], eax
mov dword [ebp - 0x678], 0x44
jb 0x407d16
mov edi, dword [edi]
lea ecx, [ebp - 0x630]
push ecx
lea edx, [ebp - 0x678]
push edx
push edi
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x620]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x407d70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x620]
push ecx
push str.CreateProcess___fail__wzCommandLine:__s__error:__lu.
call fcn.004166a0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004180c9
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x62c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x630]
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004180c9
mov esp, ebp
pop ebp
ret