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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x70]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x506230
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
push 1
call fcn.004aef38
test al, al
jne 0x502335
mov edi, dword [ebp + 0xc]
mov ecx, edi
push 1
call fcn.004aef38
test al, al
je 0x5023a2
sub esp, 0x78
movdqu xmm0, xmmword [0x7a9568]
movdqu xmmword [esp + 0x68], xmm0
movdqu xmmword [esp + 0x58], xmm0
movdqu xmmword [esp + 0x48], xmm0
movdqu xmmword [esp + 0x38], xmm0
movdqu xmmword [esp + 0x28], xmm0
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.AddToList_failed__module_or_value_invalid
mov dword [esp + 0x10], str.XPluginCommandMgr
mov dword [esp + 0xc], str.AddToList
mov dword [esp + 8], 0x7e
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_CommandMgr.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
xor ebx, ebx
jmp 0x502601
xor eax, eax
dec eax
lea ebx, [esi + 0x50]
mov dword [ebx + 0x10], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx], xmm0
mov ecx, ebx
push eax
push 0x7439b2
call fcn.004aea40
xor eax, eax
lea ecx, [esi + 0x30]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x78], eax
push ecx
push ebx
push edi
call fcn.004eff70
add esp, 0xc
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
cmp eax, ecx
je 0x502582
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 0x10]
push dword [ebp + 8]
push eax
call fcn.00407ce2
lea edx, [esi + 0x10]
mov eax, dword [ebp + 0x10]
add eax, 4
cmp dword [esi + 0x10], eax
jne 0x502466
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea eax, [esi + 0x44]
mov ebx, dword [ebp + 8]
mov dword [eax], ebx
mov dword [esi + 0x78], 3
lea edx, [esi + 0xc]
lea edi, [esi + 0x48]
mov ecx, dword [ebp + 0x10]
push edx
push eax
push 0x743f60
push ebx
push edi
call fcn.00505cd0
mov edi, dword [esi + 0x48]
lea ecx, [edi + 0x24]
call fcn.00505e4c
xor eax, eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
lea ecx, [esi + 0x10]
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
call fcn.004a80fe
lea edx, [esi + 0x10]
xor ecx, ecx
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
sar eax, 2
imul eax, eax, 0xcccccccd
mov dword [esi + 8], ecx
cmp ecx, eax
jae 0x5025e8
mov eax, dword [ebp + 8]
mov dword [esi + 0x48], eax
mov dword [esi + 0x78], 0
mov ecx, dword [ebp + 0x10]
lea edi, [esi + 0x44]
push edi
lea edi, [esi + 0x48]
push edi
push 0x743f60
push eax
push edx
call fcn.00505cd0
lea ecx, [esi + 0x10]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
sub edx, eax
sar edx, 2
imul edx, edx, 0xcccccccd
mov edi, dword [esi + 8]
cmp edx, edi
jbe 0x502614
mov ebx, dword [esi + 0x10]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebx + 0x28]
cmp edx, dword [ebx + 0x2c]
je 0x5024fa
mov dword [esi + 4], ebx
mov dword [esi + 0x78], 2
mov dword [esi], edx
mov ecx, edx
push eax
call fcn.004aeac0
mov ecx, dword [esi]
add ecx, 0x14
mov eax, dword [esi + 4]
mov dword [eax + 0x28], ecx
lea edx, [esi + 0x10]
jmp 0x502579
mov dword [esi + 4], eax
lea eax, [ebx + 0x24]
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0xffffffff
mov dword [esi], eax
sub edx, dword [eax]
sar edx, 2
imul eax, edx, 0xcccccccd
lea edi, [eax + 1]
cmp edi, 0xccccccd
jae 0x50261c
add ebx, 0x30
lea edx, [eax + eax]
cmp edx, edi
cmovb edx, edi
cmp eax, 0x6666666
mov edi, 0xccccccc
cmovae edx, edi
push ebx
push eax
push edx
call fcn.00501b5e
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x78], 1
push dword [esi + 4]
call fcn.004aeac0
add dword [esi + 0x18], 0x14
mov ecx, dword [esi]
lea eax, [esi + 0x10]
push eax
call fcn.00501bc4
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.00501c2a
mov edx, edi
mov ecx, dword [esi + 8]
inc ecx
jmp 0x502468
sub esp, 0x78
movdqu xmm0, xmmword [0x7a9568]
movdqu xmmword [esp + 0x68], xmm0
movdqu xmmword [esp + 0x58], xmm0
movdqu xmmword [esp + 0x48], xmm0
movdqu xmmword [esp + 0x38], xmm0
movdqu xmmword [esp + 0x28], xmm0
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.AddToList_failed__no_suffix
mov dword [esp + 0x10], str.XPluginCommandMgr
mov dword [esp + 0xc], str.AddToList
mov dword [esp + 8], 0x86
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_CommandMgr.cpp
mov dword [esp], 4
call fcn.004ee380
add esp, 0x78
mov eax, dword [esi + 0x3c]
cmp dword [esi + 0x40], eax
setne bl
lea ecx, [esi + 0x30]
call fcn.004a80fe
lea ecx, [esi + 0x50]
call fcn.004aeec0
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + 0x30]
call fcn.00456e2a
mov ecx, dword [esi]
call fcn.00456e1c
nop
push ebp
sub esp, 0x78
lea esi, [ebp - 0x7c]
mov ebp, dword [esi + 0x68]
lea ecx, [esi + 0x30]
call fcn.004a80fe
lea ecx, [esi + 0x50]
call fcn.004aeec0
add esp, 0x78
pop ebp
ret