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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536b16
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x583d10]
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.004f2e30
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 0x539f78
push str.SoftwareKingsoftKBROWSER
push reloc.WS2_32.dll_accept
call esi
cmp word [ebp - 0x218], 0
jne 0x4e5331
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 0x539f78
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp word [ebp - 0x218], 0
jne 0x4e5331
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 0x539f78
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push SysReAllocString
call esi
cmp word [ebp - 0x218], 0
je 0x4e51be
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e5184
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x539f78
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x4e5331
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 0x4e52b5
lea eax, [ebp - 0x2a0]
push eax
call fcn.004e3f70
add esp, 4
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 4], 0
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x4e5246
push esi
lea ecx, [ebp - 0x2a0]
call fcn.0043a8e3
mov eax, dword [ebp - 0x2a0]
push esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004f8aa8
mov eax, dword [ebp - 0x2a0]
push dword [eax - 8]
push eax
call fcn.004f3085
mov edx, eax
add esp, 0x14
test edx, edx
js 0x4e5367
mov ecx, dword [ebp - 0x2a0]
cmp edx, dword [ecx - 8]
jg 0x4e5367
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 0x4e52b5
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 0x4e52c0
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 0x539f78
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 0x4e5300
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x539f78
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.0043a6f2
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 1
cmp byte [edx], 0
jne 0x4e5371
xor ecx, ecx
jmp 0x4e537f
push 0x80070057
call fcn.00436a8c
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e5376
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.00417e30
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x4e53a8
push eax
call fcn.004f1da0
add esp, 4
cmp dword [edi + 0x10], 0
jne 0x4e53bc
push 1
push 0x55b768
mov ecx, edi
call fcn.00417e30
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.004f225b
mov esp, ebp
pop ebp
ret