Function at 0x411ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4686f1
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x98], 0
push 0x26
xor eax, eax
push str.95B7759C_8C7F_4BF1_B163_73684A933233
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
call fcn.0040a100
mov dword [ebp - 4], 0
push 0x2c
xor eax, eax
push str.SOFTWAREMicrosoftInternet_ExplorerToolbar
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.0040a100
mov dword [ebp - 4], 1
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], 3
jae 0x41209f
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x94]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41210d
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x4120c9
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0xa0]
push ecx
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 0
push eax
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x94]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
call esi
test bl, bl
je 0x412113
mov ebx, 3
mov byte [ebp - 0x8d], 1
jmp 0x41217d
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x2e
xor eax, eax
push str.TypeLibCCC7A320_B3CA_4199_B1A6_9F516DD69829
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.0040a100
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov ebx, 7
jae 0x412147
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
push ecx
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412176
push dword [ebp - 0x94]
call esi
mov byte [ebp - 0x8d], 1
jmp 0x41217d
mov byte [ebp - 0x8d], 0
test bl, 4
je 0x4121aa
and ebx, 0xfffffffb
cmp dword [ebp - 0x18], 8
jb 0x412196
push dword [ebp - 0x2c]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
test bl, 2
je 0x4121d7
and ebx, 0xfffffffd
cmp dword [ebp - 0x30], 8
jb 0x4121c3
push dword [ebp - 0x44]
call fcn.0044d5f9
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4121f4
cmp dword [ebp - 0x60], 8
jb 0x4121f4
push dword [ebp - 0x74]
call fcn.0044d5f9
add esp, 4
cmp byte [ebp - 0x8d], 0
je 0x4122c0
mov dword [ebp - 4], 2
push 5
xor eax, eax
push str.Flags
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
call fcn.0040a100
mov byte [ebp - 4], 3
push 0x5d
xor eax, eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExtSettings95B7759C_8C7F_4BF1_B163_73684A933233
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.0040a100
lea eax, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x5c]
mov ecx, SysReAllocString
mov byte [ebp - 4], 4
call fcn.0042e630
add esp, 4
cmp eax, 1
setne bl
cmp dword [ebp - 0x48], 8
jb 0x41228a
push dword [ebp - 0x5c]
call fcn.0044d5f9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x4122b2
push dword [ebp - 0x8c]
call fcn.0044d5f9
add esp, 4
test bl, bl
je 0x4122c0
mov al, 1
jmp 0x4122c2
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret