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

Disassembly:
push 0xffffffffffffffff
push 0x64411b
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
mov eax, dword [esp + 0x378]
lea edx, [esp + 0x20]
push edx
push 0x20019
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x384]
xor edi, edi
push edi
push eax
mov eax, dword [ecx + 0x18]
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41c776
mov eax, dword [esp + 0x20]
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x44]
push edx
push edi
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x41c76b
cmp dword [esp + 0x28], edi
jne 0x41c537
mov edx, dword [esp + 0x20]
push edx
jmp 0x41c770
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x24], edi
mov ebx, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0x104
lea eax, [esp + 0x5c]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebp, eax
cmp ebp, edi
jne 0x41c75f
movsx eax, byte [esp + 0x58]
push eax
call fcn.0062221c
add esp, 4
test eax, eax
je 0x41c75f
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push edi
lea edx, [esp + 0x64]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41c75f
lea ecx, [esp + 0x30]
call fcn.00414f20
mov dword [esp + 0x370], edi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x160]
push edx
push edi
push edi
push 0x67cbdc
push eax
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c5ef
lea ecx, [esp + 0x15c]
push ecx
lea ecx, [esp + 0x34]
call fcn.00411170
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x5c]
push eax
push edi
push edi
push str.vers
push ecx
mov dword [esp + 0x2c], 0x104
call esi
test eax, eax
jne 0x41c62a
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x38]
push 0x678ea8
push eax
call fcn.00402f80
add esp, 0xc
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push edi
push str.bEnabled
push eax
mov dword [esp + 0x2c], ebx
call esi
test eax, eax
jne 0x41c659
xor ecx, ecx
cmp dword [esp + 0x18], edi
setne cl
mov dword [esp + 0x3c], ecx
jmp 0x41c65d
mov dword [esp + 0x3c], edi
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
push edi
push str.bExtensionInstalled
push ecx
mov dword [esp + 0x2c], ebx
call esi
test eax, eax
jne 0x41c68c
xor edx, edx
cmp dword [esp + 0x18], edi
setne dl
mov dword [esp + 0x40], edx
jmp 0x41c690
mov dword [esp + 0x40], edi
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
push edi
push str.bPluginInstalled
push edx
mov dword [esp + 0x2c], ebx
call esi
test eax, eax
jne 0x41c6bd
cmp dword [esp + 0x18], edi
setne al
mov dword [esp + 0x44], eax
jmp 0x41c6c1
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push edi
push str.isExtensionSupported
push eax
mov dword [esp + 0x2c], ebx
call esi
test eax, eax
jne 0x41c6f0
xor ecx, ecx
cmp dword [esp + 0x18], edi
setne cl
mov dword [esp + 0x38], ecx
jmp 0x41c6f4
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
push edi
push str.isff15
push ecx
mov dword [esp + 0x2c], ebx
call esi
test eax, eax
jne 0x41c723
xor edx, edx
cmp dword [esp + 0x18], edi
setne dl
mov dword [esp + 0x50], edx
jmp 0x41c727
mov dword [esp + 0x50], edi
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x1c]
add ecx, 0x14
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x50], edi
call fcn.0041af40
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x370], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004349c0
inc dword [esp + 0x24]
cmp ebp, edi
je 0x41c546
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x368]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.0062023e
add esp, 0x360
ret 8