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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x671398
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x718924]
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 dword [ebp - 0x280], eax
xor edi, edi
mov dword [ebp - 0x290], eax
mov ebx, 7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], eax
xor eax, eax
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
cmp byte [ebp + 0x14], al
je 0x4c3ff5
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e30c0
add esp, 0xc
mov dword [ebp - 0x284], 0x208
lea eax, [ebp - 0x284]
or esi, 2
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push str.InfoHD2
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4c3f34
xor eax, eax
mov word [ebp - 0x248], ax
jmp 0x4c3f79
mov eax, dword [ebp - 0x284]
xor ecx, ecx
shr eax, 1
dec eax
mov word [ebp - 0x248], cx
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], 0
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
call fcn.0044e920
mov ebx, dword [ebp - 0x234]
mov edi, dword [ebp - 0x238]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4c3fb9
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c3faf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c4346
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x279], 1
test edi, edi
jne 0x4c4285
mov ebx, dword [ebp - 0x28c]
lea ecx, [ebp - 0x260]
or esi, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], 0xf
mov eax, dword [ebx + 0x10]
inc eax
mov byte [ebp - 0x260], 0
push eax
mov dword [ebp - 0x288], esi
call fcn.00494640
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x4c4048
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x260]
push eax
call fcn.0045d5f0
push 1
push 0x676e14
lea ecx, [ebp - 0x260]
call fcn.0045d5f0
mov eax, dword [ebp - 0x280]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4c4079
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x260]
call fcn.0045d5f0
mov ecx, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
or esi, 8
mov dword [ebp - 0x288], esi
mov eax, dword [ecx]
mov dword [ebp - 0x248], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x244], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x240], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x23c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x234], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
push 0
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 2
push eax
call fcn.004a2ea0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x4c41cc
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4c4167
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c415d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c4341
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x230], ax
mov dword [ebp - 0x21c], 7
mov eax, dword [esi]
mov dword [ebp - 0x230], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x278]
call fcn.00448fb0
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4c4215
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c420b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c4341
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4c426e
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c4264
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c4341
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edi, dword [ebp - 0x220]
mov byte [ebp - 0x279], 0
test edi, edi
je 0x4c42bb
mov ebx, dword [ebp - 0x21c]
cmp ebx, 8
lea eax, [edi*2 + 2]
push eax
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push ecx
push 1
push str.InfoHD3_C
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, dword [ebp - 0x28c]
push dword [ebp - 0x280]
push ebx
call fcn.004c4720
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x230]
add esp, 8
mov ecx, esi
push eax
call fcn.00451440
mov al, byte [ebp - 0x279]
mov edx, dword [ebp - 0x21c]
mov byte [esi + 0x18], al
cmp edx, 8
jb 0x4c4323
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c4319
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c4346
push edx
push ecx
call fcn.004cb4db
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.004cb998
mov esp, ebp
pop ebp
ret
call fcn.004e6589
call fcn.004e6589
int3