Function at 0x49c3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6069
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8f0], 0
lea ecx, [ebp - 0x34]
call fcn.00406c50
mov dword [ebp - 4], 0
push 0x4dc04c
lea ecx, [ebp - 0x488]
call fcn.00406f50
mov byte [ebp - 4], 1
call fcn.0049c2d0
test eax, eax
je 0x49c57c
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
lea ecx, [ebp - 0x4c4]
call fcn.00406f50
mov byte [ebp - 4], 2
mov dword [ebp - 0x48c], 1
xor eax, eax
mov word [ebp - 0x8cc], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x8ca]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x8d0], 0x400
lea edx, [ebp - 0x8d0]
push edx
lea eax, [ebp - 0x8cc]
push eax
lea ecx, [ebp - 0x48c]
push ecx
push str.Progid
lea ecx, [ebp - 0x4c4]
call fcn.00407070
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x4c8], eax
cmp dword [ebp - 0x4c8], 0
je 0x49c52d
push 0x4cf8c6
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov edx, dword [ebp - 0x8f0]
or edx, 1
mov dword [ebp - 0x8f0], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c4]
call fcn.00406fd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x488]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov eax, dword [ebp + 8]
jmp 0x49c7b7
lea ecx, [ebp - 0x4a8]
call fcn.00406c50
mov byte [ebp - 4], 3
lea eax, [ebp - 0x8cc]
push eax
lea ecx, [ebp - 0x488]
call fcn.00407010
push 0x4dc17c
lea ecx, [ebp - 0x488]
call fcn.00407050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a8]
call fcn.00406d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c4]
call fcn.00406fd0
push 0x4dc180
lea ecx, [ebp - 0x488]
call fcn.00407050
mov dword [ebp - 0x14], 1
xor ecx, ecx
mov word [ebp - 0x45c], cx
push 0x3fe
push 0
lea edx, [ebp - 0x45a]
push edx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x46c], 0x400
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
lea ecx, [ebp - 0x488]
call fcn.00407070
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x49c632
push 0x4cf8c7
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov eax, dword [ebp - 0x8f0]
or eax, 1
mov dword [ebp - 0x8f0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x488]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov eax, dword [ebp + 8]
jmp 0x49c7b7
call fcn.004010b0
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
jne 0x49c655
mov dword [ebp - 0x8f4], 0
jmp 0x49c6b6
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jle 0x49c67a
mov dword [ebp - 0x8f8], 0
jmp 0x49c6aa
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x8fc], esp
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x8fc]
push eax
call fcn.00401110
mov dword [ebp - 0x8f8], eax
mov ecx, dword [ebp - 0x8f8]
mov dword [ebp - 0x8f4], ecx
mov edx, dword [ebp - 0x8f4]
push edx
lea ecx, [ebp - 0x34]
call fcn.00406d20
mov eax, dword [0x4e7a84]
push eax
push 0x5c
lea ecx, [ebp - 0x34]
call fcn.00421500
mov dword [ebp - 0x460], eax
lea ecx, [ebp - 0x34]
call fcn.0040add0
sub eax, dword [ebp - 0x460]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x460]
add ecx, 1
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x34]
call fcn.004183d0
mov byte [ebp - 4], 4
mov eax, dword [0x4e7a84]
push eax
push str..exe
lea ecx, [ebp - 0x58]
call fcn.004214d0
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x468]
add ecx, 4
push ecx
push 0
lea edx, [ebp - 0x8ec]
push edx
lea ecx, [ebp - 0x58]
call fcn.004183d0
mov dword [ebp - 0x900], eax
mov eax, dword [ebp - 0x900]
mov dword [ebp - 0x904], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x904]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00417dd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8ec]
call fcn.00406d00
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406cc0
mov eax, dword [ebp - 0x8f0]
or eax, 1
mov dword [ebp - 0x8f0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00406d00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x488]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x908]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret