Function at 0x870060
Capabilities:
Check for time delay via gettickcount
Delete directory
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x834
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x21d]
push ebx
push eax
mov dword [esp + 0x18], ebx
mov byte [esp + 0x224], bl
call fcn.00a7ffb0
add esp, 0xc
cmp dword [0xbe63c0], ebx
je 0x8700bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0xbe63c0]
cmp eax, 0xaf0
jb 0x870530
lea ecx, [esp + 0xc]
push ecx
push str.kernel32.dll_version.dll_ws2_32.dll_netapi32.dll_winhttp.dll_mpr.dll_activeds.dll_user32.dll_winspool.drv_advapi32.dll_shell32.dll_ole32.dll_oleaut32.dll_oleacc.dll_Shlwapi.dll_Imagehlp.dll_Crypt32.dll_PSAPI.DLL_wldap32.dll_Iphlpapi.dll_Wtsapi32.dll_shfolder.dll_wsock32.dll_mswsock.dll_wininet.dll_RICHED20.DLL_mapi32.dll_uxtheme.dll_imm32.dll_gdi32.dll_RasApi32.dll_mtxex.dll_msimg32.dll_comctl32.dll_comdlg32.dll_winmm.dll_cryptui.dll_icmp.dll_msjet40.dll_ntdll.dll_ODBCCP32.DLL_olepro32.dll_Rstrtmgr.dll_usp10.dll_VBAJET32.dll_winsta.dll
mov bl, 0x2c
lea edi, [esp + 0x530]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0xc], 0xffffffff
je 0x870525
xor eax, eax
jmp 0x8700f0
mov cl, byte [eax + 0xb55508]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x8700f0
cmp byte [esp + 0x10], cl
je 0x870133
lea eax, [esp + 0x10]
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x870110
lea edx, [esp + 0x10]
sub eax, edx
je 0x870133
cmp byte [esp + eax + 0xf], 0x5c
je 0x870133
push 0xaa1564
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x528]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x870140
lea edi, [esp + 0x10]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x870150
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
push 0
xor edx, edx
lea ecx, [esp + 0x18]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x8701da
lea eax, [esp + 0x10]
call fcn.0095a560
cmp eax, 0xffffffff
je 0x8701a0
test al, 7
je 0x8701a0
push 0x80
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
call fcn.00962830
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x328]
push str._ROGUE_DLL__Deleted_Rogue_DLL___s_._Status:__u
push eax
call fcn.00a78f30
push 0
push 1
lea ecx, [esp + 0x338]
push ecx
push 0xb54ce8
call fcn.008808e0
add esp, 0x20
lea ecx, [esp + 0x10]
call fcn.0095a450
test eax, eax
je 0x870306
lea eax, [esp + 0x10]
call fcn.0095a560
cmp eax, 0xffffffff
je 0x87020d
test al, 7
je 0x87020d
push 0x80
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
mov ecx, 0xaabc14
lea ebx, [esp + 0x14]
call fcn.0095eb80
xor eax, eax
add esp, 4
cmp byte [esp + 0x10], al
je 0x87023f
push 0x80
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0095a450
test eax, eax
je 0x8702ae
xor eax, eax
mov cl, byte [esp + eax + 0x10]
mov byte [esp + eax + 0x630], cl
inc eax
test cl, cl
jne 0x870250
lea edx, [esp + 0x630]
push 0x2e
push edx
call fcn.00a7aa50
add esp, 8
test eax, eax
je 0x870279
mov byte [eax], 0x5f
lea eax, [esp + 0x630]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ebx, eax
test ebx, ebx
jne 0x8702ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
mov edi, eax
lea esi, [esp + 0x21c]
call fcn.00960a40
add esp, 4
cmp byte [esp + 0x218], 0
lea edx, [esp + 0x10]
lea eax, [esp + 0x320]
jne 0x8702d5
push ebx
push edx
push str._ROGUE_DLL__Deleted_Rogue_Folder___s_._Status:__u
push eax
call fcn.00a78f30
add esp, 0x10
jmp 0x8702ed
lea ecx, [esp + 0x218]
push ecx
push ebx
push edx
push str._ROGUE_DLL__Deleted_Rogue_Folder___s_._Status:__u___s_
push eax
call fcn.00a78f30
add esp, 0x14
push 0
push 1
lea ecx, [esp + 0x328]
push ecx
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
cmp byte [0xb548d8], 0
je 0x8704ff
xor eax, eax
mov cl, byte [eax + 0xb548d8]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x870315
cmp byte [esp + 0x10], cl
je 0x870353
lea eax, [esp + 0x10]
mov edi, edi
inc eax
cmp byte [eax], 0
jne 0x870330
lea edx, [esp + 0x10]
sub eax, edx
je 0x870353
cmp byte [esp + eax + 0xf], 0x5c
je 0x870353
push 0xaa1564
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x528]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x870360
lea edi, [esp + 0x10]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x870370
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
push 0
xor edx, edx
lea ecx, [esp + 0x18]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x8703fa
lea eax, [esp + 0x10]
call fcn.0095a560
cmp eax, 0xffffffff
je 0x8703c0
test al, 7
je 0x8703c0
push 0x80
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
call fcn.00962830
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x328]
push str._ROGUE_DLL__Deleted_Rogue_DLL___s_._Status:__u
push eax
call fcn.00a78f30
push 0
push 1
lea ecx, [esp + 0x338]
push ecx
push 0xb54ce8
call fcn.008808e0
add esp, 0x20
lea ecx, [esp + 0x10]
call fcn.0095a450
test eax, eax
je 0x8704ff
lea eax, [esp + 0x10]
call fcn.0095a560
cmp eax, 0xffffffff
je 0x87042d
test al, 7
je 0x87042d
push 0x80
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
mov ecx, 0xaabc14
lea ebx, [esp + 0x14]
call fcn.0095eb80
xor eax, eax
add esp, 4
cmp byte [esp + 0x10], al
je 0x87045f
push 0x80
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0095a450
test eax, eax
je 0x8704ce
xor eax, eax
mov cl, byte [esp + eax + 0x10]
mov byte [esp + eax + 0x320], cl
inc eax
test cl, cl
jne 0x870470
lea edx, [esp + 0x320]
push 0x2e
push edx
call fcn.00a7aa50
add esp, 8
test eax, eax
je 0x870499
mov byte [eax], 0x5f
lea eax, [esp + 0x320]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ebx, eax
test ebx, ebx
jne 0x8704ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x104
mov edi, eax
lea esi, [esp + 0x21c]
call fcn.00960a40
add esp, 4
push ebx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x638]
push str._ROGUE_DLL__Deleted_Rogue_Folder___s_._Status:__u
push eax
call fcn.00a78f30
push 0
push 1
lea ecx, [esp + 0x648]
push ecx
push 0xb54ce8
call fcn.008808e0
add esp, 0x20
lea edx, [esp + 0xc]
push edx
push str.kernel32.dll_version.dll_ws2_32.dll_netapi32.dll_winhttp.dll_mpr.dll_activeds.dll_user32.dll_winspool.drv_advapi32.dll_shell32.dll_ole32.dll_oleaut32.dll_oleacc.dll_Shlwapi.dll_Imagehlp.dll_Crypt32.dll_PSAPI.DLL_wldap32.dll_Iphlpapi.dll_Wtsapi32.dll_shfolder.dll_wsock32.dll_mswsock.dll_wininet.dll_RICHED20.DLL_mapi32.dll_uxtheme.dll_imm32.dll_gdi32.dll_RasApi32.dll_mtxex.dll_msimg32.dll_comctl32.dll_comdlg32.dll_winmm.dll_cryptui.dll_icmp.dll_msjet40.dll_ntdll.dll_ODBCCP32.DLL_olepro32.dll_Rstrtmgr.dll_usp10.dll_VBAJET32.dll_winsta.dll
mov bl, 0x2c
lea edi, [esp + 0x530]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0xc], 0xffffffff
jne 0x8700e5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0xbe63c0], eax
mov ecx, dword [esp + 0x83c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret