Function at 0x489850
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 0x489c55
mov ebx, eax
xor eax, eax
push ebp
push 0x489c4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00423fac
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.0042699c
xor ecx, ecx
xor edx, edx
call fcn.00426960
mov esi, eax
mov dword [ebx + 0x74], esi
mov ecx, 0x489c5c
mov eax, dword [esi + 0x80]
mov edx, dword [0x6387f8]
call fcn.004264b8
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xb8], 0x486f0c
mov edx, 0x489c70
call fcn.00425ba0
mov eax, ebx
call fcn.004871cc
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 0x4898ff
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 0x489919
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.00426960
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.004267cc
mov ecx, 0xa0
mov edx, 0x14
call fcn.00425e84
mov esi, eax
mov dword [ebx + 0x58], esi
mov eax, esi
mov edx, 0x12c
call fcn.0042669c
mov eax, dword [ebx + 0x58]
mov edx, 0xffff
call fcn.0042603c
mov eax, dword [ebx + 0x58]
mov dl, 1
call fcn.0042673c
mov eax, dword [ebx + 0x74]
xor ecx, ecx
xor edx, edx
call fcn.004267cc
mov ecx, 0x7e
mov edx, 0x14
call fcn.00425e84
mov esi, eax
mov dword [ebx + 0x5c], esi
mov edx, dword [0x634e5c]
mov edx, dword [edx]
mov eax, esi
call fcn.0042669c
mov eax, dword [ebx + 0x5c]
mov edx, 0xbdd0ee
call fcn.0042603c
mov eax, dword [ebx + 0x5c]
mov dl, 1
call fcn.0042673c
mov eax, dword [0x634c00]
xor edx, edx
mov dword [eax], edx
mov eax, 0x489c84
call fcn.00462704
mov eax, 0x489c84
call fcn.00462704
mov eax, 0x489c84
call fcn.00462704
mov eax, 0x489c84
call fcn.00462704
mov eax, 0x489c84
call fcn.00462704
mov eax, 0x489c84
call fcn.00462704
mov eax, 0x489c84
call fcn.00462704
mov eax, 0x489c98
call fcn.00462704
mov eax, 0x489c98
call fcn.00462704
mov eax, 0x489c98
call fcn.00462704
mov eax, 0x489c98
call fcn.00462704
push 0x20
lea eax, [ebp - 4]
call fcn.00423614
lea eax, [ebp - 4]
mov edx, 0x489cb0
call fcn.00405694
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 8]
call fcn.00423614
lea eax, [ebp - 8]
mov edx, 0x489cb0
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.00423614
lea eax, [ebp - 0xc]
mov edx, 0x489cb0
call fcn.00405694
mov eax, dword [ebp - 0xc]
call fcn.00405858
push eax
call sub.kernel32.dll_CreateDirectoryA
push 0x20
push 0x489cc0
call sub.kernel32.dll_SetFileAttributesA
push 0x489cc0
call sub.kernel32.dll_DeleteFileA
push 0x20
push 0x489ccc
call sub.kernel32.dll_SetFileAttributesA
push 0x489ccc
call sub.kernel32.dll_DeleteFileA
mov ecx, 0x4873e8
mov edx, ebx
lea eax, [ebx + 0x60]
call fcn.004231a8
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, 0x4870c4
mov edx, ebx
lea eax, [ebx + 0x1c]
call fcn.004231a8
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.0046998c
mov esi, eax
mov edx, 0x1d
mov eax, esi
call fcn.0042669c
mov edx, 0x1b
mov eax, esi
call fcn.00425e58
mov edx, 0x1b8
mov eax, esi
call fcn.00425da0
mov edx, 0xa
mov eax, esi
call fcn.00425dec
mov edx, 0x489cdc
mov eax, esi
call fcn.00469be4
mov edx, 0x489cec
mov eax, esi
call fcn.00469c24
mov edx, 0x489cec
mov eax, esi
call fcn.00469c64
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], 0x489838
push 0x489cfc
call sub.kernel32.dll_DeleteFileA
push 0x489d0c
push 0x489d20
call sub.kernel32.dll_MoveFileA
push 0x20
push 0x489d34
call sub.kernel32.dll_SetFileAttributesA
push 0x489d34
call sub.kernel32.dll_DeleteFileA
push 0x489d44
call sub.kernel32.dll_DeleteFileW
call fcn.00462130
mov eax, ebx
mov edx, 0x12c
call fcn.00487b38
test al, al
jne 0x489c07
mov byte [0x5344a0], 0
mov eax, dword [0x6349ec]
cmp byte [eax], 0
je 0x489c18
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.004262b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489c53
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053ec
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret