Function at 0x4ac690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e861
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x62819c]
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 str.SOFTWAREKingsoftOffice6.0CommonBackup
push 0x80000001
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4aca26
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], 2
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4ac7c0
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 0x4ac73e
cmp eax, 2
jne 0x4ac7c0
lea ecx, [ebp - 0x10]
call fcn.00429490
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4aca3a
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 0x4ac774
push edx
lea ecx, [ebp - 0x10]
call fcn.004296d0
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 0x4ac7c0
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00555593
add esp, 8
test eax, eax
js 0x4aca3a
cmp eax, dword [esi - 8]
jg 0x4aca3a
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], 3
push eax
push str.AutoRevcoverFilePathHis
lea ecx, [ebp - 0x14]
call fcn.004a4450
push ecx
lea eax, [ebx - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0x24], edi
call fcn.004293f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae8c0
add esp, 8
mov byte [ebp - 4], 4
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4aca30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, 0x5b8b8c
mov byte [ebp - 4], 5
shr eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4ac851
mov eax, 0x5b8b8c
movzx edi, ax
push edi
call fcn.004295b0
jmp 0x4ac865
push 1
push 0x5b8b8c
call fcn.00429870
mov eax, 0x5b8b8c
movzx edi, ax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.004ae1d0
add esp, 0xc
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
mov dword [ebp - 0x20], 1
add edx, 0xfffffff0
mov byte [ebp - 4], 4
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ac8a4
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 0x4ac8bb
push 1
push 0x5b8b8c
call fcn.00429240
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4aca44
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], 7
jne 0x4ac8ea
push edi
call fcn.004295b0
jmp 0x4ac8f6
push 1
push 0x5b8b8c
call fcn.00429870
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004ae1d0
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 9
push dword [eax - 0xc]
push eax
call fcn.00429240
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ac93e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ac95c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00429000
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test edi, edi
je 0x4ac9ea
mov eax, dword [ebp - 0x2c]
cmp edi, eax
je 0x4ac99e
mov esi, eax
mov edx, dword [edi]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ac991
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, esi
jne 0x4ac978
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
sub eax, edi
sar eax, 2
lea ecx, [eax*4]
mov eax, edi
cmp ecx, 0x1000
jb 0x4ac9cb
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aca4e
push ecx
push edi
call fcn.00546044
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4aca03
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4aca11
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.004293d0
push 0x80004005
call fcn.004293d0
push 0x80070057
call fcn.004293d0
push 0x80004005
call fcn.004293d0
call fcn.00555394
int3