Function at 0x4b19d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x564791
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.0044e5c0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x27c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor edi, edi
push 0x5cabc0
mov ecx, 0x5cfd6c
mov dword [esp + 0x58], edi
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov dword [esp + 0x64], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov esi, 1
cmp eax, ebp
mov dword [esp + 0x27c], esi
mov ebx, 2
jne 0x4b1abd
cmp dword [0x5cb0c8], ebp
jne 0x4b1abd
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov byte [esp + 0x27c], bl
je 0x4b1a93
mov ecx, eax
call fcn.0045e9d0
jmp 0x4b1a95
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0x284], 1
call fcn.00406500
mov dword [0x5cb0cc], esi
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
mov dword [esp + 0x27c], 0xffffffff
call dword [edx + 8]
mov ecx, esi
call fcn.0045ef00
lea ecx, [esp + 0x3c]
mov dword [0x5cfaac], eax
mov dword [0x5cfd70], 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.0044e5c0
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.0052c8c0
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x4b2342
cmp dword [esp + 0x4c], ebp
jbe 0x4b2342
lea ecx, [esp + 0x38]
mov byte [esp + 0x27c], 5
push ecx
mov dword [esp + 0x3c], ebp
call fcn.0044c700
add esp, 4
test eax, eax
je 0x4b2328
mov edx, dword [esp + 0x38]
push edx
push esi
call fcn.0044c960
add esp, 8
test eax, eax
je 0x4b2328
mov eax, dword [0x5cfaac]
mov edi, 1
cmp eax, edi
jne 0x4b1bc8
push str.MovieBox_deep.bfsk
jmp 0x4b1bcd
push str.default.bfsk
call fcn.004bd1d0
add esp, 4
lea ecx, [esp + 0x10]
push 0x5c0908
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
push edi
push eax
mov byte [esp + 0x284], 6
call fcn.0044e5c0
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.0054f910
mov eax, dword [0x5cfedc]
mov dword [esp + 0x18], ebp
cmp eax, ebp
je 0x4b1ce9
push 0x5cfedc
lea ecx, [esp + 0x1c]
call fcn.0048c000
cmp eax, ebp
jge 0x4b1ce9
cmp eax, 0x80004002
je 0x4b1ce9
push eax
call fcn.005505fa
mov eax, dword [esp + 0x18]
mov byte [esp + 0x27c], 0xe
cmp eax, ebp
je 0x4b1e8d
push 0x5cfd64
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0054f83e
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0xf
call fcn.00431ac0
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x284], 0xe
call dword [edx + 0x50]
cmp eax, ebp
je 0x4b1daa
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 0x4b1daa
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 [0x5cfd64], 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.0054f83e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 0x11
call fcn.00431ac0
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x280], 0xe
call dword [edx + 0x60]
mov dword [0x5cfd58], 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.0054f83e
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0x12
call fcn.00431ac0
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 0x5b53fc
push eax
call esi
add esp, 8
test eax, eax
jne 0x4b1e37
mov dword [0x5cfd60], ebp
jmp 0x4b1e6b
mov ecx, dword [esp + 0x20]
push 0x5b5ca0
push ecx
call esi
add esp, 8
test eax, eax
jne 0x4b1e52
mov dword [0x5cfd60], edi
jmp 0x4b1e6b
mov edx, dword [esp + 0x20]
push 0x5b6658
push edx
call esi
add esp, 8
test eax, eax
jne 0x4b1e6b
mov dword [0x5cfd60], ebx
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x4b1e81
push 0x80004003
call fcn.005505fa
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], ebp
jmp 0x4b1f00
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 0x4b1f00
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 [0x5cfd64], ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
call fcn.004afb00
push 0x5c08d4
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.0044e5c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], 0xe
call sub.MFC42.DLL_CString::CString
push 0x5c08ac
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.0044e5c0
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 0x4b1fc1
push 0x5bf034
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call fcn.005506a7
cmp eax, ebp
mov dword [esi], eax
jne 0x4b1fc3
mov ecx, 0x5bf034
test ecx, ecx
je 0x4b1fc3
push 0x8007000e
call fcn.005505fa
jmp 0x4b1fc3
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x280], 0xe
mov dword [edi], esi
jne 0x4b1fdb
push 0x8007000e
call fcn.005505fa
lea edx, [esp + 0x28]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x284], 0xe
call fcn.00431ac0
mov ecx, eax
call fcn.00431580
mov byte [esp + 0x27c], 0x18
mov dword [esp + 0x10], ebp
mov bl, 0x1d
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x4b201c
push 0x80004003
call fcn.005505fa
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 0x4b2039
push 0x5b74f0
push esi
push eax
call fcn.00550608
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jge 0x4b224b
cmp dword [esp + 0x24], ebp
jne 0x4b2059
push 0x80004003
call fcn.005505fa
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00431710
mov eax, dword [esp + 0x28]
mov byte [esp + 0x27c], 0x19
cmp eax, ebp
je 0x4b2230
push 0x5c0880
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.0044e5c0
add esp, 8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x27c], 0x19
call sub.MFC42.DLL_CString::CString
cmp dword [esp + 0x28], ebp
jne 0x4b20c0
push 0x80004003
call fcn.005505fa
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x48]
push eax
call fcn.004312b0
mov esi, dword [eax]
mov byte [esp + 0x27c], 0x1b
cmp esi, ebp
je 0x4b2103
cmp dword [esi + 4], ebp
jne 0x4b20fe
mov ecx, dword [esi]
push ecx
call fcn.0055071c
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x4b20fe
cmp dword [esi], ebp
je 0x4b20fe
push 0x8007000e
call fcn.005505fa
mov esi, dword [esi + 4]
jmp 0x4b2105
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 0x4b215a
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4b2156
cmp esi, ebp
je 0x4b2156
mov eax, dword [esi]
cmp eax, ebp
je 0x4b213d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4b214d
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 0x4b221b
push 0x5c0858
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.0044e5c0
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.004b26e0
add esp, 4
lea ecx, [esp + 0x50]
mov esi, eax
push 0x5c082c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x50]
push ebp
push ecx
mov byte [esp + 0x284], 0x1f
call fcn.0044e5c0
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
cmp esi, ebp
je 0x4b221b
mov edi, dword [0x5cfd80]
cmp edi, edi
jl 0x4b220b
lea edx, [edi + 1]
push 0xffffffffffffffff
push edx
mov ecx, 0x5cfd78
call fcn.00481260
mov eax, dword [0x5cfd7c]
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 0x4b2242
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x10]
jmp 0x4b2006
mov eax, dword [esp + 0x24]
mov byte [esp + 0x27c], 0xe
cmp eax, ebp
je 0x4b2261
mov edx, dword [eax]
push eax
call dword [edx + 8]
push 0x5c07f0
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.0044e5c0
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 0x4b22ad
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 0x4b233e
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp edi, ebp
jne 0x4b2348
mov dword [0x5cfd70], 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.0044e5c0
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