Function at 0x413010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
mov ecx, 0x546d80
call fcn.00501f54
push 0
lea ecx, [ebp - 0x20]
call fcn.00406760
mov dword [ebp - 4], 0
push str.OpenWithProgids
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00414ab0
add esp, 0xc
mov byte [ebp - 4], 1
push 0x20019
lea ecx, [ebp - 0x5c]
call fcn.004050e0
push eax
push connect
lea ecx, [ebp - 0x20]
call fcn.004068f0
test eax, eax
je 0x4130a1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00405130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004067a0
jmp 0x413258
lea ecx, [ebp - 0x44]
call fcn.00414820
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 0x41312c
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x74]
call fcn.004051d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00414860
movzx ecx, al
test ecx, ecx
jne 0x41310e
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x44]
call fcn.00414790
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.00405130
jmp 0x4130bb
lea ecx, [ebp - 0x20]
call fcn.004068a0
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x20]
call fcn.004068f0
test eax, eax
je 0x41317b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00414800
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00405130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004067a0
jmp 0x413258
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.00414770
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
call fcn.00414750
mov dword [ebp - 0x2c], eax
jmp 0x4131a2
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x413221
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
push 0x52cf30
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00414ab0
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00414b50
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00405130
push 0
lea ecx, [ebp - 0x8c]
call fcn.004050e0
push eax
lea ecx, [ebp - 0x20]
call fcn.00412cb0
lea ecx, [ebp - 0x8c]
call fcn.00405130
jmp 0x413199
lea ecx, [ebp - 0x20]
call fcn.00412b90
lea ecx, [ebp - 0x20]
call fcn.004068a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00414800
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00405130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004067a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret