Function at 0x489414
Capabilities:
Create directory
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
call fcn.00404238
je 0x489819
mov ebx, eax
xor eax, eax
push ebp
push 0x489810
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00423fc8
xor eax, eax
mov dword [ebx + 0x54], eax
push 0
call sub.ole32.dll_CoInitialize_1
push 0
push 0
mov cl, 1
xor edx, edx
xor eax, eax
call fcn.004269d0
xor ecx, ecx
xor edx, edx
call fcn.00426994
mov esi, eax
mov dword [ebx + 0x74], esi
mov ecx, 0x489820
mov eax, dword [esi + 0x80]
mov edx, dword [0x6387f8]
call fcn.004264ec
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xb8], 0x486ad0
mov edx, 0x489834
call fcn.00425bd4
mov eax, ebx
call fcn.00486d90
push 0x4e
call sub.user32.dll_GetSystemMetrics
mov esi, eax
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + 0x80]
sub esi, dword [eax + 0x24]
sar esi, 1
jns 0x4894c3
adc esi, 0
push 0x4f
call sub.user32.dll_GetSystemMetrics
mov edi, dword [ebx + 0x74]
mov edx, dword [edi + 0x80]
sub eax, dword [edx + 0x28]
sar eax, 1
jns 0x4894dd
adc eax, 0
mov edx, dword [ebx + 0x74]
mov edx, dword [edx + 0x80]
mov edx, dword [edx + 0x24]
push edx
mov edx, dword [ebx + 0x74]
mov edx, dword [edx + 0x80]
mov edx, dword [edx + 0x28]
push edx
mov edx, edi
mov ecx, eax
mov eax, esi
xchg edx, eax
call fcn.00426994
push 0x7f00
mov eax, dword [0x6387f8]
push eax
call sub.user32.dll_LoadIconA
push eax
push 0
push 0x80
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x74]
xor ecx, ecx
xor edx, edx
call fcn.00426800
mov ecx, 0xa0
mov edx, 0x14
call fcn.00425eb8
mov esi, eax
mov dword [ebx + 0x58], esi
mov eax, esi
mov edx, 0x12c
call fcn.004266d0
mov eax, dword [ebx + 0x58]
mov edx, 0xffff
call fcn.00426070
mov eax, dword [ebx + 0x58]
mov dl, 1
call fcn.00426770
mov eax, dword [ebx + 0x74]
xor ecx, ecx
xor edx, edx
call fcn.00426800
mov ecx, 0x7e
mov edx, 0x14
call fcn.00425eb8
mov esi, eax
mov dword [ebx + 0x5c], esi
mov edx, dword [0x634e5c]
mov edx, dword [edx]
mov eax, esi
call fcn.004266d0
mov eax, dword [ebx + 0x5c]
mov edx, 0xbdd0ee
call fcn.00426070
mov eax, dword [ebx + 0x5c]
mov dl, 1
call fcn.00426770
mov eax, dword [0x634c00]
xor edx, edx
mov dword [eax], edx
mov eax, 0x489848
call fcn.00464358
mov eax, 0x489848
call fcn.00464358
mov eax, 0x489848
call fcn.00464358
mov eax, 0x489848
call fcn.00464358
mov eax, 0x489848
call fcn.00464358
mov eax, 0x489848
call fcn.00464358
mov eax, 0x489848
call fcn.00464358
mov eax, 0x48985c
call fcn.00464358
mov eax, 0x48985c
call fcn.00464358
mov eax, 0x48985c
call fcn.00464358
mov eax, 0x48985c
call fcn.00464358
push 0x20
lea eax, [ebp - 4]
call fcn.00423630
lea eax, [ebp - 4]
mov edx, 0x489874
call fcn.00405694
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 8]
call fcn.00423630
lea eax, [ebp - 8]
mov edx, 0x489874
call fcn.00405694
mov eax, dword [ebp - 8]
call fcn.00405858
push eax
call sub.kernel32.dll_DeleteFileA
push 0
lea eax, [ebp - 0xc]
call fcn.00423630
lea eax, [ebp - 0xc]
mov edx, 0x489874
call fcn.00405694
mov eax, dword [ebp - 0xc]
call fcn.00405858
push eax
call sub.kernel32.dll_CreateDirectoryA
push 0x20
push 0x489884
call sub.kernel32.dll_SetFileAttributesA
push 0x489884
call sub.kernel32.dll_DeleteFileA
push 0x20
push 0x489890
call sub.kernel32.dll_SetFileAttributesA
push 0x489890
call sub.kernel32.dll_DeleteFileA
mov ecx, 0x486fac
mov edx, ebx
lea eax, [ebx + 0x60]
call fcn.004231c4
lea eax, [ebx + 0x60]
push eax
push 0x190
push 0x14d
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_SetTimer
mov ecx, 0x486c88
mov edx, ebx
lea eax, [ebx + 0x1c]
call fcn.004231c4
lea eax, [ebx + 0x1c]
push eax
push 0x64
push 0x58
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_SetTimer
mov eax, dword [ebx + 0x74]
xor edx, edx
call fcn.004273d4
mov esi, eax
mov edx, 0x1d
mov eax, esi
call fcn.004266d0
mov edx, 0x1b
mov eax, esi
call fcn.00425e8c
mov edx, 0x1b8
mov eax, esi
call fcn.00425dd4
mov edx, 0xa
mov eax, esi
call fcn.00425e20
mov edx, 0x4898a0
mov eax, esi
call fcn.0042762c
mov edx, 0x4898b0
mov eax, esi
call fcn.0042766c
mov edx, 0x4898b0
mov eax, esi
call fcn.004276ac
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], 0x4893fc
push 0x4898c0
call sub.kernel32.dll_DeleteFileA
push 0x4898d0
push 0x4898e4
call sub.kernel32.dll_MoveFileA
push 0x20
push 0x4898f8
call sub.kernel32.dll_SetFileAttributesA
push 0x4898f8
call sub.kernel32.dll_DeleteFileA
push 0x489908
call sub.kernel32.dll_DeleteFileW
call fcn.00463b20
mov eax, ebx
mov edx, 0x12c
call fcn.004876fc
test al, al
jne 0x4897cb
mov byte [0x5344a0], 0
mov eax, dword [0x6349ec]
cmp byte [eax], 0
je 0x4897dc
mov byte [0x5344a0], 0
push 0x14d
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_KillTimer
mov eax, dword [ebx + 0x74]
call fcn.004262e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489817
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053ec
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret