Function at 0x4a0050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov esi, esp
mov dword [esi + 0x218], ebp
mov ebx, ecx
lea ecx, [esi + 0x220]
mov dword [ecx - 4], esp
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x4a9190
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0x200], xmm0
movdqa xmmword [esi + 0x1f0], xmm0
movdqa xmmword [esi + 0x1e0], xmm0
movdqa xmmword [esi + 0x1d0], xmm0
movdqa xmmword [esi + 0x1c0], xmm0
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
lea eax, [esi + 0x60]
mov dword [esi + 0xc], ebx
mov ecx, ebx
push eax
mov ebx, eax
call edi
lea eax, [esi + 0x220]
mov dword [eax + 8], 0
mov ecx, ebx
call fcn.004af144
mov byte [esi + 0x110], 3
mov dword [esi + 0x118], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x200]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x1f0]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x1e0]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x1d0]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x1c0]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x110]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str._s_ClearOldVersions_start
mov dword [esp + 0x10], str.XPluginBase
mov dword [esp + 0xc], str.ClearOldVersions
mov dword [esp + 8], 0x333
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_BasePlugin.cpp
mov dword [esp], 2
call fcn.004ee380
add esp, 0x78
lea edi, [esi + 0x60]
mov ecx, edi
call fcn.004aeec0
xor eax, eax
dec eax
mov dword [edi + 0x10], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
mov dword [esi + 0x228], eax
mov ecx, dword [esi + 0xc]
push edi
call fcn.004a08c0
xor eax, eax
inc eax
mov dword [esi + 0x228], eax
mov ecx, edi
push eax
call fcn.004aef38
test al, al
jne 0x4a01ed
lea ecx, [esi + 0x60]
call fcn.004af144
push eax
call fcn.004feec0
add esp, 4
test al, al
je 0x4a01ed
xor eax, eax
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x6c], 0
je 0x4a02f9
cmp dword [ecx + 0x70], 0
setne cl
mov dword [esi + 0x3c], ecx
jmp 0x4a0300
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0x1b0], xmm0
movdqa xmmword [esi + 0x1a0], xmm0
movdqa xmmword [esi + 0x190], xmm0
movdqa xmmword [esi + 0x180], xmm0
movdqa xmmword [esi + 0x170], xmm0
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x228], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x228], 1
lea eax, [esi + 0x20]
mov ecx, ebx
push eax
call edi
mov dword [esi + 0x228], 2
lea ecx, [esi + 0x20]
call fcn.004af144
mov byte [esi + 0x100], 3
mov dword [esi + 0x108], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x1b0]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x1a0]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x190]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x180]
movups xmmword [esp + 0x38], xmm0
movaps xmm0, xmmword [esi + 0x170]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x100]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str._s_ClearOldVersions_nothing_to_clean
mov dword [esp + 0x10], str.XPluginBase
mov dword [esp + 0xc], str.ClearOldVersions
mov dword [esp + 8], 0x336
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_BasePlugin.cpp
mov dword [esp], 2
call fcn.004ee380
add esp, 0x78
lea ecx, [esi + 0x20]
call fcn.004aeec0
jmp 0x4a07a2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x14], esp
lea ecx, [esi + 0x58]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [ecx - 4], ecx
push eax
sub esp, 0x14
mov ecx, esp
mov dword [esi + 0x228], 3
mov dword [esi + 0x10], ecx
lea eax, [esi + 0x60]
push eax
call fcn.004aeac0
lea eax, [esi + 0x40]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x14], eax
call fcn.005014d0
add esp, 0x18
mov esp, dword [esi + 0x14]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x14], ecx
mov edi, dword [esi + 0xc]
lea ecx, [edi + 0x34]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x1c], 0
lea ebx, [esi + 0x20]
mov dword [esi + 0x228], 3
cmp eax, dword [esi + 0x14]
je 0x4a0482
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0xffffffff
mov ecx, ebx
mov dword [esi + 0x10], eax
push eax
call fcn.004aeac0
mov dword [esi + 0x228], 7
lea ecx, [esi + 0x20]
push 1
call fcn.004aef38
test al, al
jne 0x4a046a
mov dword [esi + 0x18], 0xffffffff
lea ecx, [esi + 0x20]
push 0
call fcn.004af666
push 0xa
push eax
call fcn.004f0176
add esp, 8
mov dword [esi + 0x18], eax
test eax, eax
je 0x4a046a
mov edi, dword [esi + 0xc]
cmp eax, dword [edi + 0x6c]
lea ebx, [esi + 0x20]
je 0x4a0470
cmp eax, dword [edi + 0x70]
je 0x4a0470
mov ecx, dword [esi + 0x50]
push eax
call fcn.004edf20
test al, al
jne 0x4a046a
cmp byte [esi + 0x3c], 0
jne 0x4a0456
mov eax, dword [esi + 0x18]
mov dword [esi + 0x4c], eax
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov dword [esi + 0x228], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x228], 7
mov ecx, ebx
call edi
cmp dword [esi + 0x4c], eax
jb 0x4a0456
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
jbe 0x4a0456
mov ecx, dword [esi + 0xc]
cmp eax, dword [ecx + 0x6c]
jae 0x4a0456
push 0
push eax
push 0xa
call fcn.00496b90
test al, al
je 0x4a0456
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], eax
lea ecx, [esi + 0x54]
lea eax, [esi + 0x18]
push eax
push eax
lea eax, [esi + 0xbc]
push eax
call fcn.0049261c
mov edi, dword [esi + 0xc]
lea ebx, [esi + 0x20]
mov ecx, ebx
call fcn.004aeec0
mov eax, dword [esi + 0x10]
add eax, 0x14
jmp 0x4a0363
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0x160], xmm0
xor eax, eax
mov byte [esi + 0xa8], al
mov dword [esi + 0xb4], eax
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0xb0], ecx
mov ecx, dword [edi + 0x70]
mov byte [esi + 0x98], al
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa0], ecx
mov ecx, dword [edi + 0x6c]
mov byte [esi + 0x88], al
mov dword [esi + 0x94], eax
mov dword [esi + 0x90], ecx
mov ecx, edi
push ebx
call fcn.004936f0
mov dword [esi + 0x228], 5
lea ecx, [esi + 0x20]
call fcn.004af144
mov byte [esi + 0xf0], 3
mov dword [esi + 0xf8], eax
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x228], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x228], 5
mov ecx, ebx
lea eax, [esi + 0xbc]
push eax
call edi
mov dword [esi + 0x228], 6
lea ecx, [esi + 0xbc]
call fcn.004af144
mov byte [esi + 0xe0], 3
mov dword [esi + 0xe8], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x160]
movups xmmword [esp + 0x68], xmm0
movups xmm0, xmmword [esi + 0xa8]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [esi + 0x98]
movups xmmword [esp + 0x48], xmm0
movups xmm0, xmmword [esi + 0x88]
movups xmmword [esp + 0x38], xmm0
movups xmm0, xmmword [esi + 0xf0]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0xe0]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str._s_ClearOldVersions_keep_using___s__download___u__embed___u__back___u
mov dword [esp + 0x10], str.XPluginBase
mov dword [esp + 0xc], str.ClearOldVersions
mov dword [esp + 8], 0x357
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_BasePlugin.cpp
mov dword [esp], 2
call fcn.004ee380
add esp, 0x78
lea ecx, [esi + 0xbc]
call fcn.004aeec0
lea ecx, [esi + 0x20]
call fcn.004aeec0
mov eax, dword [esi + 0x54]
mov ecx, eax
lea eax, [esi + 0x58]
cmp ecx, eax
je 0x4a078f
mov dword [esi + 0x14], ecx
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
cmp eax, dword [esi + 0x1c]
je 0x4a0759
movdqu xmm0, xmmword [0x7a9568]
movdqa xmmword [esi + 0x150], xmm0
movdqa xmmword [esi + 0x140], xmm0
movdqa xmmword [esi + 0x130], xmm0
movdqa xmmword [esi + 0x120], xmm0
mov byte [esi + 0x78], 0
mov eax, dword [esi + 0x10]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 0
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x228], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x228], 3
mov ecx, ebx
lea eax, [esi + 0x20]
push eax
call edi
mov dword [esi + 0x228], 4
lea ecx, [esi + 0x20]
call fcn.004af144
mov byte [esi + 0xd0], 3
mov dword [esi + 0xd8], eax
sub esp, 0x78
movaps xmm0, xmmword [esi + 0x150]
movups xmmword [esp + 0x68], xmm0
movaps xmm0, xmmword [esi + 0x140]
movups xmmword [esp + 0x58], xmm0
movaps xmm0, xmmword [esi + 0x130]
movups xmmword [esp + 0x48], xmm0
movaps xmm0, xmmword [esi + 0x120]
movups xmmword [esp + 0x38], xmm0
movups xmm0, xmmword [esi + 0x78]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0xd0]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str._s_ClearOldVersions_delete_version__u
mov dword [esp + 0x10], str.XPluginBase
mov dword [esp + 0xc], str.ClearOldVersions
mov dword [esp + 8], 0x35e
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_BasePlugin.cpp
mov dword [esp], 2
call fcn.004ee380
add esp, 0x78
lea ecx, [esi + 0x20]
call fcn.004aeec0
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
mov dword [esi + 0x228], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x228], 3
mov ecx, ebx
call edi
push 1
push 9
push eax
call fcn.00506400
add esp, 0xc
mov ecx, dword [esi + 0xc]
push 1
push dword [esi + 0x10]
call fcn.00494100
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x4a0770
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4a0763
jmp 0x4a05e5
mov eax, dword [edx + 8]
cmp dword [eax], edx
je 0x4a05e5
add edx, 8
mov ecx, dword [edx]
lea edx, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x4a077e
jmp 0x4a05e5
lea ecx, [esi + 0x40]
call fcn.004a80fe
lea ecx, [esi + 0x54]
push dword [ecx + 4]
call fcn.0040f000
lea ecx, [esi + 0x60]
call fcn.004aeec0
mov eax, dword [esi + 0x220]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret