Function at 0x52d940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0c53
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 [0x643da0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x643a88]
cmp eax, dword [edx + 4]
jg 0x52dcaa
cmp dword [0x643a80], 0
jne 0x52dc8a
mov eax, dword [esi]
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x2f4]
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 - 0x2d0], eax
push eax
push 0x643a6c
mov dword [ebp - 4], 1
call fcn.0052bd90
mov ecx, dword [ebp - 0x2d0]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x52d9fd
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x2f4]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x2d0], 0
push dword [0x643a6c]
lea eax, [ebp - 0x2cc]
push eax
call fcn.005313d0
mov edi, eax
mov eax, dword [esi]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x284]
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 - 0x260], eax
push eax
push 0x643a64
mov byte [ebp - 4], 3
call fcn.0052bd90
mov ecx, dword [ebp - 0x260]
add esp, 0x10
mov byte [ebp - 4], 2
test ecx, ecx
je 0x52da73
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x284]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x260], 0
push dword [0x643a64]
lea eax, [ebp - 0x2b4]
push eax
call fcn.005313d0
add esp, 8
push 1
push 0x5cbbbc
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00449b90
mov ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x274], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x270], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x26c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x268], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x264], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x260], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push edi
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x29c]
call fcn.004abbd0
mov edx, dword [ebp - 0x260]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x52db3d
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52db33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52dd72
push edx
push ecx
call fcn.0055c524
add esp, 8
mov edx, dword [ebp - 0x2a0]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x52db7b
mov ecx, dword [ebp - 0x2b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52db71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52dd72
push edx
push ecx
call fcn.0055c524
add esp, 8
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
mov edx, dword [ebp - 0x2b8]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x52dbd4
mov ecx, dword [ebp - 0x2cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52dbca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52dd72
push edx
push ecx
call fcn.0055c524
add esp, 8
mov eax, 0x30
mov dword [ebp - 0x2bc], 0
push 0x40
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push 0
push eax
mov dword [ebp - 0x2b8], 0xf
mov byte [ebp - 0x2cc], 0
call fcn.00560a80
push dword [ebp - 0x28c]
cmp dword [ebp - 0x288], 0x10
lea ecx, [ebp - 0x54]
lea eax, [ebp - 0x29c]
cmovae eax, dword [ebp - 0x29c]
push ecx
push eax
call fcn.0052a350
lea ecx, [ebp - 0x54]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x52dc32
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
mov ecx, 0x643a70
call fcn.0042e330
mov edx, dword [ebp - 0x288]
cmp edx, 0x10
jb 0x52dc8a
mov ecx, dword [ebp - 0x29c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52dc80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52dd77
push edx
push ecx
call fcn.0055c524
add esp, 8
mov eax, 0x643a70
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x643a88
call fcn.0055c868
add esp, 4
cmp dword [0x643a88], 0xffffffff
jne 0x52d98f
push 0x208
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00560a80
add esp, 0xc
mov dword [ebp - 0x2f8], 0x208
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0
push str.InfoHD
push str.SoftwareKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [0x643a70], 0
mov dword [0x643a80], 0
mov dword [0x643a84], 7
test eax, eax
jne 0x52dd4f
mov eax, dword [ebp - 0x2f8]
mov ecx, 0x643a70
shr eax, 1
dec eax
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0042e330
jmp 0x52dd4f
push 0x5b58f0
call fcn.0055cb7a
push 0x643a88
mov dword [ebp - 4], 0xffffffff
call fcn.0055c81e
add esp, 8
jmp 0x52d98f
call fcn.0056af64
call fcn.0056af64
int3