Function at 0x49d770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c454d
mov eax, dword fs:[0]
push eax
sub esp, 0x474
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 - 0x468], 0
push 0x4dc868
lea ecx, [ebp - 0x54]
call fcn.00406f50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00406c50
mov byte [ebp - 4], 1
call fcn.004010b0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x10], 1
xor eax, eax
mov word [ebp - 0x45c], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x45a]
push ecx
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x464], 0x400
lea edx, [ebp - 0x464]
push edx
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x4dc8d8
lea ecx, [ebp - 0x54]
call fcn.00407070
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x49d8f0
mov dword [ebp - 0x38], 0x4dc8f4
cmp dword [ebp - 0x38], 0
jne 0x49d84e
mov dword [ebp - 0x46c], 0
jmp 0x49d8af
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x49d873
mov dword [ebp - 0x470], 0
jmp 0x49d8a3
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x474], esp
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x474]
push eax
call fcn.00401110
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x470]
mov dword [ebp - 0x46c], ecx
mov edx, dword [ebp - 0x46c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406c80
mov eax, dword [ebp - 0x468]
or eax, 1
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00406fd0
mov eax, dword [ebp + 8]
jmp 0x49d9b4
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
jne 0x49d90b
mov dword [ebp - 0x478], 0
jmp 0x49d96c
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x49d930
mov dword [ebp - 0x47c], 0
jmp 0x49d960
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.00453ce0
mov dword [ebp - 0x480], esp
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x480]
push eax
call fcn.00401110
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x47c]
mov dword [ebp - 0x478], ecx
mov edx, dword [ebp - 0x478]
push edx
lea ecx, [ebp - 0x34]
call fcn.00406d20
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406cc0
mov ecx, dword [ebp - 0x468]
or ecx, 1
mov dword [ebp - 0x468], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00406d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00406fd0
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x484]
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