Function at 0x4051c0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x110
mov eax, dword [0x413058]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [esp + 4], eax
mov eax, dword [0x41812c]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
test eax, eax
push edi
mov byte [esp + 0x14], 0
je 0x40520b
push str.Registry_entries_made_by_the_worm_has_been_removed_successfully
push 0x416190
call ebx
mov ecx, dword [0x415e54]
add esp, 8
push 0
push 0
push 0xb
push ecx
call ebp
mov al, byte [0x416088]
test al, al
jne 0x40538c
mov eax, dword [0x4164bc]
mov byte [0x41639d], 1
test eax, eax
jle 0x405246
push 0x413014
push 0x416190
call ebx
mov edx, dword [0x415e54]
add esp, 8
push 0
push 0
push 0xb
push edx
call ebp
push str.Scanning_statistics
push 0x416190
call ebx
mov eax, dword [0x415e54]
add esp, 8
push 0
push 0
push 0xb
push eax
call ebp
push str.______________________________
push 0x416190
call ebx
mov ecx, dword [0x415e54]
add esp, 8
push 0
push 0
push 0xb
push ecx
call ebp
mov edx, dword [0x4164b8]
push edx
push str.Total_files_scanned_t_t:___d
push 0x416190
call ebx
mov eax, dword [0x415e54]
add esp, 0xc
push 0
push 0
push 0xb
push eax
call ebp
mov ecx, dword [0x4164bc]
push ecx
push str.Total_files_infected_t_t:___d
push 0x416190
call ebx
mov edx, dword [0x415e54]
add esp, 0xc
push 0
push 0
push 0xb
push edx
call ebp
cmp dword [0x4129e0], 1
jne 0x4052ff
mov eax, dword [0x4164c4]
mov ecx, dword [0x4164c8]
add eax, ecx
push eax
push str.Total_files_removed_t_t:___d
push 0x416190
call ebx
mov edx, dword [0x415e54]
add esp, 0xc
push 0
push 0
push 0xb
push edx
call ebp
mov al, byte [0x41639c]
test al, al
je 0x40532a
mov edi, str.Scanning_terminated
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x415f84
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x40534a
mov edi, str.Scanning_completed
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x415f84
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [0x415e54]
push 0
and ecx, 3
push 0
push 0xa
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov eax, dword [0x4163a8]
test eax, eax
je 0x40568f
push 0x24
push str.CleanPalevo_Ver_1.0
push str.The_system_has_to_be_restarted_to_remove_the_virus_completely_from_your_system.__n_n_Restart_now_
call fcn.00402d40
add esp, 0xc
cmp eax, 6
jne 0x40568f
jmp 0x40568a
call fcn.00406cf0
mov edi, 0x412dcc
mov esi, 0x416088
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x4053c3
test al, al
je 0x4053bf
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x4053c3
add esi, 2
add edi, 2
test al, al
jne 0x40539b
xor eax, eax
jmp 0x4053c8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x405497
mov dword [esp + 0x18], 2
mov al, byte [esp + 0x18]
lea ecx, [esp + 0x10]
add al, 0x41
push ecx
mov byte [esp + 0x14], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x405480
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x412f00
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004056a0
mov eax, dword [0x4164d0]
add esp, 4
cmp eax, 1
jne 0x405480
mov eax, dword [0x4164d4]
test eax, eax
jne 0x405480
push 0x4163ac
call fcn.004056a0
add esp, 4
mov dword [0x4164d0], 0
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x1a
mov dword [esp + 0x18], eax
jl 0x4053d8
jmp 0x405522
mov edi, 0x416088
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004056a0
mov eax, dword [0x4164d0]
add esp, 4
cmp eax, 1
jne 0x405522
mov eax, dword [0x4164d4]
test eax, eax
jne 0x405522
push 0x4163ac
call fcn.004056a0
add esp, 4
mov dword [0x4164d0], 0
mov eax, dword [0x4164bc]
mov byte [0x41639d], 1
test eax, eax
jle 0x405550
push 0x413014
push 0x416190
call ebx
mov ecx, dword [0x415e54]
add esp, 8
push 0
push 0
push 0xb
push ecx
call ebp
push str.Scanning_statistics
push 0x416190
call ebx
mov edx, dword [0x415e54]
add esp, 8
push 0
push 0
push 0xb
push edx
call ebp
push str.______________________________
push 0x416190
call ebx
mov eax, dword [0x415e54]
add esp, 8
push 0
push 0
push 0xb
push eax
call ebp
mov ecx, dword [0x4164b8]
push ecx
push str.Total_files_scanned_t_t:___d
push 0x416190
call ebx
mov edx, dword [0x415e54]
add esp, 0xc
push 0
push 0
push 0xb
push edx
call ebp
mov eax, dword [0x4164bc]
push eax
push str.Total_files_infected_t_t:___d
push 0x416190
call ebx
mov ecx, dword [0x415e54]
add esp, 0xc
push 0
push 0
push 0xb
push ecx
call ebp
cmp dword [0x4129e0], 1
jne 0x405609
mov edx, dword [0x4164c8]
mov eax, dword [0x4164c4]
add eax, edx
push eax
push str.Total_files_removed_t_t:___d
push 0x416190
call ebx
mov ecx, dword [0x415e54]
add esp, 0xc
push 0
push 0
push 0xb
push ecx
call ebp
mov al, byte [0x41639c]
test al, al
je 0x405634
mov edi, str.Scanning_terminated
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x415f84
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x405654
mov edi, str.Scanning_completed
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x415f84
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x415e54]
push 0
push 0xa
push ecx
call ebp
mov eax, dword [0x4163a8]
test eax, eax
je 0x40568f
push 0x24
push str.CleanPalevo_Ver_1.0
push str.The_system_has_to_be_restarted_to_remove_the_virus_completely_from_your_system.__n_n_Restart_now_
call fcn.00402d40
add esp, 0xc
cmp eax, 6
jne 0x40568f
call fcn.004079d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x110
ret