Function at 0x490be0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59643d
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x60b4e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ebx, dword [ebp + 8]
push 0
mov dword [ebp - 0x224], edi
call fcn.0048c1c0
lea ecx, [ebp - 0x2f4]
call fcn.0048e150
lea eax, [ebp - 0x2f4]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0048f8f0
push ebx
lea ecx, [ebp - 0x2f4]
call fcn.004915a0
push ebx
mov ecx, edi
call fcn.00491170
cmp dword [edi + 0x60], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x234], 1
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x248], eax
je 0x490fbf
lea ecx, [ebp - 0x29c]
call fcn.00526194
lea ecx, [ebp - 0x278]
mov dword [ebp - method.CXTPImageManagerIcon.virtual_0], vtable.CXTPCommandBarList.0
call fcn.00489700
mov dword [ebp - 0x27c], edi
mov eax, dword [edi]
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 1
push ecx
mov ecx, edi
call dword [eax + 0x8c]
lea ecx, [ebp - 0x2c8]
call fcn.004b86e0
push 0
push 0x1000
push 0
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x33c]
call fcn.0053d9d4
push ebx
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 3
push 0x5b5094
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x33c]
lea ecx, [ebp - 0x384]
push eax
call fcn.004baae0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x364], eax
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x384]
push ecx
mov ecx, edi
call dword [eax + 0x84]
test eax, eax
je 0x490f74
lea ecx, [ebp - 0x33c]
call fcn.0053dfb7
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
lea ecx, [ebp - 0x2c8]
call fcn.004b8a30
call fcn.00526109
mov ecx, eax
test ecx, ecx
je 0x49101b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
mov ecx, 0x3e80
mov byte [ebp - 4], 5
cmp ecx, dword [ebp - 0x218]
sbb ecx, ecx
neg ecx
cmp dword [ebp - 0x218], 0x3e80
jbe 0x490e13
push ebx
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.0048f7b0
mov esi, dword [ebp - 0x220]
mov ecx, eax
test ecx, ecx
je 0x490eec
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call fcn.005377ce
push 0
push 0x1001
push esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 7
call fcn.00537d7a
test eax, eax
je 0x490eb2
push dword [ebp - 0x218]
lea ecx, [ebp - 0x264]
push dword [ebp - 0x21c]
call fcn.005380e7
call fcn.005322aa
push esi
push 0x5b50ac
lea edx, [ebp - 0x214]
mov ecx, dword [eax + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x88]
call fcn.005322aa
push 1
push 0x5b50c0
lea edx, [ebp - 0x214]
mov ecx, dword [eax + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x80]
lea ecx, [ebp - 0x264]
call fcn.00537b0e
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x264]
call fcn.0053784c
mov dword [ebp - 4], 5
jmp 0x490f32
call fcn.005322aa
push dword [ebp - 0x218]
lea edx, [ebp - 0x214]
push dword [ebp - 0x21c]
mov ecx, dword [eax + 4]
push 0x5b50ac
push edx
mov eax, dword [ecx]
call dword [eax + 0x90]
call fcn.005322aa
push 0
push 0x5b50c0
lea edx, [ebp - 0x214]
mov ecx, dword [eax + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x80]
lea ecx, [ebp - 0x33c]
call fcn.0053dc91
lea ecx, [ebp - 0x2c8]
call fcn.0053e84b
push dword [ebp - 0x21c]
call fcn.00561815
add esp, 4
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x490f8f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490f8f
call fcn.005322aa
push 0
push 0
lea edx, [ebp - 0x214]
mov ecx, dword [eax + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x88]
lea ecx, [ebp - 0x384]
call fcn.004baf00
lea ecx, [ebp - 0x33c]
call fcn.0053db11
lea ecx, [ebp - 0x2c8]
call fcn.004b87c0
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0
call fcn.004af7b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
test eax, eax
je 0x490fe8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
cmp dword [eax + 0x1c0], 0
je 0x490fe8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ecx, eax
call fcn.004e7480
mov eax, dword [edi + 0x74]
lea ecx, [ebp - 0x2f4]
mov dword [eax + 0x4c], 0
call fcn.0048e1d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055a658
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404c28
int3