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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7246
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4d3a00]
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.00482250
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 0x4b995c
push str.SoftwareKingsoftKBROWSER
push reloc.WS2_32.dll_accept
call esi
cmp word [ebp - 0x218], 0
jne 0x46d201
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 0x4b995c
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp word [ebp - 0x218], 0
jne 0x46d201
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 0x4b995c
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push SysReAllocString
call esi
cmp word [ebp - 0x218], 0
je 0x46d08e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d054
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x4b995c
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x46d201
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 SysReAllocString
call esi
cmp word [ebp - 0x218], 0
jne 0x46d185
lea eax, [ebp - 0x2a0]
push eax
call fcn.0046be40
add esp, 4
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 4], 0
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x46d116
push esi
lea ecx, [ebp - 0x2a0]
call fcn.0041230c
mov eax, dword [ebp - 0x2a0]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00482357
mov eax, dword [ebp - 0x2a0]
push dword [eax - 8]
push eax
call fcn.0047c94a
mov edx, eax
add esp, 0x14
test edx, edx
js 0x46d237
mov ecx, dword [ebp - 0x2a0]
cmp edx, dword [ecx - 8]
jg 0x46d237
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 0x46d185
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 0x46d190
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 0x4b995c
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 0x46d1d0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x4b995c
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push SysReAllocString
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.00455a9a
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 1
cmp byte [edx], 0
jne 0x46d241
xor ecx, ecx
jmp 0x46d24f
push 0x80070057
call fcn.004046a6
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d246
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.004015b6
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x46d278
push eax
call fcn.0047b62c
add esp, 4
cmp dword [edi + 0x10], 0
jne 0x46d28c
push 1
push 0x4b8fbc
mov ecx, edi
call fcn.004015b6
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.0047aabf
mov esp, ebp
pop ebp
ret