Function at 0x48eb10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5800b8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5fb61c]
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, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ebx
xor edi, edi
mov edx, dword [str.SoftwareKingsoftOffice6.0CommonLocal]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [ebp - 0x30]
push ecx
push edx
push 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
call esi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], 4
cmp eax, ebx
je 0x48eba8
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x3c]
push ecx
push ebx
push str.UILanguage
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x48eb9a
cmp dword [ebp - 0x3c], 4
jne 0x48eb9a
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x48eba8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], ebx
cmp edi, ebx
jne 0x48ec08
mov eax, dword [str.SoftwareKingsoftOffice6.0CommonLocal]
lea edx, [ebp - 0x30]
push edx
push eax
push 0x80000002
mov dword [ebp - 0x30], ebx
call esi
mov eax, dword [ebp - 0x30]
mov esi, 4
mov dword [ebp - 0x38], esi
cmp eax, ebx
je 0x48ec05
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x3c]
push ecx
push ebx
push str.UILanguage
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x48ebf7
cmp dword [ebp - 0x3c], esi
jne 0x48ebf7
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x48ec05
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], ebx
mov edx, dword [0x5fcb00]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcb00
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x48ec76
lea ecx, [ebp - 0x2c]
push edi
push ecx
call fcn.004b3a50
add esp, 8
mov byte [ebp - 4], 2
mov edi, 8
cmp dword [ebp - 0x1c], ebx
je 0x48ec61
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x48ec4c
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x34]
push 0x5a11f0
push edx
call fcn.004237a0
mov esi, dword [ebp - 0x34]
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jb 0x48ec76
mov eax, dword [ebp - 0x2c]
push eax
call int.0042bfd0
add esp, 4
cmp dword [esi - 0xc], ebx
jne 0x48ed0b
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x48ec8d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [ebp - 0x30]
push ecx
push str.SoftwareKingsoftOffice
push 0x80000001
mov dword [ebp - 0x30], ebx
call edi
lea edx, [ebp - 0x34]
push edx
push str.languages
lea ecx, [ebp - 0x30]
call fcn.00439630
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x48ecc5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
cmp dword [esi - 0xc], ebx
jne 0x48ed0b
lea eax, [ebp - 0x30]
push eax
push str.SoftwareKingsoftOffice
push 0x80000002
mov dword [ebp - 0x30], ebx
call edi
lea ecx, [ebp - 0x34]
push ecx
push str.languages
lea ecx, [ebp - 0x30]
call fcn.00439630
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x48ed02
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
cmp dword [esi - 0xc], ebx
jl 0x48ed53
push 0x5a0f94
push esi
call fcn.0053708a
add esp, 8
cmp eax, ebx
je 0x48ed53
sub eax, esi
sar eax, 1
js 0x48ed53
mov edi, dword [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.00423280
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48ed83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48ed83
add esi, 0xfffffff0
push esi
call fcn.00421e00
mov edi, dword [ebp - 0x40]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ed83
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x48ed91
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.005332ca
mov esp, ebp
pop ebp
ret