Function at 0x4c0fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a950b
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x639354]
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 0x4c12f5
push 0x20
xor eax, eax
mov dword [ebp - 0x438], 0
push str.BEE0D90A11F14E609C6B8FFD17FE3F24
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.0042e330
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 0x4c1273
mov esi, dword [ebp - 0x46c]
test esi, esi
je 0x4c1273
push 0x208
push eax
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x420]
push eax
call fcn.00560a80
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 0x4c10f8
push 0x20
push str.BEE0D90A11F14E609C6B8FFD17FE3F24
lea ecx, [ebp - 0x438]
call fcn.0042e330
push dword [ebp - 0x46c]
mov edi, dword [ebp - 0x424]
mov esi, dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4c127f
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x468]
call fcn.0043f5c0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00560a80
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
jmp 0x4c1150
cmp esi, 8
lea ecx, [ebp - 0x468]
cmovae ecx, edi
add ecx, ebx
cmp eax, ecx
je 0x4c117f
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x4c117a
cmp ecx, 0x7d
je 0x4c117a
cmp ecx, 0x2d
je 0x4c117a
mov word [edx], cx
add edx, 2
add eax, 2
jmp 0x4c1150
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x440], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x43c], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c11a6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.0042e330
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4c1208
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c11fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1320
push edx
push ecx
call fcn.0055c524
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.0042ab30
push dword [ebp - 0x46c]
mov ebx, dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4c127f
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 0x4c12b8
push dword [ebp - 0x428]
cmp edi, 8
mov eax, edx
cmovae eax, esi
push eax
call fcn.0042e330
mov edi, dword [ebp - 0x424]
mov esi, dword [ebp - 0x438]
mov eax, dword [ebp - 0x470]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x4c12f5
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x4c12e5
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1325
push edi
push esi
call fcn.0055c524
mov eax, dword [ebp - 0x470]
add esp, 8
lea ecx, [eax + 0x60]
push ecx
mov ecx, ebx
call fcn.0043f520
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.0055c3a9
mov esp, ebp
pop ebp
ret 4
call fcn.0056af64
call fcn.0056af64
int3