Function at 0x405950
Capabilities:
Accept command line arguments
Delete file

Disassembly:
sub esp, 0x14
push ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x18ac
mov dword [esp + 0xc], eax
mov dword [0x425c0c], 0
mov byte [esp + 0xb], 0
call fcn.0040a2b5
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x405985
pop ebp
add esp, 0x14
ret
push ebx
push esi
push edi
push 0x18ac
push 0
push ebp
call fcn.0040a320
lea eax, [ebp + 0x53c]
mov ebx, eax
add eax, 0x284
push 0x53c
mov edi, eax
add eax, 0xec
push 0
push ebp
mov dword [esp + 0x30], eax
call fcn.0040a320
add esp, 0x18
mov esi, ebp
call fcn.00404ae0
cmp eax, 1
je 0x4059dc
push ebp
call fcn.0040a163
add esp, 4
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [ebp + 0x538]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, dword [esp + 0x14]
push str._preinstallscan
push esi
call fcn.004092c0
add esp, 8
test eax, eax
je 0x405a1e
call fcn.00403f90
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret
push str._smartvirtscan
push esi
call fcn.004092c0
add esp, 8
test eax, eax
je 0x405a3d
call fcn.004041f0
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret
push str._rootkitscan
push esi
call fcn.004092c0
add esp, 8
test eax, eax
je 0x405a60
push ebp
call fcn.00403ef0
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret
push str._trackingcookies
push esi
call fcn.004092c0
add esp, 8
test eax, eax
je 0x405a83
push ebp
call fcn.00403dd0
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret
push str._vulnerabilities
push esi
call fcn.004092c0
add esp, 8
test eax, eax
je 0x405aa6
push ebp
call fcn.00403e60
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret
push str._CriticalSettingsScan
push esi
call fcn.004092c0
add esp, 8
test eax, eax
je 0x405ac9
push ebp
call fcn.00404410
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret
mov al, byte [ebp + 0x326]
movzx ecx, al
dec ecx
cmp ecx, 7
ja case.0x405adc.6
jmp dword [ecx*4 + 0x405f54]
push str.1B4E6440_0EC8_11d8_B0FE_00C026A19B93
mov esi, ebx
mov byte [esp + 0x17], 1
call fcn.00404a80
lea eax, [ebp + 0x217]
add esp, 4
cmp byte [eax], 0
jne 0x405ba6
push str.1B4E6440_0EC8_11d8_B0FE_00C026A19B93
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x405ba6
push str.1b9a5f81_b090_11d7_b0fe_00c026a19b93
mov esi, ebx
call fcn.00404a80
lea eax, [ebp + 0x217]
add esp, 4
cmp byte [eax], 0
jne 0x405ba6
push str.1b9a5f81_b090_11d7_b0fe_00c026a19b93
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x405ba6
cmp byte [ebp + 1], 0
lea eax, [ebp + 1]
jne 0x405b4d
mov eax, str.Generic_RootKits
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4b], 1
jmp 0x405ba6
cmp byte [ebp + 1], 0
lea eax, [ebp + 1]
jne 0x405b64
mov eax, str.Vulnerabilities
mov dword [edi + 0x3c], eax
mov byte [edi + 0x4c], 1
jmp 0x405ba6
cmp byte [ebp + 1], 0
lea eax, [ebp + 1]
jne 0x405b7b
mov eax, str.Tracking_Cookies
mov dword [edi + 0x3c], eax
mov byte [edi + 0x47], 1
jmp 0x405ba6
cmp byte [ebp + 1], 0
lea eax, [ebp + 1]
jne 0x405b92
mov eax, str.Critical_System_Settings
mov dword [edi + 0x3c], eax
mov byte [edi + 0x49], 1
jmp 0x405ba6
test al, al
jne 0x405ba6
mov byte [ebp + 0x326], 6
mov cl, byte [ebp + 0x326]
mov eax, dword [esp + 0x18]
mov byte [edi + 0x38], cl
mov byte [eax], 0
lea esi, [ebp + 0x431]
mov byte [eax + 0x800], 0
cmp byte [esi], 0
je 0x405bf7
movzx edx, byte [ebp + 0x326]
push edx
call fcn.004044a0
add esp, 4
cmp al, 1
je 0x405be5
push ebx
call fcn.004057d0
add esp, 4
cmp byte [ebp + 0x215], 0
je 0x405c2a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x405c2a
cmp byte [ebp + 0x217], 0
lea esi, [ebp + 0x217]
jne 0x405c12
push str.ManualScan
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
mov esi, ebx
call fcn.00404a80
add esp, 4
test al, al
jne 0x405c2a
push ebx
call fcn.004057d0
add esp, 4
mov eax, dword [esp + 0x14]
push str._skipuhook
push eax
call fcn.004092c0
add esp, 8
test eax, eax
jne 0x405c45
call fcn.004058d0
cmp byte [ebp + 0x216], 0
je 0x405c58
mov dword [ebx + 0x274], 5
cmp byte [ebp + 0x32b], 0
je 0x405c68
mov byte [ebx + 0x124], 1
cmp dword [ebp + 0x108], 0
je 0x405c7a
mov eax, ebp
call fcn.00405730
jmp 0x405cee
cmp byte [ebp + 0x110], 0
lea esi, [ebp + 0x110]
je 0x405cb0
movzx ecx, byte [ebp + 0x32c]
push ecx
push esi
call fcn.00404dc0
add esp, 8
cmp byte [ebp + 0x214], 0
mov dword [esp + 0x14], eax
je 0x405cf2
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x405cf2
lea esi, [ebp + 0x217]
push str.1B4E6440_0EC8_11d8_B0FE_00C026A19B93
push esi
call fcn.00409600
add esp, 8
test eax, eax
je 0x405cdb
cmp byte [esp + 0x13], 0
jne 0x405cdb
push ebx
push esi
call fcn.00405120
add esp, 8
jmp 0x405cee
mov eax, dword [esp + 0x18]
push eax
lea esi, [eax + 0x800]
call fcn.00403ce0
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [0x425c18]
xor esi, esi
cmp eax, esi
je 0x405d05
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [0x425c18], esi
call dword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
cmp dword [ebp + 0x320], 0xffffffff
je 0x405d35
and dword [ebx + 0x10c], 0xfffffffc
mov eax, dword [ebx + 0x10c]
mov ecx, dword [ebp + 0x320]
or ecx, eax
mov dword [ebx + 0x10c], ecx
cmp byte [ebp + 0x329], 0
je 0x405d42
mov byte [edi + 0x4a], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x405d4f
mov byte [edi + 0x4b], al
mov dword [edi], 0xec
mov dword [edi + 4], 0x3e8
mov dword [edi + 8], 0x69
mov dword [edi + 0xc], esi
movzx edx, byte [ebx + 0x119]
mov byte [edi + 0x40], dl
movzx eax, byte [ebx + 0x11a]
mov byte [edi + 0x41], al
movzx ecx, byte [ebx + 0x118]
mov byte [edi + 0x42], cl
movzx edx, byte [ebx + 0x11b]
mov byte [edi + 0x43], dl
movzx eax, byte [ebx + 0x11c]
mov byte [edi + 0x44], al
movzx ecx, byte [ebx + 0x11d]
mov byte [edi + 0x45], cl
movzx edx, byte [ebx + 0x11e]
mov byte [edi + 0x49], dl
movzx eax, byte [ebx + 0x11f]
mov byte [edi + 0x4a], al
movzx ecx, byte [ebx + 0x121]
mov byte [edi + 0x47], cl
movzx edx, byte [ebx + 0x122]
mov byte [edi + 0x48], dl
movzx eax, byte [ebx + 0x120]
mov byte [edi + 0x46], al
movzx ecx, byte [ebx + 0x123]
mov byte [edi + 0x4b], cl
movzx edx, byte [ebx + 0x124]
mov byte [edi + 0x4c], dl
mov dword [edi + 0x2c], esi
lea eax, [ebx + 0x130]
mov dword [edi + 0x30], eax
movzx ecx, byte [ebx + 0x110]
mov byte [edi + 0x20], cl
mov edx, dword [ebx + 0x114]
mov dword [edi + 0x24], edx
cmp byte [ebx + 0x129], 0
je 0x405e18
mov eax, dword [ebx + 0x12c]
jmp 0x405e1a
xor eax, eax
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x10c]
mov dword [edi + 0x34], eax
cmp byte [ebp + 1], 0
lea eax, [ebp + 1]
jne 0x405e34
mov eax, dword [str.Manual_Scan]
mov dword [edi + 0x3c], eax
movzx ecx, byte [ebx + 0x125]
mov byte [edi + 0x58], cl
movzx edx, byte [ebx + 0x126]
mov byte [edi + 0x59], dl
movzx eax, byte [ebx + 0x127]
mov byte [edi + 0x5a], al
movzx ecx, byte [ebx + 0x128]
mov byte [edi + 0x5b], cl
movzx edx, byte [ebx + 0x125]
mov byte [edi + 0x56], dl
movzx eax, byte [ebx + 0x126]
mov byte [edi + 0x57], al
mov eax, dword [esp + 0x18]
mov dword [edi + 0x5c], esi
lea esi, [eax + 0x800]
mov byte [edi + 0x54], 1
mov byte [edi + 0x55], 0
cmp byte [esi], 0
jne 0x405eb9
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x14], ecx
mov edx, dword [0x425c08]
mov dword [edi + 0x18], edx
mov eax, dword [0x425c0c]
mov dword [edi + 0x1c], eax
cmp byte [ebp + 0x110], 0
je 0x405ee6
push edi
call fcn.00405860
add esp, 4
jmp 0x405ee6
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov dword [edi + 0x14], 1
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 1
mov byte [edi + 0x43], 0
mov byte [edi + 0x47], 0
mov byte [edi + 0x48], 0
mov byte [edi + 0x46], 0
mov dl, byte [ebp + 0x32c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
neg dl
sbb dl, dl
and dl, 0x16
add dl, 0x41
mov byte [edi + 0x10], dl
mov eax, dword [ebp + 0x31c]
test eax, eax
je 0x405f0e
push 2
push eax
call ebx
push edi
call sub.K7AVWScn.DLL_K7ScanUI_RunScanner
cmp byte [esi], 0
je 0x405f20
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [edi + 0x60], 0
je 0x405f2d
call fcn.00403d60
jmp 0x405f38
cmp byte [edi + 0x61], 0
je 0x405f38
call fcn.00403da0
mov ebp, dword [ebp + 0x31c]
test ebp, ebp
je 0x405f47
push 1
push ebp
call ebx
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x14
ret