Function at 0x4199e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4513e0
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov ebx, ecx
call fcn.00418c70
mov ebp, dword [esp + 0x6c]
xor esi, esi
cmp ebp, esi
je 0x419ea2
cmp word [ebp], si
je 0x419ea2
mov eax, dword [0x463e90]
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x18], eax
push ebp
lea eax, [esp + 0x14]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sOpenWithList
push eax
mov byte [esp + 0x74], 1
call fcn.00443656
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push esi
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419b83
mov ecx, 0xd
lea edi, [esp + 0x2a]
mov word [esp + 0x28], si
mov edx, dword [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push ecx
push esi
push esi
push str.MRUList
push edx
mov dword [esp + 0x34], 0x36
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419b78
lea eax, [esp + 0x28]
mov word [esp + 0x20], si
push eax
mov word [esp + 0x26], si
call fcn.00432a93
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
push 0x105
call fcn.00444f4c
test edi, edi
mov esi, eax
jle 0x419b6b
lea ebp, [esp + 0x28]
mov cx, word [ebp]
lea edx, [esp + 0x1c]
push edx
push esi
mov word [esp + 0x28], cx
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x2c]
push 0
push eax
push ecx
mov dword [esp + 0x34], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419b5d
cmp word [esi], ax
je 0x419b5d
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebx
call fcn.004191b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 2
call fcn.00444c63
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 1
call fcn.00444b1c
mov eax, dword [esp + 0x18]
push eax
call fcn.00432a93
add esp, 4
test eax, eax
je 0x419b5d
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00419920
add ebp, 2
dec edi
jne 0x419ae2
mov ebp, dword [esp + 0x70]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00444f9c
xor esi, esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
lea ecx, [esp + 0x14]
call fcn.00444cb3
push str.OpenWithList
lea ecx, [esp + 0x14]
call fcn.00444f0d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419c64
push 0x105
lea ecx, [esp + 0x14]
call fcn.00444f4c
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
push 0x104
push esi
push 0
push edx
mov edi, 1
call ebp
test eax, eax
jne 0x419c48
lea eax, [esp + 0x24]
push esi
push eax
mov ecx, ebx
call fcn.004191b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call fcn.00444c63
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 1
call fcn.00444b1c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00432a93
add esp, 4
test eax, eax
je 0x419c33
mov edx, dword [esp + 0x18]
mov ecx, ebx
push edx
call fcn.00419920
mov eax, edi
push 0x104
push esi
push eax
mov eax, dword [esp + 0x20]
inc edi
push eax
call ebp
test eax, eax
je 0x419bec
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00444f9c
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x70]
xor esi, esi
push ebp
lea edx, [esp + 0x14]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sOpenWithProgids
push edx
call fcn.00443656
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x419d5a
push 0x105
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0x208
call fcn.00444f4c
push 0
push 0
push 0
lea edx, [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x20]
push 0
push edx
push esi
push 0
push eax
mov edi, 1
call ebp
test eax, eax
jne 0x419d44
lea ecx, [esp + 0x24]
push esi
push ecx
mov ecx, ebx
mov dword [esp + 0x24], 0x208
call fcn.004195b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 4
call fcn.00444c63
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 1
call fcn.00444b1c
mov edx, dword [esp + 0x18]
push edx
call fcn.00432a93
add esp, 4
test eax, eax
je 0x419d27
mov eax, dword [esp + 0x18]
mov ecx, ebx
push eax
call fcn.00419920
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push 0
mov eax, edi
push ecx
push esi
push eax
push edx
inc edi
call ebp
test eax, eax
je 0x419cd8
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00444f9c
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x70]
push ecx
lea ecx, [esp + 0x14]
call fcn.00444cb3
push str.OpenWithProgids
lea ecx, [esp + 0x14]
call fcn.00444f0d
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x20019
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419e54
push 0x105
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0x208
call fcn.00444f4c
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
mov esi, eax
push 0
push ecx
push esi
push 0
push edx
mov edi, 1
call ebp
test eax, eax
jne 0x419e3e
lea eax, [esp + 0x70]
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x24], 0x208
call fcn.004195b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 5
call fcn.00444c63
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 1
call fcn.00444b1c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00432a93
add esp, 4
test eax, eax
je 0x419e21
mov edx, dword [esp + 0x18]
mov ecx, ebx
push edx
call fcn.00419920
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push 0
mov eax, edi
push ecx
push esi
push eax
push edx
inc edi
call ebp
test eax, eax
je 0x419dd2
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00444f9c
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebx + 4]
call fcn.0040d0c0
test edx, edx
pop edi
jl 0x419e6b
jg 0x419e67
test eax, eax
jbe 0x419e6b
mov bl, 1
jmp 0x419e6d
xor bl, bl
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 0
call fcn.00444b1c
lea ecx, [esp + 0xc]
mov dword [esp + 0x64], 0xffffffff
call fcn.00444b1c
pop esi
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 4
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 4