Function at 0x490047
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5e14d0
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b0]
xor esi, esi
mov edi, ecx
mov dword [edi + 0x14], esi
mov eax, dword [eax]
cmp eax, 1
jne 0x48fed3
mov ecx, dword [edi + 0x10]
push 0x20
mov dword [ecx + 0x30], esi
call fcn.00506f00
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2a4], esi
cmp eax, esi
je 0x49017d
mov edx, dword [edi + 0x10]
push edx
mov ecx, eax
call fcn.0048dfb0
jmp 0x49017f
mov ebx, 2
cmp eax, ebx
jne 0x48fefe
inc dword [edi + 0x20]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 4]
push eax
push ecx
mov ecx, edi
call edx
jmp 0x49017d
mov ecx, dword [0x66d460]
mov esi, dword [edi + 0x20]
call fcn.00454410
mov ebp, eax
mov eax, dword [ebp + 0x228]
sub eax, dword [ebp + 0x224]
add ebp, 0x218
sar eax, 5
cmp esi, eax
jb 0x48ff2c
call fcn.00579468
shl esi, 5
add esi, dword [ebp + 0xc]
push 0xffffffffffffffff
xor ebp, ebp
xor ecx, ecx
push ebp
mov word [esp + 0x48], cx
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebp
call fcn.00439be0
push 0x206
lea eax, [esp + 0x96]
xor edx, edx
push ebp
push eax
mov dword [esp + 0x2b0], 1
mov word [esp + 0x9c], dx
call fcn.00578cb0
mov ecx, dword [0x66d460]
add esp, 0xc
push str.DownCache_
call fcn.00454410
add eax, 0x20
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.0043bbd0
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x30]
push str.InterfaceAddOns_
push eax
mov byte [esp + 0x2bc], bl
call fcn.0043f7d0
add esp, 0x18
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x2b0], 3
call fcn.00439be0
mov esi, 8
mov byte [esp + 0x2a4], bl
cmp dword [esp + 0x38], esi
jb 0x48ffef
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00506f70
add esp, 4
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0043bca0
add esp, 0xc
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x2b0], 4
call fcn.00439be0
mov byte [esp + 0x2a4], bl
cmp dword [esp + 0x38], esi
jb 0x490035
mov edx, dword [esp + 0x24]
push edx
call fcn.00506f70
add esp, 4
push 0x5f65a0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.0043bbd0
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov bl, 5
mov byte [esp + 0x2a4], bl
cmp dword [esp + 0x70], esi
jae 0x490063
lea eax, [esp + 0x5c]
lea edx, [esp + 0x90]
push edx
push eax
call fcn.0045b7c0
mov eax, dword [esp + 0x64]
add esp, 8
cmp dword [esp + 0x70], esi
jae 0x490082
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x90]
push ecx
push eax
call fcn.0045ca20
mov eax, dword [esp + 0x64]
add esp, 8
cmp dword [esp + 0x70], esi
jae 0x4900a1
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [esp + 0x17]
call fcn.004d15a0
mov eax, dword [esp + 0x40]
mov byte [esp + 0x2a4], 6
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x54], esi
jae 0x4900cb
lea eax, [esp + 0x40]
lea edx, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1f]
call fcn.00457970
mov ecx, dword [0x66d460]
mov ebp, dword [edi + 0x20]
call fcn.00454410
mov esi, eax
mov eax, dword [esi + 0x228]
sub eax, dword [esi + 0x224]
add esi, 0x218
sar eax, 5
cmp ebp, eax
jb 0x490108
call fcn.00579468
mov ecx, dword [esi + 0xc]
shl ebp, 5
mov edx, dword [ecx + ebp + 0x1c]
cmp edx, dword [esp + 0x18]
jne 0x49011b
inc dword [edi + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x10]
mov dword [eax + 0x30], ecx
mov ecx, edi
call fcn.0048ecb0
mov edx, dword [edi + 0x18]
test eax, eax
je 0x490144
push 0
push 0
push 0x507
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x490152
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi]
mov eax, dword [eax + 4]
push ecx
push edx
mov ecx, edi
call eax
lea ecx, [esp + 0x17]
mov byte [esp + 0x2a4], bl
call fcn.004679f0
lea ecx, [esp + 0x58]
call fcn.00495410
lea ecx, [esp + 0x74]
call fcn.00495410
lea ecx, [esp + 0x3c]
call fcn.00495410
xor eax, eax
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.005792fc
add esp, 0x294
ret 8