Function at 0x51d680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a590e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x62819c]
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 fs:[0x2c]
mov edx, dword [0x633954]
mov edx, dword [eax + edx*4]
mov eax, dword [0x633598]
cmp eax, dword [edx + 4]
jg 0x51dae6
cmp dword [0x633590], 0
jne 0x51dac5
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 0x63357c
mov dword [ebp - 4], 1
call fcn.0051b8f0
mov ecx, dword [ebp - 0x27c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x51d73f
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 [0x63357c]
lea eax, [ebp - 0x278]
push eax
call fcn.00520510
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 0x63355c
mov byte [ebp - 4], 3
call fcn.0051b8f0
mov ecx, dword [ebp - 0x2a4]
add esp, 0x10
mov byte [ebp - 4], 2
test ecx, ecx
je 0x51d7b6
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 [0x63355c]
lea eax, [ebp - 0x260]
push eax
call fcn.00520510
add esp, 8
push 1
push 0x5c153c
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00467e50
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.0049f860
add esp, 0xc
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x51d892
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51d888
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51dbb7
push edx
push ecx
call fcn.00546044
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 0x51d8eb
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51d8e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51dbb7
push edx
push ecx
call fcn.00546044
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 0x51d944
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51d93a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51dbb7
push edx
push ecx
call fcn.00546044
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.00521210
mov esi, eax
add esp, 0xc
cmp esi, 0x633580
je 0x51da34
mov ecx, dword [0x633594]
cmp ecx, 8
jb 0x51d9d6
mov eax, dword [0x633580]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x51d9cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51dbb7
mov eax, edx
push ecx
push eax
call fcn.00546044
add esp, 8
mov dword [0x633590], 0
xor eax, eax
mov word [0x633580], ax
mov dword [0x633594], 7
mov eax, dword [esi]
mov dword [0x633580], eax
mov eax, dword [esi + 4]
mov dword [0x633584], eax
mov eax, dword [esi + 8]
mov dword [0x633588], eax
mov eax, dword [esi + 0xc]
mov dword [0x63358c], eax
mov eax, dword [esi + 0x10]
mov dword [0x633590], eax
mov eax, dword [esi + 0x14]
mov dword [0x633594], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x290]
call fcn.0042a1f0
cmp dword [0x633594], 8
mov ecx, 0x633580
mov edx, dword [0x633580]
mov edi, 0x633580
mov eax, dword [0x633590]
cmovae ecx, edx
mov ebx, 0x633580
cmovae edi, edx
cmovae ebx, edx
lea eax, [ecx + eax*2]
mov esi, eax
cmp edi, esi
je 0x51da8b
sub ebx, edi
movzx eax, word [edi]
push eax
call fcn.00565f3f
mov word [ebx + edi], ax
add esp, 4
add edi, 2
cmp edi, esi
jne 0x51da74
mov edx, dword [ebp - 0x234]
cmp edx, 0x10
jb 0x51dac5
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51dabb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51dbbc
push edx
push ecx
call fcn.00546044
add esp, 8
mov eax, 0x633580
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.00545ec7
mov esp, ebp
pop ebp
ret
push 0x633598
call fcn.00546388
add esp, 4
cmp dword [0x633598], 0xffffffff
jne 0x51d6d0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0054b380
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 [0x633590], 0
mov dword [0x633594], 7
test eax, eax
je 0x51db6e
xor eax, eax
mov word [0x633580], ax
jmp 0x51db94
mov eax, dword [ebp - 0x2cc]
xor ecx, ecx
shr eax, 1
dec eax
mov word [0x633580], cx
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x633580
push eax
call fcn.0042daa0
jmp 0x51db94
push 0x5aa440
call fcn.0054669a
push 0x633598
mov dword [ebp - 4], 0xffffffff
call fcn.0054633e
add esp, 8
jmp 0x51d6d0
call fcn.00555394
call fcn.00555394
int3