Function at 0x482440
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adc12
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x6244f8]
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.0047da90
lea ecx, [ebp - 0x2f4]
call fcn.0047f920
lea eax, [ebp - 0x2f4]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00481120
push ebx
lea ecx, [ebp - 0x2f4]
call fcn.00482df0
push ebx
mov ecx, edi
call fcn.004829d0
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 0x48281f
lea ecx, [ebp - 0x29c]
call fcn.005395ea
lea ecx, [ebp - 0x278]
mov dword [ebp - method.CXTPImageManagerIcon.virtual_0], vtable.CXTPCommandBarList.0
call fcn.0047b0a0
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.004aa290
push 0
push 0x1000
push 0
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x33c]
call fcn.0054f5b5
push ebx
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 3
push 0x5ccd44
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x33c]
lea ecx, [ebp - 0x384]
push eax
call fcn.004ac7f0
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 0x4827d4
lea ecx, [ebp - 0x33c]
call fcn.0054fb8f
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.004aa700
call fcn.0053955f
mov ecx, eax
test ecx, ecx
je 0x48287b
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 0x482673
push ebx
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.00480f80
mov esi, dword [ebp - 0x220]
mov ecx, eax
test ecx, ecx
je 0x48274c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call fcn.0054aca9
push 0
push 0x1001
push esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 7
call fcn.0054b25d
test eax, eax
je 0x482712
push dword [ebp - 0x218]
lea ecx, [ebp - 0x264]
push dword [ebp - 0x21c]
call fcn.0054b5ed
call fcn.00545615
push esi
push 0x5ccd5c
lea edx, [ebp - 0x214]
mov ecx, dword [eax + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x88]
call fcn.00545615
push 1
push 0x5ccd70
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.0054afea
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x264]
call fcn.0054ad2d
mov dword [ebp - 4], 5
jmp 0x482792
call fcn.00545615
push dword [ebp - 0x218]
lea edx, [ebp - 0x214]
push dword [ebp - 0x21c]
mov ecx, dword [eax + 4]
push 0x5ccd5c
push edx
mov eax, dword [ecx]
call dword [eax + 0x90]
call fcn.00545615
push 0
push 0x5ccd70
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.0054f86b
lea ecx, [ebp - 0x2c8]
call fcn.00550426
push dword [ebp - 0x21c]
call fcn.00574f9b
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 0x4827ef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4827ef
call fcn.00545615
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.004acca0
lea ecx, [ebp - 0x33c]
call fcn.0054f6e8
lea ecx, [ebp - 0x2c8]
call fcn.004aa370
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0
call fcn.004a1230
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
test eax, eax
je 0x482848
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
cmp dword [eax + 0x1c0], 0
je 0x482848
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ecx, eax
call fcn.004d9d20
mov eax, dword [edi + 0x74]
lea ecx, [ebp - 0x2f4]
mov dword [eax + 0x4c], 0
call fcn.0047f9a0
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.0056e41f
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404e00
int3