Function at 0x48f350
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbd72
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x634b28]
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.0048a9a0
lea ecx, [ebp - 0x2f4]
call fcn.0048c830
lea eax, [ebp - 0x2f4]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0048e030
push ebx
lea ecx, [ebp - 0x2f4]
call fcn.0048fd00
push ebx
mov ecx, edi
call fcn.0048f8e0
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 0x48f72f
lea ecx, [ebp - 0x29c]
call fcn.005467aa
lea ecx, [ebp - 0x278]
mov dword [ebp - method.CXTPMarkupContext::CTooltipContext.virtual_0], vtable.CXTPCommandBarList.0
call fcn.00487fb0
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.004b7220
push 0
push 0x1000
push 0
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x33c]
call fcn.0055c842
push ebx
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 3
push 0x5d978c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x33c]
lea ecx, [ebp - 0x384]
push eax
call fcn.004b9780
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 0x48f6e4
lea ecx, [ebp - 0x33c]
call fcn.0055ce1c
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.004b7690
call fcn.0054671f
mov ecx, eax
test ecx, ecx
je 0x48f78b
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 0x48f583
push ebx
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.0048de90
mov esi, dword [ebp - 0x220]
mov ecx, eax
test ecx, ecx
je 0x48f65c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call fcn.00557f36
push 0
push 0x1001
push esi
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 7
call fcn.005584ea
test eax, eax
je 0x48f622
push dword [ebp - 0x218]
lea ecx, [ebp - 0x264]
push dword [ebp - 0x21c]
call fcn.0055887a
call fcn.005527d5
push esi
push 0x5d97a4
lea edx, [ebp - 0x214]
mov ecx, dword [eax + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x88]
call fcn.005527d5
push 1
push 0x5d97b8
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.00558277
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x264]
call fcn.00557fba
mov dword [ebp - 4], 5
jmp 0x48f6a2
call fcn.005527d5
push dword [ebp - 0x218]
lea edx, [ebp - 0x214]
push dword [ebp - 0x21c]
mov ecx, dword [eax + 4]
push 0x5d97a4
push edx
mov eax, dword [ecx]
call dword [eax + 0x90]
call fcn.005527d5
push 0
push 0x5d97b8
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.0055caf8
lea ecx, [ebp - 0x2c8]
call fcn.0055de21
push dword [ebp - 0x21c]
call fcn.005823b1
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 0x48f6ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x48f6ff
call fcn.005527d5
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.004b9c30
lea ecx, [ebp - 0x33c]
call fcn.0055c975
lea ecx, [ebp - 0x2c8]
call fcn.004b7300
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0
call fcn.004ae1c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
test eax, eax
je 0x48f758
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
cmp dword [eax + 0x1c0], 0
je 0x48f758
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ecx, eax
call fcn.004e6d30
mov eax, dword [edi + 0x74]
lea ecx, [ebp - 0x2f4]
mov dword [eax + 0x4c], 0
call fcn.0048c8b0
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.0057b6ac
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404d7e
int3