Function at 0x4a95f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f1b6
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x470], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x474], ebx
cmp dword [eax + 0x70], 0
mov dword [ebp - 0x47c], ebx
jne 0x4a9925
push 0x20
xor eax, eax
mov dword [ebp - 0x428], 0
push str.BEE0D90A11F14E609C6B8FFD17FE3F24
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.00439df0
lea eax, [ebp - 0x46c]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0Common
push 0x80000001
mov dword [ebp - 0x46c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a98a3
mov esi, dword [ebp - 0x46c]
test esi, esi
je 0x4a98a3
push 0x208
push eax
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x420]
push eax
call fcn.00540d70
add esp, 0xc
mov dword [ebp - 0x478], 0x208
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x474]
push eax
push 0
push str.infoGUID
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a972e
push 0x20
push str.BEE0D90A11F14E609C6B8FFD17FE3F24
lea ecx, [ebp - 0x438]
call fcn.00439df0
push dword [ebp - 0x46c]
mov edi, dword [ebp - 0x424]
mov esi, dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a98af
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x468]
call fcn.004396f0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00540d70
mov ecx, dword [ebp - 0x458]
lea eax, [ebp - 0x468]
mov esi, dword [ebp - 0x454]
lea edx, [ebp - 0x218]
mov edi, dword [ebp - 0x468]
add esp, 0xc
cmp esi, 8
lea ebx, [ecx + ecx]
cmovae eax, edi
cmp esi, 8
lea ecx, [ebp - 0x468]
cmovae ecx, edi
add ecx, ebx
cmp eax, ecx
je 0x4a97b0
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x4a97ab
cmp ecx, 0x7d
je 0x4a97ab
cmp ecx, 0x2d
je 0x4a97ab
mov word [edx], cx
add edx, 2
add eax, 2
jmp 0x4a9781
xor eax, eax
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a97d6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.00439df0
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4a9838
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a982e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9950
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov eax, dword [ebp - 0x44c]
lea ecx, [ebp - 0x468]
mov esi, dword [ebp - 0x450]
mov edi, dword [ebp - 0x43c]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], 0
call fcn.00430d50
push dword [ebp - 0x46c]
mov ebx, dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a98af
mov edi, dword [ebp - 0x424]
mov esi, dword [ebp - 0x438]
mov eax, dword [ebp - 0x470]
lea edx, [ebp - 0x438]
lea ecx, [eax + 0x60]
cmp ecx, edx
je 0x4a98e8
push dword [ebp - 0x428]
cmp edi, 8
mov eax, edx
cmovae eax, esi
push eax
call fcn.00439df0
mov edi, dword [ebp - 0x424]
mov esi, dword [ebp - 0x438]
mov eax, dword [ebp - 0x470]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x4a9925
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x4a9915
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9955
push edi
push esi
call fcn.0053d0af
mov eax, dword [ebp - 0x470]
add esp, 8
lea ecx, [eax + 0x60]
push ecx
mov ecx, ebx
call fcn.00439650
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret 4
call fcn.0054b0c3
call fcn.0054b0c3
int3