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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483f8e
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x49f56c]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x838], 0
lea ecx, [ebp - 0x14]
call fcn.004028e0
mov dword [ebp - 4], 1
push 0x2e
mov ecx, dword [ebp + 0xc]
call fcn.0041a040
push eax
call fcn.00464827
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4554f1
mov eax, dword [ebp - 0x1c]
add eax, 2
push eax
lea ecx, [ebp - 0x14]
call fcn.004029f0
jmp 0x4554fd
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401c20
lea ecx, [ebp - 0x14]
call fcn.004169b0
push 0x48a20c
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x455552
push str.image_png
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov edx, dword [ebp - 0x838]
or edx, 1
mov dword [ebp - 0x838], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
push 0x48a214
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x455582
push str.jpeg
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4555b7
push str.image_jpeg
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov eax, dword [ebp - 0x838]
or eax, 1
mov dword [ebp - 0x838], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
push 0x48a240
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x455604
push str.image_gif
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov ecx, dword [ebp - 0x838]
or ecx, 1
mov dword [ebp - 0x838], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
push str.tiff
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x455651
push str.image_tiff
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov edx, dword [ebp - 0x838]
or edx, 1
mov dword [ebp - 0x838], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
push 0x48a280
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x45569e
push str.image_bmp
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov eax, dword [ebp - 0x838]
or eax, 1
mov dword [ebp - 0x838], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
push 0x48a29c
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4556ce
push str.html
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x455703
push str.text_html
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov ecx, dword [ebp - 0x838]
or ecx, 1
mov dword [ebp - 0x838], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
push 0x48a2c4
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x455750
push str.text_css
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov edx, dword [ebp - 0x838]
or edx, 1
mov dword [ebp - 0x838], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
push 0x48a2e0
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x45579d
push str.text_javascript
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov eax, dword [ebp - 0x838]
or eax, 1
mov dword [ebp - 0x838], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
push 0x48a308
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4557e7
push str.application_x_shockwave_flash
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov ecx, dword [ebp - 0x838]
or ecx, 1
mov dword [ebp - 0x838], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
push 0x48a34c
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x45582f
push str.text_xml
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov edx, dword [ebp - 0x838]
or edx, 1
mov dword [ebp - 0x838], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
lea ecx, [ebp - 0x18]
call fcn.004028e0
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.MIMEDatabaseContent_Type_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x455956
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x24], 0
jmp 0x45587b
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
movzx edx, byte [ebp - 0x1d]
test edx, edx
jne 0x45594c
mov dword [ebp - 0x28], 0x200
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x42c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4558b8
jmp 0x45594c
lea ecx, [ebp - 0x830]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x42c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x455947
mov dword [ebp - 0x834], 0x200
lea ecx, [ebp - 0x834]
push ecx
lea edx, [ebp - 0x82c]
push edx
push 0
push 0
push str.Extension
mov eax, dword [ebp - 0x830]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45593a
lea ecx, [ebp - 0x82a]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041a040
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45593a
lea edx, [ebp - 0x42c]
push edx
lea ecx, [ebp - 0x18]
call fcn.004029f0
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp - 0x830]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x455872
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
call fcn.00402190
movzx edx, al
test edx, edx
je 0x4559a0
push str.application_unknown
mov ecx, dword [ebp + 8]
call fcn.00406ad0
mov eax, dword [ebp - 0x838]
or eax, 1
mov dword [ebp - 0x838], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004029a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402940
mov edx, dword [ebp - 0x838]
or edx, 1
mov dword [ebp - 0x838], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004029a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004029a0
mov eax, dword [ebp + 8]
jmp 0x4559f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00464355
mov esp, ebp
pop ebp
ret