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

Disassembly:
push 0xffffffffffffffff
push 0x5985f6
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 0x40b63d
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 0x40b359
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40b63d
cmp dword [esp + 0x40], ebp
jne 0x40b36f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40b63d
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 0x40b61e
movsx eax, byte [esp + 0x54]
push eax
call fcn.0056b17c
add esp, 4
test eax, eax
je 0x40b61e
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 0x40b61e
mov eax, dword [0x65ca8c]
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 0x637e24
push eax
mov dword [esp + 0x178], ebp
mov dword [esp + 0x28], edi
call ebx
test eax, eax
jne 0x40b429
lea ecx, [esp + 0x54]
lea edx, [esp + 0x24]
push ecx
push 0x636fa0
push edx
call fcn.0057f8fb
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 0x40b460
lea eax, [esp + 0x54]
lea ecx, [esp + 0x28]
push eax
push 0x636fa0
push ecx
call fcn.0057f8fb
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 0x40b498
cmp dword [esp + 0x14], ebp
setne dl
and edx, 0xff
mov dword [esp + 0x30], edx
jmp 0x40b49c
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 0x40b4ce
cmp dword [esp + 0x14], ebp
setne al
and eax, 0xff
mov dword [esp + 0x34], eax
jmp 0x40b4d2
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 0x40b505
cmp dword [esp + 0x14], ebp
setne cl
and ecx, 0xff
mov dword [esp + 0x38], ecx
jmp 0x40b509
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 0x40b53c
cmp dword [esp + 0x14], ebp
setne dl
and edx, 0xff
mov dword [esp + 0x2c], edx
jmp 0x40b540
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 0x40b572
cmp dword [esp + 0x14], ebp
setne al
and eax, 0xff
mov dword [esp + 0x44], eax
jmp 0x40b576
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.00414aa0
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.00586c6c
lea eax, [esp + 0x28]
lea ecx, [esi + 4]
push eax
call fcn.00586c6c
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.00586b33
lea ecx, [esp + 0x24]
mov dword [esp + 0x160], 0xffffffff
call fcn.00586b33
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
inc ecx
cmp esi, ebp
mov dword [esp + 0x20], ecx
je 0x40b37c
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