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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014f2c6
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x1018d0d0]
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.1011a400
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 0x10167b30
push str.SoftwareKingsoftKBROWSER
push closesocket
call esi
cmp word [ebp - 0x218], 0
jne 0x10107c81
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 0x10167b30
push str.SOFTWAREliebao
push closesocket
call esi
cmp word [ebp - 0x218], 0
jne 0x10107c81
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 0x10167b30
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push closesocket
call esi
cmp word [ebp - 0x218], 0
je 0x10107b0e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10107ad4
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x10167b30
push str.SOFTWAREliebao
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x10107c81
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 closesocket
call esi
cmp word [ebp - 0x218], 0
jne 0x10107c05
lea eax, [ebp - 0x2a0]
push eax
call fcn.101068e0
add esp, 4
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 4], 0
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x10107b96
push esi
lea ecx, [ebp - 0x2a0]
call fcn.10046890
mov eax, dword [ebp - 0x2a0]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1011d3b9
mov eax, dword [ebp - 0x2a0]
push dword [eax - 8]
push eax
call fcn.1011c7dd
mov edx, eax
add esp, 0x14
test edx, edx
js 0x10107cb7
mov ecx, dword [ebp - 0x2a0]
cmp edx, dword [ecx - 8]
jg 0x10107cb7
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 0x10107c05
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 0x10107c10
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 0x10167b30
push str.SOFTWAREliebao
push closesocket
call esi
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10107c50
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x10167b30
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push closesocket
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.10048c20
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 1
cmp byte [edx], 0
jne 0x10107cc1
xor ecx, ecx
jmp 0x10107ccf
push 0x80070057
call fcn.1003dd50
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107cc6
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.10002130
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x10107cf8
push eax
call fcn.1011bc41
add esp, 4
cmp dword [edi + 0x10], 0
jne 0x10107d0c
push 1
push 0x10179490
mov ecx, edi
call fcn.10002130
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.1011a3e5
mov esp, ebp
pop ebp
ret