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

Disassembly:
push 0xffffffffffffffff
push 0x553a46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov edx, dword [esp + 0x15c]
lea eax, [esp + 0xc]
push ebp
xor ebp, ebp
push eax
mov eax, dword [ecx + 0x18]
push 0x20019
push ebp
push edx
push eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4099fd
push ebp
push ebp
mov eax, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea ecx, [esp + 0x58]
push ebp
lea edx, [esp + 0x58]
push ecx
push edx
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x409719
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4099fd
cmp dword [esp + 0x40], ebp
jne 0x40972f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4099fd
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov edi, 0x104
lea eax, [esp + 0x54]
push edi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x48], esi
jne 0x4099de
movsx eax, byte [esp + 0x54]
push eax
call fcn.0052727d
add esp, 4
test eax, eax
je 0x4099de
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
lea edx, [esp + 0x5c]
push ebp
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4099de
mov eax, dword [0x5c2a74]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x54]
push ecx
push edx
push ebp
push ebp
push 0x5a4c58
push eax
mov dword [esp + 0x178], ebp
mov dword [esp + 0x28], edi
call ebx
test eax, eax
jne 0x4097e9
lea ecx, [esp + 0x54]
lea edx, [esp + 0x24]
push ecx
push 0x5a3e24
push edx
call fcn.0053afda
add esp, 0xc
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push ecx
push ebp
push ebp
push str.vers
push edx
mov dword [esp + 0x28], edi
call ebx
test eax, eax
jne 0x409820
lea eax, [esp + 0x54]
lea ecx, [esp + 0x28]
push eax
push 0x5a3e24
push ecx
call fcn.0053afda
add esp, 0xc
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ebp
push ebp
mov esi, 4
push str.bEnabled
push ecx
mov dword [esp + 0x28], esi
call ebx
test eax, eax
jne 0x409858
cmp dword [esp + 0x14], ebp
setne dl
and edx, 0xff
mov dword [esp + 0x30], edx
jmp 0x40985c
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
push ebp
push str.bExtensionInstalled
push edx
mov dword [esp + 0x28], esi
call ebx
test eax, eax
jne 0x40988e
cmp dword [esp + 0x14], ebp
setne al
and eax, 0xff
mov dword [esp + 0x34], eax
jmp 0x409892
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push ebp
push ebp
push str.bPluginInstalled
push eax
mov dword [esp + 0x28], esi
call ebx
test eax, eax
jne 0x4098c5
cmp dword [esp + 0x14], ebp
setne cl
and ecx, 0xff
mov dword [esp + 0x38], ecx
jmp 0x4098c9
mov dword [esp + 0x38], ebp
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ebp
push ebp
push str.isExtensionSupported
push ecx
mov dword [esp + 0x28], esi
call ebx
test eax, eax
jne 0x4098fc
cmp dword [esp + 0x14], ebp
setne dl
and edx, 0xff
mov dword [esp + 0x2c], edx
jmp 0x409900
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
push ebp
push str.isff15
push edx
mov dword [esp + 0x28], esi
call ebx
test eax, eax
jne 0x409932
cmp dword [esp + 0x14], ebp
setne al
and eax, 0xff
mov dword [esp + 0x44], eax
jmp 0x409936
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x168]
push 0xffffffffffffffff
mov dword [esp + 0x40], ebp
mov edi, dword [ecx + 0x1c]
lea esi, [ecx + 0x14]
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.004121f0
mov ecx, dword [esi + 4]
lea eax, [edi + edi*8]
lea edx, [esp + 0x24]
lea esi, [ecx + eax*4]
push edx
mov ecx, esi
call fcn.005422f7
lea eax, [esp + 0x28]
lea ecx, [esi + 4]
push eax
call fcn.005422f7
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x30]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x34]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x28]
mov dword [esp + 0x160], 1
call fcn.005421be
lea ecx, [esp + 0x24]
mov dword [esp + 0x160], 0xffffffff
call fcn.005421be
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
inc ecx
cmp esi, ebp
mov dword [esp + 0x20], ecx
je 0x40973c
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14c]
pop ebp
mov dword fs:[0], ecx
add esp, 0x154
ret 8