Function at 0x486ad0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a746
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x42c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x440], eax
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x579564
mov dword [ebp - 0x454], eax
call fcn.00492250
add esp, 4
mov dword [ebp - 0x438], 6
call fcn.004975c0
test eax, eax
je 0x486b62
push 3
call fcn.004977e0
add esp, 4
test eax, eax
jne 0x486b62
mov dword [ebp - 0x43c], 1
mov dword [ebp - 0x438], 3
jmp 0x486b6c
mov dword [ebp - 0x43c], 0
xor esi, esi
nop
push str.Pop.dll
push dword [esi*8 + 0x5c4a38]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x486cbc
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x434]
push eax
push 0x201
push 0
push str.SOFTWARELudashi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x434], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x486cab
mov edi, dword [ebp - 0x434]
push 0x20a
mov dword [ebp - 0x44c], eax
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x450], edi
push eax
mov dword [ebp - 0x44c], 0x200
call fcn.004f39e0
add esp, 0xc
mov dword [ebp - 0x430], 0x208
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x444]
push eax
push 0
push str.Type
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x486c63
mov eax, dword [ebp - 0x444]
cmp eax, 1
je 0x486c51
cmp eax, 2
jne 0x486c63
cmp dword [ebp - 0x430], 0
jne 0x486c63
xor eax, eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x424]
push eax
call fcn.0051271e
add esp, 4
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x486c90
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
cmp ebx, 1
je 0x486d9f
mov ebx, dword [ebp - 0x42c]
jmp 0x486cbc
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44c], 0
mov eax, dword [esi*8 + 0x5c4a38]
test eax, eax
je 0x486d9f
push eax
push str._Load_plugin_item:__s
call fcn.00492250
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f39e0
add esp, 0x14
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi*8 + 0x5c4a38]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486d9f
lea eax, [ebp - 0x218]
push eax
call fcn.004cf4a0
add esp, 4
test eax, eax
je 0x486d9f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x486d9f
push dword [esi*8 + 0x5c4a3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x486d9f
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], 0
push ecx
push 1
call eax
mov dword [ebp - 0x430], eax
test eax, eax
je 0x486d9f
push dword [ebx + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebx + 4]
call fcn.00486380
mov ebx, dword [ebp - 0x42c]
inc esi
cmp esi, dword [ebp - 0x438]
jl 0x486b70
cmp dword [ebp - 0x43c], 0
je 0x486dd5
push str._zhushou__band::exist_flag:_zhoushou_and_inst_hours_less_than_72
call fcn.00492250
mov edi, ebx
add esp, 4
mov ebx, dword [ebp - 0x440]
jmp 0x486ee4
push str.Load_plugin_band
call fcn.00492250
push 0x40
call fcn.004d9f7d
add esp, 8
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x486e05
mov ecx, eax
call fcn.004842e0
mov esi, eax
jmp 0x486e07
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov ebx, dword [ebp - 0x440]
push ebx
push esi
call dword [eax + 0xc]
mov edi, dword [ebp - 0x42c]
mov dword [ebp - 0x428], esi
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
cmp eax, ecx
je 0x486e40
cmp dword [eax], esi
je 0x486e3c
add eax, 4
cmp eax, ecx
jne 0x486e31
cmp eax, ecx
jne 0x486e5d
cmp dword [edi + 0xc], ecx
je 0x486e4d
mov dword [ecx], esi
add dword [edi + 8], 4
jmp 0x486e5d
lea eax, [ebp - 0x428]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.00485d80
push 0
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x428], esp
mov dword [ebp - 0x444], eax
mov dword [eax + 0x24], 0
mov dword [ebp - 4], 2
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CPluginMgr__AEXXZPAV3__std__XPAX_std__.0
mov dword [eax + 8], 0x487eb0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], edi
mov dword [eax + 0x24], eax
mov dword [ebp - 4], 3
mov eax, dword [0x5cc5e4]
test al, 1
jne 0x486ed1
or eax, 1
mov dword [0x5cc5e4], eax
mov byte [ebp - 4], 4
mov ecx, 0x5cc5b4
call fcn.00453150
push 0x568f40
call fcn.004da3a8
add esp, 4
mov byte [ebp - 4], 3
push 1
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x5cc5b4
call fcn.00453a90
push str.Load_plugin_PowerSave
call fcn.00492250
push 0xc0
call fcn.004d9f7d
add esp, 8
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x486f17
mov ecx, eax
call fcn.00489da0
mov esi, eax
jmp 0x486f19
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0xc]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
mov dword [ebp - 0x428], esi
cmp eax, ecx
je 0x486f46
cmp dword [eax], esi
je 0x486f42
add eax, 4
cmp eax, ecx
jne 0x486f37
cmp eax, ecx
jne 0x486f63
cmp dword [edi + 0xc], ecx
je 0x486f53
mov dword [ecx], esi
add dword [edi + 8], 4
jmp 0x486f63
lea eax, [ebp - 0x428]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.00485d80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x454]
push eax
push str.Load_all_plugin_end__d_
call fcn.00492250
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret 4