Function at 0x401000
Capabilities:
Accept command line arguments
Check mutex and terminate process on windows
Check mutex on windows
Get file attributes
Terminate process

Disassembly:
push 0x4022a9
call dword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
push str.startup
push 0x405a74
call dword [sym.imp.MSVCRT.DLL_strcpy]
add esp, 8
push str.Exe2Autv7
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x4011e0
call fcn.00401305
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push 0x405e36
push eax
call dword [sym.imp.SHELL32.DLL_CommandLineToArgvW]
push eax
cmp dword [0x405e36], 1
je 0x4011b0
mov ebx, dword [0x405e36]
lea esi, [eax + 4]
dec ebx
mov edi, dword [esi]
push str._armadillo
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x401152
push str._nofiles
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x401168
push str._nogui
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x40117e
push str._quiet
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x401187
xor edi, edi
push 2
push 0x40528b
push dword [esi]
call dword [sym.imp.MSVCRT.DLL_wcsncmp]
add esp, 0xc
test eax, eax
je 0x401190
inc edi
push 2
push 0x405291
push dword [esi]
call dword [sym.imp.MSVCRT.DLL_wcsncmp]
add esp, 0xc
test eax, eax
je 0x401190
inc edi
push 2
push 0x405297
push dword [esi]
call dword [sym.imp.MSVCRT.DLL_wcsncmp]
add esp, 0xc
test eax, eax
je 0x401190
inc edi
push 2
push 0x40529d
push dword [esi]
call dword [sym.imp.MSVCRT.DLL_wcsncmp]
add esp, 0xc
test eax, eax
je 0x401190
push esi
mov esi, dword [esi]
mov edi, 0x405a84
lodsw ax, word [esi]
stosb byte es:[edi], al
test al, al
jne 0x401130
pop esi
push 0x405a84
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, eax
jns 0x4011a6
mov word [0x405a84], 0x100
jmp 0x4011a6
push 0x405155
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [0x405e2c], eax
jmp 0x4011a6
push 0x405196
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [0x405e30], eax
jmp 0x4011a6
mov byte [0x405e34], 1
jmp 0x4011a6
mov byte [0x405e35], 1
jmp 0x4011a6
mov eax, dword [esi]
add eax, 4
push eax
call dword [sym.imp.MSVCRT.DLL__wtoi]
add esp, 4
mov dword [edi*4 + 0x4053a3], eax
add esi, 4
dec ebx
jne 0x40106d
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp byte [0x405e34], 1
je 0x40120d
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0
push 0x401395
push 0
push 0x64
push eax
call dword [sym.imp.USER32.DLL_DialogBoxParamA]
push eax
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push 0x10040
push 0x405040
push str.Im_already_running_
push 0
call dword [sym.imp.USER32.DLL_MessageBoxA]
push 0x4050f3
push 0
call dword [sym.imp.USER32.DLL_FindWindowA]
push eax
call dword [sym.imp.USER32.DLL_SetForegroundWindow]
jmp 0x4011d9
mov ecx, str.File_not_found_
cmp byte [0x405a85], 1
je 0x4012db
push 0x405a84
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, str.No_file_specified_
test eax, eax
je 0x4012db
xchg edx, eax
call fcn.004018d5
mov ecx, str.Only_32_64bit_PE_files_are_supported_
cmp eax, 1
je 0x4012db
mov ecx, str.Either_its_not_a_PE_file_or_its_corrupted_
cmp eax, 2
je 0x4012db
mov ecx, str.Something_went_wrong..
cmp eax, 3
je 0x4012db
mov ecx, str.Apparently__it_didnt_work..
cmp eax, 4
je 0x4012db
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
cmp byte [0x405e35], 1
je 0x4011d9
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x405e42], 0x28
mov dword [0x405e4a], eax
mov dword [0x405e4e], 0x4050ce
mov dword [0x405e52], 0x405040
mov dword [0x405e56], 0x10080
mov dword [0x405e5a], 1
push 0x405e42
call dword [sym.imp.USER32.DLL_MessageBoxIndirectA]
xor eax, eax
jmp 0x4011d9
cmp byte [0x405e35], 1
je 0x4011d9
push 0x10040
push 0x405040
push ecx
push 0
call dword [sym.imp.USER32.DLL_MessageBoxA]
mov eax, 1
jmp 0x4011d9