Function at 0x4c0500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x63434c]
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 0x4c0845
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.0042e2d0
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 0x4c07c3
mov esi, dword [ebp - 0x46c]
test esi, esi
je 0x4c07c3
push 0x208
push eax
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x420]
push eax
call fcn.0055c530
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 0x4c0648
push 0x20
push str.BEE0D90A11F14E609C6B8FFD17FE3F24
lea ecx, [ebp - 0x438]
call fcn.0042e2d0
push dword [ebp - 0x46c]
mov edi, dword [ebp - 0x424]
mov esi, dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4c07cf
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x468]
call fcn.0043fa80
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0055c530
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 0x4c06a0
cmp esi, 8
lea ecx, [ebp - 0x468]
cmovae ecx, edi
add ecx, ebx
cmp eax, ecx
je 0x4c06cf
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x4c06ca
cmp ecx, 0x7d
je 0x4c06ca
cmp ecx, 0x2d
je 0x4c06ca
mov word [edx], cx
add edx, 2
add eax, 2
jmp 0x4c06a0
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 0x4c06f6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.0042e2d0
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4c0758
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c074e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c0870
push edx
push ecx
call fcn.00558004
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.0042aad0
push dword [ebp - 0x46c]
mov ebx, dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4c07cf
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 0x4c0808
push dword [ebp - 0x428]
cmp edi, 8
mov eax, edx
cmovae eax, esi
push eax
call fcn.0042e2d0
mov edi, dword [ebp - 0x424]
mov esi, dword [ebp - 0x438]
mov eax, dword [ebp - 0x470]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x4c0845
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x4c0835
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c0875
push edi
push esi
call fcn.00558004
mov eax, dword [ebp - 0x470]
add esp, 8
lea ecx, [eax + 0x60]
push ecx
mov ecx, ebx
call fcn.0043f9e0
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.00557e89
mov esp, ebp
pop ebp
ret 4
call fcn.00566a14
call fcn.00566a14
int3