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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5666
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x52fe80]
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.004bf240
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 0x4fcc60
push str.SoftwareKingsoftKBROWSER
push reloc.WS2_32.dll_accept
call esi
cmp word [ebp - 0x218], 0
jne 0x4b6751
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 0x4fcc60
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp word [ebp - 0x218], 0
jne 0x4b6751
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 0x4fcc60
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push SysReAllocStringLen
call esi
cmp word [ebp - 0x218], 0
je 0x4b65de
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b65a4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x4fcc60
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x4b6751
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 0x4b66d5
lea eax, [ebp - 0x2a0]
push eax
call fcn.004b53b0
add esp, 4
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 4], 0
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x4b6666
push esi
lea ecx, [ebp - 0x2a0]
call fcn.004241f7
mov eax, dword [ebp - 0x2a0]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004c2652
mov eax, dword [ebp - 0x2a0]
push dword [eax - 8]
push eax
call fcn.004bf2d0
mov edx, eax
add esp, 0x14
test edx, edx
js 0x4b6787
mov ecx, dword [ebp - 0x2a0]
cmp edx, dword [ecx - 8]
jg 0x4b6787
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 0x4b66d5
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 0x4b66e0
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 0x4fcc60
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 0x4b6720
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x4fcc60
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.0042403f
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 1
cmp byte [edx], 0
jne 0x4b6791
xor ecx, ecx
jmp 0x4b679f
push 0x80070057
call fcn.004201ac
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6796
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.004038d0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x4b67c8
push eax
call fcn.004bbc6e
add esp, 4
cmp dword [edi + 0x10], 0
jne 0x4b67dc
push 1
push 0x50ff38
mov ecx, edi
call fcn.004038d0
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.004bc1bd
mov esp, ebp
pop ebp
ret