Function at 0x4f4c60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x56a330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
mov eax, dword [0x5d2ac0]
push ebx
push ebp
mov ebx, 0x5d2ac0
xor ebp, ebp
push esi
mov ecx, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], ebx
call dword [eax + 4]
mov eax, dword [0x5cb048]
mov dword [esp + 0x450], ebp
cmp eax, ebp
jne 0x4f4d05
cmp dword [0x5cb044], ebp
jne 0x4f4d05
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x450], 1
je 0x4f4cd6
push ebp
mov ecx, eax
call fcn.00414150
jmp 0x4f4cd8
xor eax, eax
mov ecx, dword [0x5b4b90]
mov byte [esp + 0x450], 0
push ecx
push 0x406940
mov ecx, 0x5d0190
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, ebx
mov dword [esp + 0x450], 0xffffffff
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [eax + 0x8c]
cmp dword [esp + 0x2c], ebp
je 0x4f4d69
call fcn.004bbdc0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x60]
mov esi, eax
cmp esi, ebp
je 0x4f4d69
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, ebp
je 0x4f4d69
mov ecx, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
push 0x13
push ebp
push ebp
push ebp
push ebp
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
push edi
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x454], 2
call sub.MFC42.DLL_CString::CString_3
mov dl, byte [0x5cabc0]
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], dl
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
push ecx
push edx
push str.uicmd
mov esi, 1
push str.SOFTWAREStorm
push SysReAllocStringLen
mov byte [esp + 0x46c], 3
mov dword [esp + 0x4c], 0x410
mov dword [esp + 0x50], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [0x5d2ac0]
mov ecx, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], ebx
call dword [edx + 4]
mov eax, dword [0x5cb048]
mov byte [esp + 0x454], 4
cmp eax, ebp
pop edi
jne 0x4f4e65
cmp dword [0x5cb044], ebp
jne 0x4f4e65
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x450], 5
je 0x4f4e3b
push ebp
mov ecx, eax
call fcn.00414150
jmp 0x4f4e3d
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x458], 4
call fcn.00406500
mov dword [0x5cb048], esi
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, ebx
mov byte [esp + 0x450], 3
call dword [edx + 8]
mov ecx, esi
call fcn.00478390
test al, al
jne 0x4f4f2b
push ebx
lea ecx, [esp + 0x10]
call fcn.00410470
mov eax, dword [0x5cb048]
mov bl, 6
cmp eax, ebp
mov byte [esp + 0x450], bl
jne 0x4f4f05
cmp dword [0x5cb044], ebp
jne 0x4f4f05
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x450], 7
je 0x4f4ed8
push ebp
mov ecx, eax
call fcn.00414150
jmp 0x4f4eda
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x458], bl
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0xc]
mov esi, dword [0x5cb044]
mov byte [esp + 0x450], 3
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.00479ea0
test al, al
je 0x4f5078
push 0x5d2ac0
lea ecx, [esp + 0x10]
call fcn.00410470
mov eax, dword [0x5cb048]
mov bl, 8
cmp eax, ebp
mov byte [esp + 0x450], bl
jne 0x4f4fa7
cmp dword [0x5cb044], ebp
jne 0x4f4fa7
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x450], 9
je 0x4f4f7a
push ebp
mov ecx, eax
call fcn.00414150
jmp 0x4f4f7c
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x458], bl
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0xc]
mov esi, dword [0x5cb044]
mov byte [esp + 0x450], 3
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [eax + 0xe0]
cmp dword [esp + 0x28], ebp
jne 0x4f52ce
push 0x5d2ac0
lea ecx, [esp + 0x10]
call fcn.00410470
mov eax, dword [0x5cb048]
mov bl, 0xa
cmp eax, ebp
mov byte [esp + 0x450], bl
jne 0x4f5053
cmp dword [0x5cb044], ebp
jne 0x4f5053
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x450], 0xb
je 0x4f5025
push ebp
mov ecx, eax
call fcn.00414150
jmp 0x4f5027
xor eax, eax
mov edx, dword [0x5b4b90]
mov ecx, 0x5d0190
push edx
push 0x406940
mov byte [esp + 0x458], bl
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0xc]
mov esi, dword [0x5cb044]
mov byte [esp + 0x450], 3
mov eax, dword [ecx]
call dword [eax + 8]
mov al, byte [esi + 0x358]
test al, al
je 0x4f52ce
cmp dword [esp + 0x28], ebp
jne 0x4f52a2
push 0x5d2ac0
lea ecx, [esp + 0x10]
call fcn.00410470
mov eax, dword [0x5cb048]
mov bl, 0xc
cmp eax, ebp
mov byte [esp + 0x450], bl
jne 0x4f50ff
cmp dword [0x5cb044], ebp
jne 0x4f50ff
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x450], 0xd
je 0x4f50d1
push ebp
mov ecx, eax
call fcn.00414150
jmp 0x4f50d3
xor eax, eax
mov ecx, dword [0x5b4b90]
mov byte [esp + 0x450], bl
push ecx
push 0x406940
mov ecx, 0x5d0190
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0xc]
mov esi, dword [0x5cb044]
mov byte [esp + 0x450], 3
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [eax + 0x9c]
test eax, eax
jl 0x4f52a2
cmp dword [esp + 0x10], ebp
je 0x4f52a2
push 0x5d2ac0
lea ecx, [esp + 0x10]
call fcn.00410470
mov eax, dword [0x5cb048]
mov bl, 0xe
cmp eax, ebp
mov byte [esp + 0x450], bl
jne 0x4f51b3
cmp dword [0x5cb044], ebp
jne 0x4f51b3
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x450], 0xf
je 0x4f5185
push ebp
mov ecx, eax
call fcn.00414150
jmp 0x4f5187
xor eax, eax
mov edx, dword [0x5b4b90]
mov ecx, 0x5d0190
push edx
push 0x406940
mov byte [esp + 0x458], bl
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0xc]
mov esi, dword [0x5cb044]
mov byte [esp + 0x450], 3
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi]
lea edx, [esp + 0x24]
push edx
push esi
call dword [ecx + 0xac]
test eax, eax
jl 0x4f52a2
mov eax, dword [esp + 0x24]
cmp eax, 4
jne 0x4f51f8
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp 0x4f52a2
cmp eax, 5
jne 0x4f520c
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
jmp 0x4f52a2
mov esi, dword [0x5cb0b8]
cmp esi, ebp
je 0x4f52a2
mov eax, dword [esi]
lea ecx, [esp + 0x1e]
push ecx
push esi
call dword [eax + 0xd0]
test eax, eax
jl 0x4f523e
cmp word [esp + 0x1e], bp
jne 0x4f523e
mov edx, dword [esi]
push esi
call dword [edx + 0xd8]
jmp 0x4f52a2
mov dword [esp + 0xc], ebp
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push esi
mov byte [esp + 0x458], 0x10
call dword [eax + 0xc0]
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x28], 0xffffffff
call dword [edx + 0xa4]
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
jne 0x4f527d
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x4f5290
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x60]
mov eax, dword [esp + 0xc]
cmp eax, ebp
mov byte [esp + 0x450], 3
je 0x4f52a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x18]
mov byte [esp + 0x450], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov dword [esp + 0x450], 0xffffffff
cmp eax, ebp
je 0x4f52f8
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4f52f8
lea ecx, [esp + 0x18]
mov byte [esp + 0x450], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov dword [esp + 0x450], 0xffffffff
cmp eax, ebp
je 0x4f52f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x448]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x448
ret