Function at 0x4fdcde
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b4
push esi
mov dword [ebp - 0x420], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x7b0], 0
mov dword [ebp - 0x7b4], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x580]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov edx, dword [ebp - 0x560]
sub edx, 0x1000
mov dword [ebp - 0x7b0], edx
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x6a4], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x440]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x6a4]
mov byte [ebp + eax - 0x444], 0
push str..lim
lea ecx, [ebp - 0x440]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x6a0]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0x6a4]
mov byte [ebp + ecx - 0x6a4], 0
push 0x5aac08
lea edx, [ebp - 0x6a0]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x6a0]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
push 0x104
lea ecx, [ebp - 0x7a8]
push ecx
call dword [sym.imp.MSVCRT.dll__getcwd]
add esp, 8
lea edx, [ebp - 0x7a8]
push edx
lea eax, [ebp - 0x680]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5aac10
lea ecx, [ebp - 0x680]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x680]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
lea ecx, [ebp - 0x680]
push ecx
call fcn.00401fca
add esp, 4
push 0x5aac14
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x7ac], eax
cmp dword [ebp - 0x7ac], 0
jne 0x4fde4a
jmp 0x4fe8f3
push 0
push 0x3c
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 8
add esi, eax
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 0x10
add esi, eax
mov dword [ebp - 0x420], esi
mov dword [0x5b84b8], 0
jmp 0x4fdebb
mov ecx, dword [0x5b84b8]
add ecx, 1
mov dword [0x5b84b8], ecx
cmp dword [0x5b84b8], 0x10
jge 0x4fded4
mov edx, dword [0x5b84b8]
mov byte [ebp + edx - 0x41c], 0
jmp 0x4fdeac
push 0
mov eax, dword [ebp - 0x420]
add eax, 0x28
push eax
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 8
add esi, eax
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 0x10
add esi, eax
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 0x18
add esi, eax
mov dword [ebp - 8], esi
push 0
mov eax, dword [ebp - 8]
add eax, 0x1e1
push eax
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov dword [0x5b84b8], 0
jmp 0x4fdf7a
mov edx, dword [0x5b84b8]
add edx, 1
mov dword [0x5b84b8], edx
cmp dword [0x5b84b8], 6
jge 0x4fdfa2
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov ecx, dword [0x5b84b8]
mov byte [ebp + ecx - 0x41c], al
jmp 0x4fdf6b
push 0x5aac18
lea edx, [ebp - 0x41c]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4fe022
mov eax, dword [ebp - 8]
sub eax, 0x2000
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x1e1
push ecx
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov dword [0x5b84b8], 0
jmp 0x4fdffa
mov eax, dword [0x5b84b8]
add eax, 1
mov dword [0x5b84b8], eax
cmp dword [0x5b84b8], 6
jge 0x4fe022
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov edx, dword [0x5b84b8]
mov byte [ebp + edx - 0x41c], al
jmp 0x4fdfed
push 0x5aac20
lea eax, [ebp - 0x41c]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4fe0a5
mov ecx, dword [ebp - 8]
sub ecx, 0xa00
mov dword [ebp - 8], ecx
push 0
mov edx, dword [ebp - 8]
add edx, 0x1e1
push edx
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov dword [0x5b84b8], 0
jmp 0x4fe07d
mov ecx, dword [0x5b84b8]
add ecx, 1
mov dword [0x5b84b8], ecx
cmp dword [0x5b84b8], 6
jge 0x4fe0a5
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov ecx, dword [0x5b84b8]
mov byte [ebp + ecx - 0x41c], al
jmp 0x4fe06e
push 0x5aac28
lea edx, [ebp - 0x41c]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4fe128
mov eax, dword [ebp - 0x560]
sub eax, 0x1134
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x1e1
push ecx
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov dword [0x5b84b8], 0
jmp 0x4fe100
mov eax, dword [0x5b84b8]
add eax, 1
mov dword [0x5b84b8], eax
cmp dword [0x5b84b8], 6
jge 0x4fe128
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov edx, dword [0x5b84b8]
mov byte [ebp + edx - 0x41c], al
jmp 0x4fe0f3
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push str.KOPOBA
lea ecx, [ebp - 0x41c]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4fe155
jmp 0x4fe8f3
push 0x5aac38
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x7ac], eax
cmp dword [ebp - 0x7ac], 0
jne 0x4fe17b
jmp 0x4fe8f3
push 0x5aac3c
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
jne 0x4fe1a4
jmp 0x4fe8f3
push 0
mov ecx, dword [ebp - 0x420]
push ecx
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov dword [0x5b84b8], 0
jmp 0x4fe1d6
mov eax, dword [0x5b84b8]
add eax, 1
mov dword [0x5b84b8], eax
cmp dword [0x5b84b8], 0x400
jge 0x4fe201
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov edx, dword [0x5b84b8]
mov byte [ebp + edx - 0x408], al
jmp 0x4fe1c9
push 0
mov eax, dword [ebp - 8]
add eax, 0x25
push eax
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov dword [0x5b84b8], 0
jmp 0x4fe235
mov edx, dword [0x5b84b8]
add edx, 1
mov dword [0x5b84b8], edx
cmp dword [0x5b84b8], 3
jge 0x4fe25d
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov ecx, dword [0x5b84b8]
mov byte [ebp + ecx - 0x41c], al
jmp 0x4fe226
mov dl, byte [ebp - 0x41c]
mov byte [ebp - 0x3e0], dl
mov al, byte [ebp - 0x41b]
mov byte [ebp - 0x3df], al
movsx ecx, byte [ebp - 0x41a]
cmp ecx, 1
jne 0x4fe28a
mov byte [ebp - 0x3de], 1
jmp 0x4fe291
mov byte [ebp - 0x3de], 0
push 0
mov edx, dword [ebp - 0x420]
add edx, 0x50
push edx
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 8
add esi, eax
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 0x10
add esi, eax
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 0x18
add esi, eax
mov dword [ebp - 0x7b4], esi
mov edx, dword [ebp - 0x7b4]
sub edx, 0x1000
mov dword [ebp - 0x7b4], edx
mov eax, dword [ebp - 0x7b4]
and eax, 0x80ffffff
jns 0x4fe32a
dec eax
or eax, 0xff000000
inc eax
mov byte [ebp - 0x3b8], al
mov eax, dword [ebp - 0x7b4]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
and eax, 0x8000ffff
jns 0x4fe350
dec eax
or eax, 0xffff0000
inc eax
mov byte [ebp - 0x3b7], al
mov eax, dword [ebp - 0x7b4]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
and eax, 0x800000ff
jns 0x4fe376
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0x3b6], al
mov eax, dword [ebp - 0x7b4]
cdq
and edx, 0xffffff
add eax, edx
sar eax, 0x18
mov byte [ebp - 0x3b5], al
push 0
mov ecx, dword [ebp - 0x420]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 8
add esi, eax
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 0x10
add esi, eax
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
shl eax, 0x18
add esi, eax
mov dword [ebp - 0x7b4], esi
mov dword [0x5b84b8], 0
jmp 0x4fe422
mov ecx, dword [0x5b84b8]
add ecx, 1
mov dword [0x5b84b8], ecx
cmp dword [0x5b84b8], 0x400
jge 0x4fe6be
mov edx, dword [0x5b84b8]
xor eax, eax
mov al, byte [ebp + edx - 0x408]
cmp eax, 0x2e
jne 0x4fe6b9
mov ecx, dword [0x5b84b8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x407]
cmp edx, 0x72
jne 0x4fe6b9
mov eax, dword [0x5b84b8]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x406]
cmp ecx, 0x65
jne 0x4fe6b9
mov edx, dword [0x5b84b8]
xor eax, eax
mov al, byte [ebp + edx - 0x405]
cmp eax, 0x6c
jne 0x4fe6b9
mov ecx, dword [0x5b84b8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x404]
cmp edx, 0x6f
jne 0x4fe6b9
mov eax, dword [0x5b84b8]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x403]
cmp ecx, 0x63
jne 0x4fe6b9
mov edx, dword [0x5b84b8]
xor eax, eax
mov al, byte [ebp + edx - 0x3fc]
mov ecx, dword [0x5b84b8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x3fb]
shl edx, 8
add eax, edx
mov ecx, dword [0x5b84b8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x3fa]
shl edx, 0x10
add eax, edx
mov ecx, dword [0x5b84b8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x3f9]
shl edx, 0x18
add eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x7b4]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x7b4], eax
mov ecx, dword [ebp - 0x7b4]
and ecx, 0x80ffffff
jns 0x4fe533
dec ecx
or ecx, 0xff000000
inc ecx
mov edx, dword [0x5b84b8]
mov byte [ebp + edx - 0x400], cl
mov eax, dword [ebp - 0x7b4]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
and eax, 0x8000ffff
jns 0x4fe560
dec eax
or eax, 0xffff0000
inc eax
mov ecx, dword [0x5b84b8]
mov byte [ebp + ecx - 0x3ff], al
mov eax, dword [ebp - 0x7b4]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
and eax, 0x800000ff
jns 0x4fe58d
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [0x5b84b8]
mov byte [ebp + edx - 0x3fe], al
mov eax, dword [ebp - 0x7b4]
cdq
and edx, 0xffffff
add eax, edx
sar eax, 0x18
mov ecx, dword [0x5b84b8]
mov byte [ebp + ecx - 0x3fd], al
mov edx, dword [0x5b84b8]
xor eax, eax
mov al, byte [ebp + edx - 0x3f8]
mov ecx, dword [0x5b84b8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x3f7]
shl edx, 8
add eax, edx
mov ecx, dword [0x5b84b8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x3f6]
shl edx, 0x10
add eax, edx
mov ecx, dword [0x5b84b8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x3f5]
shl edx, 0x18
add eax, edx
mov dword [ebp - 0x7b4], eax
mov eax, dword [ebp - 0x7b4]
sub eax, 0x1000
mov dword [ebp - 0x7b4], eax
mov ecx, dword [ebp - 0x7b4]
and ecx, 0x80ffffff
jns 0x4fe631
dec ecx
or ecx, 0xff000000
inc ecx
mov edx, dword [0x5b84b8]
mov byte [ebp + edx - 0x3f8], cl
mov eax, dword [ebp - 0x7b4]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
and eax, 0x8000ffff
jns 0x4fe65e
dec eax
or eax, 0xffff0000
inc eax
mov ecx, dword [0x5b84b8]
mov byte [ebp + ecx - 0x3f7], al
mov eax, dword [ebp - 0x7b4]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
and eax, 0x800000ff
jns 0x4fe68b
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [0x5b84b8]
mov byte [ebp + edx - 0x3f6], al
mov eax, dword [ebp - 0x7b4]
cdq
and edx, 0xffffff
add eax, edx
sar eax, 0x18
mov ecx, dword [0x5b84b8]
mov byte [ebp + ecx - 0x3f5], al
jmp 0x4fe6be
jmp 0x4fe413
push 0
push 0
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov dword [0x5b84b8], 0
jmp 0x4fe6eb
mov eax, dword [0x5b84b8]
add eax, 1
mov dword [0x5b84b8], eax
mov ecx, dword [0x5b84b8]
cmp ecx, dword [ebp - 0x420]
jge 0x4fe71c
mov edx, dword [ebp - 0x40c]
push edx
mov eax, dword [ebp - 0x7ac]
push eax
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
jmp 0x4fe6de
mov dword [ebp - 0x6a4], 0
jmp 0x4fe746
mov ecx, dword [ebp - 0x6a4]
add ecx, 1
mov dword [ebp - 0x6a4], ecx
mov edx, dword [0x5b84b8]
add edx, 1
mov dword [0x5b84b8], edx
cmp dword [ebp - 0x6a4], 0x400
jge 0x4fe774
mov eax, dword [ebp - 0x40c]
push eax
mov ecx, dword [ebp - 0x6a4]
xor edx, edx
mov dl, byte [ebp + ecx - 0x408]
push edx
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
jmp 0x4fe728
push 0
mov eax, dword [ebp - 0x420]
add eax, 0x400
push eax
mov ecx, dword [ebp - 0x7ac]
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
jmp 0x4fe7a3
mov edx, dword [0x5b84b8]
add edx, 1
mov dword [0x5b84b8], edx
mov eax, dword [0x5b84b8]
cmp eax, dword [ebp - 8]
jge 0x4fe7d0
mov ecx, dword [ebp - 0x40c]
push ecx
mov edx, dword [ebp - 0x7ac]
push edx
call dword [sym.imp.MSVCRT.dll_fgetc]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
jmp 0x4fe794
jmp 0x4fe7df
mov eax, dword [0x5b84b8]
add eax, 1
mov dword [0x5b84b8], eax
mov ecx, dword [0x5b84b8]
cmp ecx, dword [ebp - 0x7b0]
jge 0x4fe801
mov edx, dword [ebp - 0x40c]
push edx
push 0
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
jmp 0x4fe7d2
call dword [sym.imp.MSVCRT.dll__fcloseall]
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
test eax, eax
jne 0x4fe877
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
lea ecx, [ebp - 0x680]
push ecx
push str._s_____Limpiado_Gusano_BUBE_n
push 0x5b6504
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x5b6504
mov ecx, 0x5b5b78
call fcn.0050f680
push 0
push 0x5aac60
push 0x5b6504
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4fe8f3
lea edx, [ebp - 0x6a0]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x440]
push edx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
lea eax, [ebp - 0x680]
push eax
push str._s_____Infectado_por_Gusano_BUBE_n
push 0x5b6504
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x5b6504
mov ecx, 0x5b5b78
call fcn.0050f680
push str.Reinicie_el_Sistema_para_completar_la_Limpieza.
push 0x5b6504
call sub.MSVCRT.dll_strcat
add esp, 8
push 0
push 0x5aacc8
push 0x5b6504
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.004ae964
pop esi
mov esp, ebp
pop ebp
ret