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

Disassembly:
push 0xffffffffffffffff
push 0x613ce6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x350
mov edx, dword [esp + 0x364]
lea eax, [esp + 0xc]
push ebx
xor ebx, ebx
push eax
mov eax, dword [ecx + 0x18]
push 0x20019
push ebx
push edx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412785
push ebx
push ebx
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x58]
push ebx
lea edx, [esp + 0x54]
push ecx
push edx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x412469
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412785
cmp dword [esp + 0x3c], ebx
jne 0x41247f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412785
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
push 0x104
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x4c], esi
jne 0x412766
movsx eax, byte [esp + 0x54]
push eax
call fcn.005e582c
add esp, 4
test eax, eax
je 0x412766
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
lea edx, [esp + 0x5c]
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412766
mov ecx, dword [0x6f175c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
lea eax, [esp + 0x158]
push edx
push eax
push ebx
push ebx
push 0x6c65d0
push ecx
mov dword [esp + 0x380], ebx
mov dword [esp + 0x28], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41254a
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x54]
push ecx
push edx
push ebx
push ebx
push str.vers
push eax
mov dword [esp + 0x28], 0x104
call ebp
test eax, eax
jne 0x412585
lea ecx, [esp + 0x54]
lea edx, [esp + 0x28]
push ecx
push 0x6c5098
push edx
call fcn.005fa6fb
add esp, 0xc
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push ebx
mov esi, 4
push str.bEnabled
push edx
mov dword [esp + 0x28], esi
call ebp
test eax, eax
jne 0x4125bc
cmp dword [esp + 0x14], ebx
setne al
and eax, 0xff
mov dword [esp + 0x30], eax
jmp 0x4125c0
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push str.bExtensionInstalled
push eax
mov dword [esp + 0x28], esi
call ebp
test eax, eax
jne 0x4125f3
cmp dword [esp + 0x14], ebx
setne cl
and ecx, 0xff
mov dword [esp + 0x34], ecx
jmp 0x4125f7
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push ebx
push str.bPluginInstalled
push ecx
mov dword [esp + 0x28], esi
call ebp
test eax, eax
jne 0x41262a
cmp dword [esp + 0x14], ebx
setne dl
and edx, 0xff
mov dword [esp + 0x38], edx
jmp 0x41262e
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push ebx
push str.isExtensionSupported
push edx
mov dword [esp + 0x28], esi
call ebp
test eax, eax
jne 0x412660
cmp dword [esp + 0x14], ebx
setne al
and eax, 0xff
mov dword [esp + 0x2c], eax
jmp 0x412664
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
push ebx
push str.isff15
push eax
mov dword [esp + 0x28], esi
call ebp
test eax, eax
jne 0x412697
cmp dword [esp + 0x14], ebx
setne cl
and ecx, 0xff
mov dword [esp + 0x44], ecx
jmp 0x41269b
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x370]
push 0xffffffffffffffff
mov dword [esp + 0x40], ebx
mov edi, dword [edx + 0x1c]
lea esi, [edx + 0x14]
mov ecx, esi
lea eax, [edi + 1]
push eax
call fcn.00420100
mov edx, dword [esi + 4]
lea ecx, [edi + edi*8]
mov eax, dword [edx + ecx*4]
lea esi, [edx + ecx*4]
cmp eax, dword [esp + 0x24]
je 0x4126ef
cmp eax, ebx
je 0x4126d6
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [esi], eax
lea edx, [esp + 0x28]
lea ecx, [esi + 4]
push edx
call fcn.00601a05
mov eax, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x38]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x44]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x28]
mov dword [esp + 0x368], 1
call fcn.006018cc
mov edx, dword [esp + 0x24]
mov dword [esp + 0x368], 0xffffffff
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
inc ecx
cmp esi, ebx
mov dword [esp + 0x20], ecx
je 0x41248c
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x354]
pop ebx
mov dword fs:[0], ecx
add esp, 0x35c
ret 8