Function at 0x4a1480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e781
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
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.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a1816
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 0x4a15b0
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 0x4a152e
cmp eax, 2
jne 0x4a15b0
lea ecx, [ebp - 0x10]
call fcn.00426010
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4a182a
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 0x4a1564
push edx
lea ecx, [ebp - 0x10]
call fcn.00426250
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 0x4a15b0
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.0054b2c2
add esp, 8
test eax, eax
js 0x4a182a
cmp eax, dword [esi - 8]
jg 0x4a182a
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.004992f0
push ecx
lea eax, [ebx - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0x24], edi
call fcn.00425f70
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004a29e0
add esp, 8
mov byte [ebp - 4], 4
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a1820
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, 0x5be62c
mov byte [ebp - 4], 5
shr eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4a1641
mov eax, 0x5be62c
movzx edi, ax
push edi
call fcn.00426130
jmp 0x4a1655
push 1
push 0x5be62c
call fcn.004263f0
mov eax, 0x5be62c
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.004a21b0
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 0x4a1694
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 0x4a16ab
push 1
push 0x5be62c
call fcn.00425dc0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a1834
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 0x4a16da
push edi
call fcn.00426130
jmp 0x4a16e6
push 1
push 0x5be62c
call fcn.004263f0
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.004a21b0
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.00425dc0
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 0x4a172e
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 0x4a174c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00425b80
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test edi, edi
je 0x4a17da
mov eax, dword [ebp - 0x2c]
cmp edi, eax
je 0x4a178e
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 0x4a1781
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, esi
jne 0x4a1768
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 0x4a17bb
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a183e
push ecx
push edi
call fcn.0053d0af
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 0x4a17f3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a1801
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.00425f50
push 0x80004005
call fcn.00425f50
push 0x80070057
call fcn.00425f50
push 0x80004005
call fcn.00425f50
call fcn.0054b0c3
int3