Function at 0x4ec970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3b80
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x61ce74]
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 esi, ecx
mov eax, dword [0x62a91c]
test al, 1
jne 0x4eca5b
or eax, 1
mov dword [0x62a91c], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00540d70
add esp, 0xc
mov dword [ebp - 0x2cc], 0x208
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.InfoHD
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [0x62a914], 0
mov dword [0x62a918], 7
test eax, eax
je 0x4eca23
xor eax, eax
mov word [0x62a904], ax
jmp 0x4eca47
mov eax, dword [ebp - 0x2cc]
xor ecx, ecx
shr eax, 1
dec eax
mov word [0x62a904], cx
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x62a904
push eax
call fcn.00439df0
push 0x5ae360
call fcn.0053d46e
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x62a914], 0
jne 0x4ece4d
mov eax, dword [esi]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_b802c7e43e5a8ef2c833f538d18cbdec___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_b802c7e43e5a8ef2c833f538d18cbdec___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______.0
mov dword [ebp - 0x27c], eax
push eax
push 0x62a900
mov dword [ebp - 4], 1
call fcn.004eb0e0
mov ecx, dword [ebp - 0x27c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4ecaca
mov edx, dword [ecx]
lea eax, [ebp - 0x2a0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x27c], 0
push dword [0x62a900]
lea eax, [ebp - 0x278]
push eax
call fcn.004ef5e0
mov edi, eax
mov eax, dword [esi]
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x2c8]
mov dword [ebp - 4], 2
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_0f5a6a7f8a9d9f26abea491b43823b32___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_0f5a6a7f8a9d9f26abea491b43823b32___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______.0
mov dword [ebp - 0x2a4], eax
push eax
push 0x62a8e0
mov byte [ebp - 4], 3
call fcn.004eb0e0
mov ecx, dword [ebp - 0x2a4]
add esp, 0x10
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4ecb41
mov edx, dword [ecx]
lea eax, [ebp - 0x2c8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2a4], 0
push dword [0x62a8e0]
lea eax, [ebp - 0x260]
push eax
call fcn.004ef5e0
add esp, 8
push 1
push 0x5cbe04
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00431830
mov ecx, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [ecx]
mov dword [ebp - 0x230], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x21c], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push edi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004eaf90
add esp, 0xc
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x4ecc1d
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ecc13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ece6e
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x4ecc76
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ecc6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ece6e
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x4ecccf
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4eccc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ece6e
push edx
push ecx
call fcn.0053d0af
add esp, 8
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x290]
mov dword [ebp - 0x268], 0
push eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
call fcn.004f0130
mov esi, eax
add esp, 0xc
cmp esi, 0x62a904
je 0x4ecdbf
mov ecx, dword [0x62a918]
cmp ecx, 8
jb 0x4ecd61
mov eax, dword [0x62a904]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4ecd57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ece6e
mov eax, edx
push ecx
push eax
call fcn.0053d0af
add esp, 8
mov dword [0x62a914], 0
xor eax, eax
mov word [0x62a904], ax
mov dword [0x62a918], 7
mov eax, dword [esi]
mov dword [0x62a904], eax
mov eax, dword [esi + 4]
mov dword [0x62a908], eax
mov eax, dword [esi + 8]
mov dword [0x62a90c], eax
mov eax, dword [esi + 0xc]
mov dword [0x62a910], eax
mov eax, dword [esi + 0x10]
mov dword [0x62a914], eax
mov eax, dword [esi + 0x14]
mov dword [0x62a918], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x290]
call fcn.00430d50
cmp dword [0x62a918], 8
mov ecx, 0x62a904
mov edx, dword [0x62a904]
mov edi, 0x62a904
mov eax, dword [0x62a914]
cmovae ecx, edx
mov ebx, 0x62a904
cmovae edi, edx
cmovae ebx, edx
lea eax, [ecx + eax*2]
mov esi, eax
cmp edi, esi
je 0x4ece17
sub ebx, edi
nop
movzx eax, word [edi]
push eax
call fcn.0055a9d6
mov word [ebx + edi], ax
add esp, 4
add edi, 2
cmp edi, esi
jne 0x4ece00
mov edx, dword [ebp - 0x234]
cmp edx, 0x10
jb 0x4ece4d
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ece43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ece73
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov eax, 0x62a904
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.0053d079
mov esp, ebp
pop ebp
ret
call fcn.0054b0c3
call fcn.0054b0c3
int3