Function at 0x412310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
mov ecx, 0x51c39e
call fcn.004c108d
push 0
lea ecx, [ebp - 0x20]
call fcn.00407c50
mov dword [ebp - 4], 0
push str.OpenWithProgids
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00410b30
add esp, 0xc
mov byte [ebp - 4], 1
push 0x20019
lea ecx, [ebp - 0x5c]
call fcn.00405da0
push eax
push SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.0040abe0
test eax, eax
je 0x4123a1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004054f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00407e30
jmp 0x412558
lea ecx, [ebp - 0x44]
call fcn.00411470
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 0x41242c
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x74]
call fcn.00405400
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00413520
movzx ecx, al
test ecx, ecx
jne 0x41240e
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x44]
call fcn.00413610
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.004054f0
jmp 0x4123bb
lea ecx, [ebp - 0x20]
call fcn.00408d50
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
push SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.0040abe0
test eax, eax
je 0x41247b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00411530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004054f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00407e30
jmp 0x412558
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.00413400
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
call fcn.00413420
mov dword [ebp - 0x2c], eax
jmp 0x4124a2
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x412521
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
push edx
push 0x4ecb80
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00410b30
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.00410af0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.004054f0
push 0
lea ecx, [ebp - 0x8c]
call fcn.00405da0
push eax
lea ecx, [ebp - 0x20]
call fcn.004125e0
lea ecx, [ebp - 0x8c]
call fcn.004054f0
jmp 0x412499
lea ecx, [ebp - 0x20]
call fcn.00411950
lea ecx, [ebp - 0x20]
call fcn.00408d50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00411530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004054f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00407e30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret