Function at 0x46c520
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498016
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x216]
push 0x206
push 0
push eax
call fcn.00470210
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2a4], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2a8], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a4]
push eax
push 0x49d36c
push str.SoftwareKingsoftKBROWSER
push SysReAllocStringLen
call esi
cmp word [ebp - 0x218], 0
jne 0x46c811
xor eax, eax
mov dword [ebp - 0x2a4], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2a8], 0x208
push eax
lea eax, [ebp - 0x2a4]
push eax
push 0x49d36c
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp word [ebp - 0x218], 0
jne 0x46c811
xor eax, eax
mov dword [ebp - 0x2a4], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2a8], 0x208
push eax
lea eax, [ebp - 0x2a4]
push eax
push 0x49d36c
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push SysReAllocStringLen
call esi
cmp word [ebp - 0x218], 0
je 0x46c69e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c664
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x49d36c
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x46c811
xor eax, eax
mov dword [ebp - 0x2a4], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2a8], 0x208
push eax
lea eax, [ebp - 0x2a4]
push eax
push str.idex
push str.CLSID9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0Implemented_CategoriesA5F7140E_4311_4ef9_AABC_F55941B5EBE5
push SysReAllocStringLen
call esi
cmp word [ebp - 0x218], 0
jne 0x46c795
lea eax, [ebp - 0x2a0]
push eax
call fcn.0046b470
add esp, 4
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 4], 0
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x46c726
push esi
lea ecx, [ebp - 0x2a0]
call fcn.00459dcd
mov eax, dword [ebp - 0x2a0]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004776ef
mov eax, dword [ebp - 0x2a0]
push dword [eax - 8]
push eax
call fcn.00472e34
mov edx, eax
add esp, 0x14
test edx, edx
js 0x46c847
mov ecx, dword [ebp - 0x2a0]
cmp edx, dword [ecx - 8]
jg 0x46c847
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 4], 0xffffffff
mov word [eax + edx*2], cx
or ecx, 0xffffffff
mov edx, dword [ebp - 0x2a0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46c795
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c7a0
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x49d36c
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c7e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x49d36c
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push SysReAllocStringLen
call esi
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.00463110
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 1
cmp byte [edx], 0
jne 0x46c851
xor ecx, ecx
jmp 0x46c85f
push 0x80070057
call fcn.0043a5c5
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c856
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.004024d0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x46c888
push eax
call fcn.0046edf3
add esp, 4
cmp dword [edi + 0x10], 0
jne 0x46c89c
push 1
push 0x4a8898
mov ecx, edi
call fcn.004024d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f685
mov esp, ebp
pop ebp
ret