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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50df96
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov edi, 7
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2b4], eax
xor eax, eax
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x278], edi
mov word [ebp - 0x28c], ax
mov dword [ebp - 4], eax
cmp byte [ebp + 0x14], al
je 0x4c612e
push 0x208
push eax
lea eax, [ebp - 0x25c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2ac], 0x208
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
push str.InfoHD2
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4c6060
mov dword [ebp - 0x2ac], esi
jmp 0x4c60b2
mov eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x274]
shr eax, 1
dec eax
mov dword [ebp - 0x274], 0
push eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x264], 0
push eax
mov dword [ebp - 0x260], 7
call fcn.00403a70
mov eax, dword [ebp - 0x274]
mov edi, dword [ebp - 0x260]
mov esi, dword [ebp - 0x264]
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x278]
cmp edx, 8
jb 0x4c60f2
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c60e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c641a
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x278], edi
mov byte [ebp - 0x2a5], 1
test esi, esi
jne 0x4c638c
push 0x42
lea eax, [ebp - 0x54]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x2b0]
mov eax, 0x7fffffff
add esp, 0xc
mov ebx, dword [ecx + 0x10]
sub eax, ebx
cmp eax, 1
jb 0x4c6448
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x2ac], ecx
jb 0x4c6179
mov eax, dword [ecx]
mov dword [ebp - 0x2ac], eax
lea eax, [ebx + 1]
mov dword [ebp - 0x274], 0
mov esi, 0xf
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
lea edi, [ebp - 0x274]
cmp eax, esi
jbe 0x4c61e1
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4c61bd
mov esi, 0x7fffffff
jmp 0x4c61c7
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x274]
call fcn.0041a4f0
mov edi, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x274], edi
push ebx
push dword [ebp - 0x2ac]
mov dword [ebp - 0x264], eax
push edi
mov dword [ebp - 0x260], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [edi + ebx], 0x7c
mov eax, dword [ebp - 0x2b4]
mov ecx, eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4c6217
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00449740
mov ecx, eax
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov eax, dword [ecx]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x29c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x298], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x294], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x290], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
cmp dword [ebp - 0x290], 0x10
lea ecx, [ebp - 0x54]
push 0
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x2a4]
push ecx
push eax
call fcn.004ecd00
mov edx, dword [ebp - 0x290]
add esp, 0xc
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4c62ed
mov ecx, dword [ebp - 0x2a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c62e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c6338
push edx
push ecx
call fcn.004c6f6f
add esp, 8
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0xf
mov byte [ebp - 0x2a4], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4c6348
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c633e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c633e
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
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c6350
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28c]
call fcn.00403a70
mov esi, dword [ebp - 0x27c]
mov ebx, dword [ebp - 0x2b0]
mov byte [ebp - 0x2a5], 0
test esi, esi
je 0x4c63bc
mov edi, dword [ebp - 0x278]
cmp edi, 8
lea ecx, [esi*2 + 2]
push ecx
lea eax, [ebp - 0x28c]
cmovae eax, dword [ebp - 0x28c]
push eax
push 1
push str.InfoHD3_C
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x2b4]
push ebx
call fcn.004c6850
mov esi, dword [ebp - 0x2b8]
lea eax, [ebp - 0x28c]
add esp, 8
mov ecx, esi
push eax
call fcn.004133c0
mov al, byte [ebp - 0x2a5]
mov edx, dword [ebp - 0x278]
mov byte [esi + 0x18], al
cmp edx, 8
jb 0x4c642a
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c6420
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c6420
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, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret
call fcn.00403870
int3