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

Disassembly:
push 0xffffffffffffffff
push 0x57bb46
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 0x40af7d
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 0x40ac99
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40af7d
cmp dword [esp + 0x40], ebp
jne 0x40acaf
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40af7d
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 0x40af5e
movsx eax, byte [esp + 0x54]
push eax
call fcn.0054e6cc
add esp, 4
test eax, eax
je 0x40af5e
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 0x40af5e
mov eax, dword [0x639ad4]
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 0x616d28
push eax
mov dword [esp + 0x178], ebp
mov dword [esp + 0x28], edi
call ebx
test eax, eax
jne 0x40ad69
lea ecx, [esp + 0x54]
lea edx, [esp + 0x24]
push ecx
push 0x615e9c
push edx
call fcn.00562ecb
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 0x40ada0
lea eax, [esp + 0x54]
lea ecx, [esp + 0x28]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
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 0x40add8
cmp dword [esp + 0x14], ebp
setne dl
and edx, 0xff
mov dword [esp + 0x30], edx
jmp 0x40addc
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 0x40ae0e
cmp dword [esp + 0x14], ebp
setne al
and eax, 0xff
mov dword [esp + 0x34], eax
jmp 0x40ae12
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 0x40ae45
cmp dword [esp + 0x14], ebp
setne cl
and ecx, 0xff
mov dword [esp + 0x38], ecx
jmp 0x40ae49
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 0x40ae7c
cmp dword [esp + 0x14], ebp
setne dl
and edx, 0xff
mov dword [esp + 0x2c], edx
jmp 0x40ae80
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 0x40aeb2
cmp dword [esp + 0x14], ebp
setne al
and eax, 0xff
mov dword [esp + 0x44], eax
jmp 0x40aeb6
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.00413ae0
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.0056a239
lea eax, [esp + 0x28]
lea ecx, [esi + 4]
push eax
call fcn.0056a239
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.0056a100
lea ecx, [esp + 0x24]
mov dword [esp + 0x160], 0xffffffff
call fcn.0056a100
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
inc ecx
cmp esi, ebp
mov dword [esp + 0x20], ecx
je 0x40acbc
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