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

Disassembly:
push 0xffffffffffffffff
push 0x59a186
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 0x40b5ed
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 0x40b309
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40b5ed
cmp dword [esp + 0x40], ebp
jne 0x40b31f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40b5ed
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 0x40b5ce
movsx eax, byte [esp + 0x54]
push eax
call fcn.0056ccfc
add esp, 4
test eax, eax
je 0x40b5ce
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 0x40b5ce
mov eax, dword [0x65ec1c]
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 0x639e2c
push eax
mov dword [esp + 0x178], ebp
mov dword [esp + 0x28], edi
call ebx
test eax, eax
jne 0x40b3d9
lea ecx, [esp + 0x54]
lea edx, [esp + 0x24]
push ecx
push 0x638fa8
push edx
call fcn.0058148b
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 0x40b410
lea eax, [esp + 0x54]
lea ecx, [esp + 0x28]
push eax
push 0x638fa8
push ecx
call fcn.0058148b
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 0x40b448
cmp dword [esp + 0x14], ebp
setne dl
and edx, 0xff
mov dword [esp + 0x30], edx
jmp 0x40b44c
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 0x40b47e
cmp dword [esp + 0x14], ebp
setne al
and eax, 0xff
mov dword [esp + 0x34], eax
jmp 0x40b482
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 0x40b4b5
cmp dword [esp + 0x14], ebp
setne cl
and ecx, 0xff
mov dword [esp + 0x38], ecx
jmp 0x40b4b9
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 0x40b4ec
cmp dword [esp + 0x14], ebp
setne dl
and edx, 0xff
mov dword [esp + 0x2c], edx
jmp 0x40b4f0
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 0x40b522
cmp dword [esp + 0x14], ebp
setne al
and eax, 0xff
mov dword [esp + 0x44], eax
jmp 0x40b526
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.00414990
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.005887f9
lea eax, [esp + 0x28]
lea ecx, [esi + 4]
push eax
call fcn.005887f9
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.005886c0
lea ecx, [esp + 0x24]
mov dword [esp + 0x160], 0xffffffff
call fcn.005886c0
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
inc ecx
cmp esi, ebp
mov dword [esp + 0x20], ecx
je 0x40b32c
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