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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dff1
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2e8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
call fcn.004133c0
push 0x208
lea eax, [ebp - 0x2a0]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x304], 0x208
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0
push str.InfoCurHardInfo
push str.SoftwareKingsoftOffice6.0Commonkhdinfo
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
test eax, eax
je 0x4c650b
xor eax, eax
mov word [ebp - 0x2b8], ax
jmp 0x4c6530
mov eax, dword [ebp - 0x304]
xor ecx, ecx
shr eax, 1
dec eax
mov word [ebp - 0x2b8], cx
push eax
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00403a70
push 0x42
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x42
lea eax, [ebp - 0x98]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x4c655c
mov esi, dword [esi]
push 0
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.004ecd00
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x4c6573
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x98]
push eax
push edi
call fcn.004ecd00
add esp, 0xc
mov dword [ebp - 0x2d0], 0
xor eax, eax
mov dword [ebp - 0x2c0], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c65b2
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00403a70
push 1
push 0x521690
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 2
call fcn.004038f0
lea ecx, [ebp - 0x98]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c65f0
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.004038f0
push 1
push 0x521690
lea ecx, [ebp - 0x2e8]
call fcn.004038f0
mov esi, eax
lea eax, [ebp - 0x300]
push eax
call fcn.004c51b0
add esp, 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 3
jb 0x4c6644
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.004038f0
mov edx, dword [ebp - 0x2ec]
cmp edx, 8
jb 0x4c668f
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c6685
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c6685
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0x2a4], 8
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x2b8]
cmovae eax, dword [ebp - 0x2b8]
push eax
push 1
push str.InfoLastHardInfo
push str.SoftwareKingsoftOffice6.0Commonkhdinfo
push 0x80000001
call esi
mov eax, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2bc], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2d0]
push eax
push 1
push str.InfoCurHardInfo
push str.SoftwareKingsoftOffice6.0Commonkhdinfo
push 0x80000001
call esi
mov eax, dword [ebp - 0x2d8]
cmp dword [ebp - 0x2d4], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x2e8]
cmovae eax, dword [ebp - 0x2e8]
push eax
push 1
push str.InfoHDModifiedType
push str.SoftwareKingsoftOffice6.0Commonkhdinfo
push 0x80000001
call esi
mov edx, dword [ebp - 0x2bc]
cmp edx, 8
jb 0x4c6777
mov ecx, dword [ebp - 0x2d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c676d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c681f
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x2a4]
xor eax, eax
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 7
mov word [ebp - 0x2d0], ax
cmp edx, 8
jb 0x4c67d0
mov ecx, dword [ebp - 0x2b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c67c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c681f
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x2d4]
xor eax, eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
cmp edx, 8
jb 0x4c682f
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c6825
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c6825
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
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.004c6f8b
mov esp, ebp
pop ebp
ret