Function at 0x4b9c50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57ab91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push ebx
push ebp
push esi
push edi
push str.LoadDefaultTheme_in
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
xor ebp, ebp
lea eax, [esp + 0x10]
push ebp
push eax
mov dword [esp + 0x284], ebp
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x27c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor edi, edi
push 0x5e5830
mov ecx, 0x5eab6c
mov dword [esp + 0x58], edi
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [0x5ed8c0]
mov ecx, 0x5ed8c0
mov dword [esp + 0x64], ecx
call dword [edx + 4]
mov eax, dword [0x5e5d30]
mov esi, 1
cmp eax, ebp
mov dword [esp + 0x27c], esi
mov ebx, 2
jne 0x4b9d3d
cmp dword [0x5e5d2c], ebp
jne 0x4b9d3d
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov byte [esp + 0x27c], bl
je 0x4b9d13
mov ecx, eax
call fcn.00464f50
jmp 0x4b9d15
xor eax, eax
mov dword [0x5e5d2c], eax
mov eax, dword [0x5cf938]
push eax
push 0x41dab0
mov ecx, 0x5eafa0
mov byte [esp + 0x284], 1
call fcn.00406600
mov dword [0x5e5d30], esi
mov edx, dword [0x5ed8c0]
mov esi, dword [0x5e5d2c]
mov ecx, 0x5ed8c0
mov dword [esp + 0x27c], 0xffffffff
call dword [edx + 8]
mov ecx, esi
call fcn.00465480
lea ecx, [esp + 0x3c]
mov dword [0x5ea8a4], eax
mov dword [0x5eab70], 1
mov dword [esp + 0x4c], ebp
call sub.MFC42.DLL_CString::CString_3
push 0xfa
lea eax, [esp + 0x40]
push str.RES:__DKPS__d
push eax
mov dword [esp + 0x288], 3
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push str.LoadDefaultTheme
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
push ebp
push ecx
mov byte [esp + 0x284], 4
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.0053b110
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x4ba5c2
cmp dword [esp + 0x4c], ebp
jbe 0x4ba5c2
lea ecx, [esp + 0x38]
mov byte [esp + 0x27c], 5
push ecx
mov dword [esp + 0x3c], ebp
call fcn.00452a60
add esp, 4
test eax, eax
je 0x4ba5a8
mov edx, dword [esp + 0x38]
push edx
push esi
call fcn.00452cc0
add esp, 8
test eax, eax
je 0x4ba5a8
mov eax, dword [0x5ea8a4]
mov edi, 1
cmp eax, edi
jne 0x4b9e48
push str.MovieBox_deep.bfsk
jmp 0x4b9e4d
push str.default.bfsk
call fcn.004c54b0
add esp, 4
lea ecx, [esp + 0x10]
push 0x5db0b8
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
push edi
push eax
mov byte [esp + 0x284], 6
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 5
call sub.MFC42.DLL_CString::CString
push str.PLopen
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
push str.PLmode
lea ecx, [esp + 0x48]
mov byte [esp + 0x280], 7
call sub.MFC42.DLL_CString::CString_2
push str.PLcycle
lea ecx, [esp + 0x5c]
mov byte [esp + 0x280], 8
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x64]
mov byte [esp + 0x27c], 9
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 0xb
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], 0x208
mov byte [esp + 0x6c], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x34]
mov byte [esp + 0x27c], 0xc
call sub.MFC42.DLL_CString::CString_3
push str.SOFTWAREStorm
lea ecx, [esp + 0x34]
mov byte [esp + 0x280], 0xd
call sub.MFC42.DLL_CString::operator_2
push str._skinsclassic2
lea ecx, [esp + 0x34]
call fcn.00564d16
mov eax, dword [0x5eacdc]
mov dword [esp + 0x18], ebp
cmp eax, ebp
je 0x4b9f69
push 0x5eacdc
lea ecx, [esp + 0x1c]
call fcn.00493590
cmp eax, ebp
jge 0x4b9f69
cmp eax, 0x80004002
je 0x4b9f69
push eax
call fcn.00565a92
mov eax, dword [esp + 0x18]
mov byte [esp + 0x27c], 0xe
cmp eax, ebp
je 0x4ba10d
push 0x5eab64
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00564cce
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0xf
call fcn.00436700
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x284], 0xe
call dword [edx + 0x50]
cmp eax, ebp
je 0x4ba02a
lea eax, [esp + 0x60]
lea ecx, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x44]
push ecx
push edx
push str.pref
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4ba02a
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x27c], 0x10
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::operator_2
push str.PLopen_true
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Find_2
xor edx, edx
lea ecx, [esp + 0x14]
test eax, eax
setge dl
mov dword [0x5eab64], edx
mov byte [esp + 0x27c], 0xe
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00564cce
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 0x11
call fcn.00436700
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x280], 0xe
call dword [edx + 0x60]
mov dword [0x5eab58], eax
lea eax, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00564cce
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0x12
call fcn.00436700
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x284], 0xe
call dword [edx + 0x58]
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5cf478
push eax
call esi
add esp, 8
test eax, eax
jne 0x4ba0b7
mov dword [0x5eab60], ebp
jmp 0x4ba0eb
mov ecx, dword [esp + 0x20]
push 0x5cf990
push ecx
call esi
add esp, 8
test eax, eax
jne 0x4ba0d2
mov dword [0x5eab60], edi
jmp 0x4ba0eb
mov edx, dword [esp + 0x20]
push 0x5d0970
push edx
call esi
add esp, 8
test eax, eax
jne 0x4ba0eb
mov dword [0x5eab60], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x4ba101
push 0x80004003
call fcn.00565a92
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], ebp
jmp 0x4ba180
lea edx, [esp + 0x60]
lea eax, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x44]
push eax
push ecx
push str.pref
push edx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4ba180
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x280], 0x13
call sub.MFC42.DLL_CString::operator_2
push str.PLopen_true
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Find_2
xor ecx, ecx
mov byte [esp + 0x27c], 0xe
test eax, eax
setge cl
mov dword [0x5eab64], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
call fcn.004b7d80
push 0x5db084
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x10]
push ebp
push edx
mov byte [esp + 0x284], 0x14
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 0xe
call sub.MFC42.DLL_CString::CString
push 0x5db05c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
push ebp
push eax
mov byte [esp + 0x284], 0x15
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 0xe
call sub.MFC42.DLL_CString::CString
push ecx
mov dword [esp + 0x20], esp
mov edi, esp
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebp
mov byte [esp + 0x280], 0x16
je 0x4ba241
push 0x5d974c
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call fcn.00565b3f
cmp eax, ebp
mov dword [esi], eax
jne 0x4ba243
mov ecx, 0x5d974c
test ecx, ecx
je 0x4ba243
push 0x8007000e
call fcn.00565a92
jmp 0x4ba243
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x280], 0xe
mov dword [edi], esi
jne 0x4ba25b
push 0x8007000e
call fcn.00565a92
lea edx, [esp + 0x28]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x284], 0xe
call fcn.00436700
mov ecx, eax
call fcn.004361b0
mov byte [esp + 0x27c], 0x18
mov dword [esp + 0x10], ebp
mov bl, 0x1d
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x4ba29c
push 0x80004003
call fcn.00565a92
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebp
jge 0x4ba2b9
push 0x5d1838
push esi
push eax
call fcn.00565aa0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jge 0x4ba4cb
cmp dword [esp + 0x24], ebp
jne 0x4ba2d9
push 0x80004003
call fcn.00565a92
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00436340
mov eax, dword [esp + 0x28]
mov byte [esp + 0x27c], 0x19
cmp eax, ebp
je 0x4ba4b0
push 0x5db030
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x5c]
push ebp
push edx
mov byte [esp + 0x284], 0x1a
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x27c], 0x19
call sub.MFC42.DLL_CString::CString
cmp dword [esp + 0x28], ebp
jne 0x4ba340
push 0x80004003
call fcn.00565a92
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x48]
push eax
call fcn.00435ee0
mov esi, dword [eax]
mov byte [esp + 0x27c], 0x1b
cmp esi, ebp
je 0x4ba383
cmp dword [esi + 4], ebp
jne 0x4ba37e
mov ecx, dword [esi]
push ecx
call fcn.00565bb4
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x4ba37e
cmp dword [esi], ebp
je 0x4ba37e
push 0x8007000e
call fcn.00565a92
mov esi, dword [esi + 4]
jmp 0x4ba385
xor esi, esi
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esp + 0x48]
mov byte [esp + 0x27c], bl
cmp esi, ebp
je 0x4ba3da
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x4ba3d6
cmp esi, ebp
je 0x4ba3d6
mov eax, dword [esi]
cmp eax, ebp
je 0x4ba3bd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4ba3cd
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x48], ebp
mov eax, dword [str.THEME]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4ba49b
push 0x5db008
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x68]
push ebp
push edx
mov byte [esp + 0x284], 0x1e
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x68]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
push eax
call fcn.004ba960
add esp, 4
lea ecx, [esp + 0x50]
mov esi, eax
push 0x5dafdc
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x50]
push ebp
push ecx
mov byte [esp + 0x284], 0x1f
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
cmp esi, ebp
je 0x4ba49b
mov edi, dword [0x5eab80]
cmp edi, edi
jl 0x4ba48b
lea edx, [edi + 1]
push 0xffffffffffffffff
push edx
mov ecx, 0x5eab78
call fcn.004eced0
mov eax, dword [0x5eab7c]
mov dword [esp + 0x54], 1
mov dword [eax + edi*4], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0x27c], 0x18
je 0x4ba4c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x10]
jmp 0x4ba286
mov eax, dword [esp + 0x24]
mov byte [esp + 0x27c], 0xe
cmp eax, ebp
je 0x4ba4e1
mov edx, dword [eax]
push eax
call dword [edx + 8]
push 0x5dafa0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
push 1
push eax
mov byte [esp + 0x284], 0x20
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0xe
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov byte [esp + 0x27c], 0xd
cmp eax, ebp
je 0x4ba52d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x34]
mov byte [esp + 0x27c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x27c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x27c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x27c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 5
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
mov byte [esp + 0x27c], 3
cmp eax, ebp
je 0x4ba5be
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp edi, ebp
jne 0x4ba5c8
mov dword [0x5eab70], ebp
push str.LoadDefaultTheme_out
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
push ebp
push eax
mov byte [esp + 0x284], 0x21
call fcn.00454ac0
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x27c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x274]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x270
ret