Function at 0x4b6ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8576
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0CommonBackup
push 0x80000001
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 2
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b6e73
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
mov ebx, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4b6c23
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.OldAutoRecoverFilePath
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4b6b99
cmp eax, 2
jne 0x4b6c23
lea ecx, [ebp - 0x10]
call fcn.00429c20
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4b6e87
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4b6bcf
push edx
lea ecx, [ebp - 0x10]
call fcn.00429eb0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.OldAutoRecoverFilePath
push dword [ebp - 0x14]
call edi
mov ebx, esi
test eax, eax
jne 0x4b6c23
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test ebx, ebx
jne 0x4b6bfd
xor eax, eax
jmp 0x4b6c11
push dword [esi - 8]
push esi
call fcn.0056b163
add esp, 8
test eax, eax
js 0x4b6e87
cmp eax, dword [esi - 8]
jg 0x4b6e87
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
push str.AutoRevcoverFilePathHis
lea ecx, [ebp - 0x14]
call fcn.004aebd0
push ecx
lea eax, [ebx - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0x24], edi
call fcn.00429b80
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004b88e0
add esp, 8
mov byte [ebp - 4], 5
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b6e7d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, 0x5c2820
mov byte [ebp - 4], 6
shr eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4b6cb4
mov eax, 0x5c2820
movzx edi, ax
push edi
call fcn.00429d90
jmp 0x4b6cc8
push 1
push 0x5c2820
call fcn.0042a060
mov eax, 0x5c2820
movzx edi, ax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.004b81c0
add esp, 0xc
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
mov dword [ebp - 0x20], 1
add edx, 0xfffffff0
mov byte [ebp - 4], 5
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b6d07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x4b6d1e
push 1
push 0x5c2820
call fcn.004299d0
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b6e91
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
jne 0x4b6d4d
push edi
call fcn.00429d90
jmp 0x4b6d59
push 1
push 0x5c2820
call fcn.0042a060
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004b81c0
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0xa
push dword [eax - 0xc]
push eax
call fcn.004299d0
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b6d9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b6db7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00429720
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x4b6e3b
mov eax, dword [ebp - 0x2c]
cmp edi, eax
je 0x4b6df6
mov esi, eax
nop
mov edx, dword [edi]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b6de9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, esi
jne 0x4b6dd0
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4b6e1c
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6e9b
push ecx
push edi
call fcn.0055c524
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4b6e50
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4b6e5e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80070057
call fcn.00429b60
push 0x80004005
call fcn.00429b60
call fcn.0056af64
int3