Function at 0x412410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f42d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
mov ecx, 0x53439c
call fcn.004c63e1
push 0
lea ecx, [ebp - 0x20]
call fcn.004081d0
mov dword [ebp - 4], 0
push str.OpenWithProgids
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00410c30
add esp, 0xc
mov byte [ebp - 4], 1
push 0x20019
lea ecx, [ebp - 0x5c]
call fcn.00405da0
push eax
push connect
lea ecx, [ebp - 0x20]
call fcn.0040a880
test eax, eax
je 0x4124a1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004054c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004083b0
jmp 0x412658
lea ecx, [ebp - 0x44]
call fcn.00411570
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 0x41252c
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x74]
call fcn.004053d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00413620
movzx ecx, al
test ecx, ecx
jne 0x41250e
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x44]
call fcn.00413710
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.004054c0
jmp 0x4124bb
lea ecx, [ebp - 0x20]
call fcn.004092d0
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x20]
call fcn.0040a880
test eax, eax
je 0x41257b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00411630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004054c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004083b0
jmp 0x412658
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.00413500
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
call fcn.00413520
mov dword [ebp - 0x2c], eax
jmp 0x4125a2
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x412621
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
push edx
push 0x4faa08
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00410c30
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.00410bf0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.004054c0
push 0
lea ecx, [ebp - 0x8c]
call fcn.00405da0
push eax
lea ecx, [ebp - 0x20]
call fcn.004126e0
lea ecx, [ebp - 0x8c]
call fcn.004054c0
jmp 0x412599
lea ecx, [ebp - 0x20]
call fcn.00411a50
lea ecx, [ebp - 0x20]
call fcn.004092d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00411630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004054c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004083b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret