Function at 0x4b4620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push esi
push edi
push ecx
lea edi, [ebp - 0x260]
mov ecx, 0x98
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x51197c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0x80004005
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x20], 0x104
mov word [ebp - 0x230], 0
push 0x206
push 0
lea eax, [ebp - 0x22e]
push eax
call fcn.004b8382
add esp, 0xc
mov dword [ebp - 0x238], 0
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
push 0x4dc9e0
push 0x104
lea edx, [ebp - 0x230]
push edx
call fcn.004b5c30
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x4b48dc
mov esi, esp
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x20c
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x4dca10
lea eax, [ebp - 0x230]
push eax
push SHChangeNotifyDeregister
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x4b485e
mov ecx, dword [0x4dca24]
mov dword [ebp - 0x250], ecx
mov edx, dword [0x4dca28]
mov dword [ebp - 0x24c], edx
mov eax, dword [0x4dca2c]
mov dword [ebp - 0x248], eax
mov ecx, dword [0x4dca30]
mov dword [ebp - 0x244], ecx
mov dx, word [0x4dca34]
mov word [ebp - 0x240], dx
mov dword [ebp - 0x258], 8
mov esi, esp
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x20c
push edx
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x4b4855
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], 0
jmp 0x4b479c
mov ecx, dword [ebp - 0x260]
add ecx, 1
mov dword [ebp - 0x260], ecx
cmp dword [ebp - 0x260], 0x104
jae 0x4b4855
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 8]
movzx ecx, word [eax + edx*2 + 0x20c]
test ecx, ecx
jne 0x4b47c8
jmp 0x4b4855
mov edx, dword [ebp - 0x25c]
mov eax, dword [ebp - 8]
movzx ecx, word [eax + edx*2 + 0x20c]
test ecx, ecx
jne 0x4b47f4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 8]
mov word [eax + edx*2 + 0x20c], 0
jmp 0x4b4855
mov ecx, dword [ebp - 0x25c]
mov edx, dword [ebp - 8]
movzx eax, word [edx + ecx*2 + 0x20c]
cmp eax, 0x2f
jne 0x4b481f
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 8]
mov word [edx + ecx*2 + 0x20c], 0x5c
jmp 0x4b4841
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x25c]
mov esi, dword [ebp - 8]
mov dx, word [esi + edx*2 + 0x20c]
mov word [ecx + eax*2 + 0x20c], dx
mov eax, dword [ebp - 0x25c]
add eax, 1
mov dword [ebp - 0x25c], eax
jmp 0x4b478d
mov dword [ebp - 0xc], 0
jmp 0x4b48dc
mov esi, esp
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x20c
push edx
lea eax, [ebp - 0x14]
push eax
push 0x4dca38
lea ecx, [ebp - 0x230]
push ecx
push SHChangeNotifyDeregister
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x4b48dc
mov esi, esp
push 0x104
mov edx, dword [ebp - 8]
add edx, 0x20c
push edx
mov eax, dword [ebp - 8]
add eax, 0x20c
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4b48dc
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x4b4910]
call fcn.004b8204
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b81d2
add esp, 0x260
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret