Function at 0x4f9920
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x57ffd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x354
push ebx
push ebp
mov ebx, ecx
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x36c], ebp
mov dword [esp + 0x18], ebp
push 0x5ed8c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x370], 1
call fcn.0040f8c0
mov eax, dword [0x5e5d30]
mov byte [esp + 0x36c], 2
cmp eax, ebp
jne 0x4f99d6
cmp dword [0x5e5d2c], ebp
jne 0x4f99d6
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov byte [esp + 0x36c], 3
je 0x4f99a8
mov ecx, eax
call fcn.00464f50
jmp 0x4f99aa
xor eax, eax
mov dword [0x5e5d2c], eax
mov eax, dword [0x5cf938]
push eax
push 0x41dab0
mov ecx, 0x5eafa0
mov byte [esp + 0x374], 2
call fcn.00406600
mov dword [0x5e5d30], 1
mov ecx, dword [esp + 0x20]
mov esi, dword [0x5e5d2c]
mov byte [esp + 0x36c], 1
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4fa23e
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x4fa23e
push 0x5d0a28
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.00427500
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x40]
mov dword [esp + 0x40], ebp
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp dword [esp + 0x40], ebp
je 0x4f9a75
cmp dword [0x5e600c], ebp
je 0x4f9a75
mov eax, dword [esp + 0x18]
mov byte [esp + 0x36c], 0
cmp eax, ebp
je 0x4f9a53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x36c], 0xffffffff
cmp eax, ebp
je 0x4fa26d
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4fa26d
cmp dword [ebx + 0x164], ebp
jne 0x4f9ad8
mov ecx, dword [0x5d44ac]
mov dx, word [0x5d44b0]
mov eax, dword [str.STROMTRAY]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x5d449c]
mov word [esp + 0x34], dx
mov edx, dword [0x5d44a0]
mov dword [esp + 0x2c], eax
mov eax, dword [str.STROMTRAY_CLASS]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [0x5d44a4]
lea edx, [esp + 0x44]
push ecx
push edx
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebx + 0x164], eax
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, ebp
je 0x4f9f3a
mov ecx, dword [str.StormPlayer_Box_641AB5BD_C49D_4992_A84B_AA0F4BBFD336]
push ecx
call fcn.00474260
add esp, 4
push ebp
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 0x20]
push ebp
push edx
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
cmp eax, ebp
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], ebp
je 0x4f9b4d
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push ebp
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
mov dword [esp + 0x10], ebp
call fcn.00413420
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
call dword [ecx + 0x8c]
cmp dword [esp + 0x10], ebp
je 0x4f9b87
mov eax, dword [0x5e6010]
lea ecx, [eax + 0x208]
cmp ecx, ebp
je 0x4f9b87
push ebp
call sub.MFC42.DLL_CWnd::ShowWindow
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [esp + 0x20], ebp
je 0x4f9ecd
mov dword [esp + 0x14], ebp
mov eax, dword [0x5ed920]
mov edi, 0x5ed920
mov ecx, edi
mov byte [esp + 0x36c], 4
mov dword [esp + 0x10], edi
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x36c], 5
cmp eax, ebp
jne 0x4f9c2c
cmp dword [0x5e5cb4], ebp
jne 0x4f9c2c
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x36c], 6
je 0x4f9bfd
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x4f9bff
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x36c], 5
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, edi
mov byte [esp + 0x36c], 4
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [eax + 0x9c]
test eax, eax
mov eax, dword [esp + 0x14]
jl 0x4f9ebb
cmp eax, ebp
je 0x4f9ebb
mov edx, dword [0x5ed920]
mov ecx, edi
mov dword [esp + 0x28], edi
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov bl, 7
cmp eax, ebp
mov byte [esp + 0x36c], bl
jne 0x4f9ce4
cmp dword [0x5e5cb4], ebp
jne 0x4f9ce4
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x36c], 8
je 0x4f9cb7
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x4f9cb9
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x374], bl
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, edi
mov byte [esp + 0x36c], 4
call dword [edx + 8]
mov ecx, esi
call fcn.00483880
cmp eax, 4
je 0x4f9dbb
cmp dword [0x5eb0c4], ebp
je 0x4f9e0c
mov eax, dword [0x5ed920]
mov ecx, edi
mov dword [esp + 0x28], edi
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov bl, 9
cmp eax, ebp
mov byte [esp + 0x36c], bl
jne 0x4f9d96
cmp dword [0x5e5cb4], ebp
jne 0x4f9d96
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x36c], 0xa
je 0x4f9d68
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x4f9d6a
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x36c], bl
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, edi
mov byte [esp + 0x36c], 4
call dword [edx + 8]
mov ecx, esi
call fcn.00483880
cmp eax, 5
jne 0x4f9e0c
push 0x5d1964
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
mov byte [esp + 0x36c], 0xb
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push str.replay
push str.SOFTWAREStorm
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
lea ecx, [esp + 0x10]
mov byte [esp + 0x36c], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x5ed8e0]
mov ecx, 0x5ed8e0
mov dword [esp + 0x28], 0x5ed8e0
call dword [edx + 4]
mov eax, dword [0x5e5d38]
mov byte [esp + 0x36c], 0xc
cmp eax, ebp
jne 0x4f9e90
cmp dword [0x5e5d34], ebp
jne 0x4f9e90
push 0x13e4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x36c], 0xd
je 0x4f9e62
push ebp
mov ecx, eax
call fcn.0041db10
jmp 0x4f9e64
xor eax, eax
mov dword [0x5e5d34], eax
mov eax, dword [0x5cf9c0]
push eax
push 0x41dae0
mov ecx, 0x5eafa0
mov byte [esp + 0x374], 0xc
call fcn.00406600
mov dword [0x5e5d38], 1
mov edx, dword [0x5ed8e0]
mov esi, dword [0x5e5d34]
mov ecx, 0x5ed8e0
mov byte [esp + 0x36c], 4
call dword [edx + 8]
mov ecx, esi
call fcn.00527960
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
cmp eax, ebp
mov byte [esp + 0x36c], 1
je 0x4f9ecd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x158]
call fcn.004fa290
xor edx, edx
lea eax, [esp + 0x158]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x360], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x30], 0x20c
mov dword [esp + 0x34], edx
mov dword [esp + 0x34], eax
cmp dword [ebx + 0x164], ebp
jne 0x4f9f10
mov ecx, ebx
call fcn.00513ca0
mov eax, dword [ebx + 0x164]
cmp eax, ebp
je 0x4fa23e
push ebp
push 0xc350
lea ecx, [esp + 0x34]
push 2
push ecx
push ebp
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
jmp 0x4fa23e
cmp dword [0x5eaf3c], ebp
je 0x4f9f5a
mov edx, dword [str.StormPlayer_Box_641AB5BD_C49D_4992_A84B_AA0F4BBFD336]
push edx
call fcn.00474260
add esp, 4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5ed8e0
lea ecx, [esp + 0x20]
call fcn.0040f8c0
mov eax, dword [0x5e5d38]
mov bl, 0xe
cmp eax, ebp
mov byte [esp + 0x36c], bl
jne 0x4f9fd6
cmp dword [0x5e5d34], ebp
jne 0x4f9fd6
push 0x13e4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x36c], 0xf
je 0x4f9fa9
push ebp
mov ecx, eax
call fcn.0041db10
jmp 0x4f9fab
xor eax, eax
mov dword [0x5e5d34], eax
mov eax, dword [0x5cf9c0]
push eax
push 0x41dae0
mov ecx, 0x5eafa0
mov byte [esp + 0x374], bl
call fcn.00406600
mov dword [0x5e5d38], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [0x5e5d34]
mov byte [esp + 0x36c], 1
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.00527a00
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [0x5e5830]
mov ecx, 0x40
mov byte [esp + 0x54], al
xor eax, eax
lea edi, [esp + 0x55]
lea edx, [esp + 0x54]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x36c], 0x10
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x24]
push edx
push eax
push str.replay
push str.SOFTWAREStorm
push SysReAllocStringLen
mov dword [esp + 0x54], 0x104
mov dword [esp + 0x38], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jl 0x4fa16d
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x10]
push 0x5d1964
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4fa158
mov dword [esp + 0x14], ebp
push 0x5ed920
lea ecx, [esp + 0x20]
mov byte [esp + 0x370], 0x11
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov bl, 0x12
cmp eax, ebp
mov byte [esp + 0x36c], bl
jne 0x4fa10b
cmp dword [0x5e5cb4], ebp
jne 0x4fa10b
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x36c], 0x13
je 0x4fa0de
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x4fa0e0
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x374], bl
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x36c], 0x11
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [eax + 0x9c]
test eax, eax
mov eax, dword [esp + 0x14]
jl 0x4fa146
cmp eax, ebp
je 0x4fa146
mov edx, dword [eax]
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0x36c], 0x10
je 0x4fa158
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.replay
push str.SOFTWAREStorm
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov esi, dword [esp + 0x24]
push 5
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
push 8
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [esp + 0x158]
call fcn.004fa290
mov eax, dword [esi + 0x164]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x158]
mov dword [esp + 0x30], ecx
cmp eax, ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x360], 1
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], 0x20c
jne 0x4fa1d9
mov ecx, esi
call fcn.00513ca0
mov eax, dword [esi + 0x164]
cmp eax, ebp
je 0x4fa1fa
push ebp
push 0xc350
lea ecx, [esp + 0x34]
push 2
push ecx
push ebp
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
mov dword [esp + 0x24], ebp
call fcn.00413420
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [edx + 0x8c]
cmp dword [esp + 0x24], ebp
je 0x4fa22d
mov eax, dword [0x5e6010]
lea ecx, [eax + 0x208]
cmp ecx, ebp
je 0x4fa22d
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esp + 0x10]
mov byte [esp + 0x36c], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov byte [esp + 0x36c], 0
cmp eax, ebp
je 0x4fa254
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x36c], 0xffffffff
cmp eax, ebp
je 0x4fa26d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x360
ret 8