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

Disassembly:
push 0xffffffffffffffff
push 0x5f1216
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 0x4103c5
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 0x4100a9
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4103c5
cmp dword [esp + 0x3c], ebx
jne 0x4100bf
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4103c5
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 0x4103a6
movsx eax, byte [esp + 0x54]
push eax
call fcn.005c32bc
add esp, 4
test eax, eax
je 0x4103a6
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 0x4103a6
mov ecx, dword [0x6c826c]
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 0x69f338
push ecx
mov dword [esp + 0x380], ebx
mov dword [esp + 0x28], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41018a
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 0x4101c5
lea ecx, [esp + 0x54]
lea edx, [esp + 0x28]
push ecx
push 0x69dfbc
push edx
call fcn.005d809b
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 0x4101fc
cmp dword [esp + 0x14], ebx
setne al
and eax, 0xff
mov dword [esp + 0x30], eax
jmp 0x410200
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 0x410233
cmp dword [esp + 0x14], ebx
setne cl
and ecx, 0xff
mov dword [esp + 0x34], ecx
jmp 0x410237
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 0x41026a
cmp dword [esp + 0x14], ebx
setne dl
and edx, 0xff
mov dword [esp + 0x38], edx
jmp 0x41026e
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 0x4102a0
cmp dword [esp + 0x14], ebx
setne al
and eax, 0xff
mov dword [esp + 0x2c], eax
jmp 0x4102a4
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 0x4102d7
cmp dword [esp + 0x14], ebx
setne cl
and ecx, 0xff
mov dword [esp + 0x44], ecx
jmp 0x4102db
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.0041d400
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 0x41032f
cmp eax, ebx
je 0x410316
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.005df39f
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.005df266
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 0x4100cc
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