Function at 0x4b7240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f796
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x62819c]
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 0x4b7575
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.0042daa0
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 0x4b74f3
mov esi, dword [ebp - 0x46c]
test esi, esi
je 0x4b74f3
push 0x208
push eax
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x420]
push eax
call fcn.0054b380
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 0x4b737e
push 0x20
push str.BEE0D90A11F14E609C6B8FFD17FE3F24
lea ecx, [ebp - 0x438]
call fcn.0042daa0
push dword [ebp - 0x46c]
mov edi, dword [ebp - 0x424]
mov esi, dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4b74ff
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x468]
call fcn.0043e5b0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0054b380
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 0x4b7400
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x4b73fb
cmp ecx, 0x7d
je 0x4b73fb
cmp ecx, 0x2d
je 0x4b73fb
mov word [edx], cx
add edx, 2
add eax, 2
jmp 0x4b73d1
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 0x4b7426
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.0042daa0
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4b7488
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b747e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b75a0
push edx
push ecx
call fcn.00546044
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.0042a1f0
push dword [ebp - 0x46c]
mov ebx, dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4b74ff
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 0x4b7538
push dword [ebp - 0x428]
cmp edi, 8
mov eax, edx
cmovae eax, esi
push eax
call fcn.0042daa0
mov edi, dword [ebp - 0x424]
mov esi, dword [ebp - 0x438]
mov eax, dword [ebp - 0x470]
mov dword [ebp - 4], 0xffffffff
cmp edi, 8
jb 0x4b7575
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x4b7565
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b75a5
push edi
push esi
call fcn.00546044
mov eax, dword [ebp - 0x470]
add esp, 8
lea ecx, [eax + 0x60]
push ecx
mov ecx, ebx
call fcn.0043e510
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.00545ec7
mov esp, ebp
pop ebp
ret 4
call fcn.00555394
call fcn.00555394
int3