Function at 0x40b9a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x428d47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [0x4346e4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push ebx
push str.SOFTWAREKingsaft
push 0x80000002
mov byte [esp + 0x158], 1
mov dword [esp + 0x28], ebx
call esi
cmp eax, ebx
jne 0x40ba10
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x18], edx
mov ebx, edx
test eax, eax
mov dword [esp + 0x24], eax
mov ebp, 0x100
jne 0x40ba6e
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], ebp
call fcn.0041f383
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
push 0
push 0x433a0c
push ebx
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.0041f3d2
test ebx, ebx
je 0x40ba6e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x18]
mov eax, dword [0x4346e4]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 2
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace
push 0x80000002
mov dword [esp + 0x3c], ebp
call esi
test eax, eax
jne 0x40bc10
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor ebx, ebx
xor esi, esi
test esi, esi
je 0x40babd
cmp esi, 0xea
jne 0x40bc01
lea edx, [esp + 0x30]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push 0
push 0
push 0
lea ecx, [esp + 0x48]
push eax
push ecx
push ebx
push edx
call ebp
mov esi, eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x14]
push 0x43297c
push ecx
mov dword [esp + 0x34], 0x104
call fcn.0041e4fe
add esp, 0xc
lea ecx, [esp + 0x10]
push str.1f4de370_d627_11d1_ba4f_00a0c91eedba
call fcn.0041e178
cmp eax, 0xffffffff
jne 0x40bbfb
push str.450D8FBA_AD25_11D0_98A8_0800361B1103
lea ecx, [esp + 0x14]
call fcn.0041e178
cmp eax, 0xffffffff
jne 0x40bbfb
push str.645FF040_5081_101B_9F08_00AA002F954E
lea ecx, [esp + 0x14]
call fcn.0041e178
cmp eax, 0xffffffff
jne 0x40bbfb
push str.e17d4fc0_5564_11d1_83f2_00a0c90dc849
lea ecx, [esp + 0x14]
call fcn.0041e178
cmp eax, 0xffffffff
jne 0x40bbfb
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
call fcn.0041e178
cmp eax, 0xffffffff
jne 0x40bbfb
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x30], esp
push ecx
push str.MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push eax
call fcn.0041f25c
lea ecx, [esp + 0x14]
call fcn.00408150
mov edx, dword [esp + 0x24]
push eax
push edx
mov ecx, edi
call fcn.0040bc60
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x30], esp
push ecx
push str.MACHINESOFTWAREClassesCLSID_
push eax
call fcn.0041f25c
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push str.SOFTWAREClassesCLSID_
push eax
mov byte [esp + 0x154], 3
call fcn.0041f25c
mov ecx, eax
mov byte [esp + 0x148], 5
call fcn.00408150
push eax
push 0x80000002
mov ecx, edi
call fcn.0040bc60
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 2
call fcn.0041ef53
inc ebx
jmp 0x40baad
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 1
call fcn.0041ef53
test ebx, ebx
je 0x40bc2c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x144], 0xffffffff
call fcn.0041ef53
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret