Function at 0x403eb0
Capabilities:
Delete registry value
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x407468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov esi, ecx
xor edi, edi
mov eax, dword [esi + 0x14ec]
push edi
push edi
push 0x1009
push eax
call ebp
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], edi
push ecx
push 0xf003f
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x403f42
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.NoViewOnDrive
push edi
mov dword [esp + 0x20], edi
call ebx
push str.NoDrives
push edi
call ebx
test edi, edi
je 0x403f42
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, 1
mov byte [esp + 0x38], bl
mov dword [esp + 0x14], 0x43
mov dword [esp + 0x1c], 0x18
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push 0x40b16c
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call edi
cmp eax, 2
jne 0x403ffd
push ebx
push ecx
mov edx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x18]
push str._autorun.inf
push eax
push edx
call sub.MFC42.DLL_operator_1
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x40b158
push edx
push ecx
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_operator_1
mov ecx, esi
mov byte [esp + 0x44], bl
call fcn.00404fc0
lea eax, [esp + 0x10]
push str._autorun.inf
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x40], 3
call fcn.004041d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call fcn.00406950
mov edx, dword [esp + 0x10]
push edx
call edi
cmp eax, 3
jne 0x40407b
push 2
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
lea ecx, [esp + 0x18]
push str._autorun.inf
push ecx
push eax
call sub.MFC42.DLL_operator_1
push ecx
lea eax, [esp + 0x1c]
mov edx, esp
mov dword [esp + 0x34], esp
push 0x40b158
push eax
push edx
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_operator_1
mov ecx, esi
mov byte [esp + 0x44], bl
call fcn.00404fc0
lea ecx, [esp + 0x10]
push str._autorun.inf
lea edx, [esp + 0x28]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 2
push eax
mov ecx, esi
mov byte [esp + 0x40], 5
call fcn.004041d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.00406950
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jne 0x403f6a
mov eax, dword [esi + 0x14ec]
push 0
push 0
push 0x1004
push eax
call ebp
test eax, eax
jle 0x4040b0
push 0x40b144
jmp 0x4040b5
push 0x40b12c
push 0x3ed
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov ecx, dword [esi + 0x14ec]
push 0
push 0
push 0x1004
push ecx
call ebp
test eax, eax
je 0x404183
push 5
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x14ec]
push 0
push 0
push 0x1004
push edx
mov byte [esp + 0x48], 6
call ebp
push eax
lea eax, [esp + 0x18]
push 0x40b128
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push 0x40b114
push edx
call sub.MFC42.DLL_operator
push 0x40b108
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x40], 7
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, esi
push eax
push 0x3fa
mov byte [esp + 0x40], 8
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 7
call fcn.00406950
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 6
call fcn.00406950
lea ecx, [esp + 0x14]
mov dword [0x40bc54], ebx
mov byte [esp + 0x38], bl
call fcn.00406950
mov ecx, esi
call fcn.00405ce0
mov ecx, esi
call fcn.00405fc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00406950
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4041ae
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret