Function at 0x4b6040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3fa6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x63434c]
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.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b63d3
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 0x4b6183
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 0x4b60f9
cmp eax, 2
jne 0x4b6183
lea ecx, [ebp - 0x10]
call fcn.00429bc0
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4b63e7
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 0x4b612f
push edx
lea ecx, [ebp - 0x10]
call fcn.00429e50
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 0x4b6183
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test ebx, ebx
jne 0x4b615d
xor eax, eax
jmp 0x4b6171
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x4b63e7
cmp eax, dword [esi - 8]
jg 0x4b63e7
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.004ae260
push ecx
lea eax, [ebx - 0x10]
mov edi, esp
push eax
mov dword [ebp - 0x24], edi
call fcn.00429b20
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004b7e40
add esp, 8
mov byte [ebp - 4], 5
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b63dd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, 0x5bd8c0
mov byte [ebp - 4], 6
shr eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4b6214
mov eax, 0x5bd8c0
movzx edi, ax
push edi
call fcn.00429d30
jmp 0x4b6228
push 1
push 0x5bd8c0
call fcn.0042a000
mov eax, 0x5bd8c0
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.004b7720
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 0x4b6267
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 0x4b627e
push 1
push 0x5bd8c0
call fcn.00429970
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4b63f1
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 0x4b62ad
push edi
call fcn.00429d30
jmp 0x4b62b9
push 1
push 0x5bd8c0
call fcn.0042a000
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.004b7720
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.00429970
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b62fd
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 0x4b6317
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.004296c0
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x4b639b
mov eax, dword [ebp - 0x2c]
cmp edi, eax
je 0x4b6356
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 0x4b6349
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, esi
jne 0x4b6330
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 0x4b637c
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b63fb
push ecx
push edi
call fcn.00558004
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 0x4b63b0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4b63be
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.00429b00
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
push 0x80004005
call fcn.00429b00
call fcn.00566a14
int3