Function at 0x403380
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0xc]
push edi
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0common
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x2c], 1
call esi
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4033f9
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
push 0
push str.InstallRoot
push eax
call ebx
test eax, eax
je 0x4035d0
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice6.0common
push SysReAllocString
call esi
test eax, eax
jne 0x40343c
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x20]
push str.InstallRoot
push eax
call ebx
test eax, eax
je 0x4035e8
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice5.0common
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x40347f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x20]
push str.InstallRoot
push eax
call ebx
test eax, eax
je 0x4035e8
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice5.0common
push SysReAllocString
call esi
test eax, eax
jne 0x4034c2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x20]
push str.InstallRoot
push eax
call ebx
test eax, eax
je 0x4035e8
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice4.0common
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x403505
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x20]
push str.InstallRoot
push eax
call ebx
test eax, eax
je 0x4035e8
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice4.0common
push SysReAllocString
call esi
test eax, eax
jne 0x403548
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x20]
push str.InstallRoot
push eax
call ebx
test eax, eax
je 0x4035e8
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice7.0common
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x403587
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x20]
push str.InstallRoot
push eax
call ebx
test eax, eax
je 0x4035e8
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREKingsoftOffice7.0common
push SysReAllocString
call esi
test eax, eax
jne 0x4035fc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x20]
push str.InstallRoot
push eax
call ebx
test eax, eax
je 0x4035e8
mov ecx, dword [esp + 0x10]
push ecx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x10]
push edx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret