Function at 0x411960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
mov ecx, 0x4d53a1
call fcn.0047b83a
push 0
lea ecx, [ebp - 0x20]
call fcn.00406fc0
mov dword [ebp - 4], 0
push str.OpenWithProgids
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00410180
add esp, 0xc
mov byte [ebp - 4], 1
push 0x20019
lea ecx, [ebp - 0x5c]
call fcn.00405110
push eax
push SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.0040a440
test eax, eax
je 0x4119f1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00404860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004071a0
jmp 0x411ba8
lea ecx, [ebp - 0x44]
call fcn.00410ac0
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0x200
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x411a7c
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x74]
call fcn.00404770
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00412b70
movzx ecx, al
test ecx, ecx
jne 0x411a5e
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x44]
call fcn.00412c60
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x200
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.00404860
jmp 0x411a0b
lea ecx, [ebp - 0x20]
call fcn.004080c0
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
push SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.0040a440
test eax, eax
je 0x411acb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00410b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00404860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004071a0
jmp 0x411ba8
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.00412a50
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
call fcn.00412a70
mov dword [ebp - 0x2c], eax
jmp 0x411af2
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x411b71
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
push edx
push 0x4a6bd0
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00410180
add esp, 0xc
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00410140
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00404860
push 0
lea ecx, [ebp - 0x8c]
call fcn.00405110
push eax
lea ecx, [ebp - 0x20]
call fcn.00411c30
lea ecx, [ebp - 0x8c]
call fcn.00404860
jmp 0x411ae9
lea ecx, [ebp - 0x20]
call fcn.00410fa0
lea ecx, [ebp - 0x20]
call fcn.004080c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00410b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00404860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004071a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret