Function at 0x457800
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54a276
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x18], ebx
mov dword [esp + 0x24], eax
je 0x457f3f
mov eax, 1
mov dword [esp + 0x7c], str.Movie
mov dword [esp + 0x80], str.Music
mov dword [esp + 0x84], str.Game
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 2
mov dword [esp + 0x70], 4
mov dword [esp + 0x18], ebx
push str.SOFTWAREDTSPremiumSuitPresets
lea ecx, [esp + 0x18]
mov dword [esp + 0x10c], ebx
call fcn.00404670
lea eax, [esp + 0x10]
push eax
push 0x20019
mov byte [esp + 0x110], 1
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x457946
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
mov ecx, 0x564548
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.00428940
add esp, 4
test eax, eax
je 0x457937
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
push eax
lea edi, [ebx + 1]
mov ecx, 0x564548
call fcn.004b51d0
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x457946
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x9c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], 0x5adddc
mov dword [esp + 0x4c], 3
mov dword [esp + 0x10], ebx
push 0x20
push str.SOFTWAREDTSPremiumSuitPresets
lea ecx, [esp + 0x1c]
call fcn.00404a30
push 1
push 0x56497c
lea ecx, [esp + 0x1c]
call fcn.00404550
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
cmp edx, ebx
jne 0x457993
xor eax, eax
jmp 0x4579af
mov eax, edx
lea esi, [eax + 2]
jmp 0x4579a0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4579a0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00404550
mov edx, dword [esp + 0x10]
mov edx, dword [esp + edx + 0x7c]
cmp edx, ebx
jne 0x4579ca
xor eax, eax
jmp 0x4579df
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4579d0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00404550
push 7
push str.Default
lea ecx, [esp + 0x1c]
call fcn.00404550
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push 0x20019
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x457edd
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x457a32
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x457edd
cmp dword [ebp + 0xc], ebx
je 0x457ce2
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x18]
test dword [eax + 0x104], 0x8000
jne 0x457ce2
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + eax + 0x68]
mov dword [esp + 0xb4], 0x5624c8
mov dword [esp + 0xb8], 0x5624dc
mov dword [esp + 0xbc], 0x5623ec
mov dword [esp + 0xc0], 0x562400
mov dword [esp + 0xc4], 0x562414
mov dword [esp + 0xc8], 0x562428
mov dword [esp + 0xcc], 0x56243c
mov dword [esp + 0xd0], 0x562450
mov dword [esp + 0xd4], 0x562478
mov dword [esp + 0xd8], 0x56248c
mov dword [esp + 0xdc], 0x5624a0
mov dword [esp + 0xe0], 0x5624b4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], ecx
jmp 0x457b10
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + edx*4 + 0xb4]
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
mov dword [esp + 0xe4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xe8], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xec], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0xf0], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xf4], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x90], edx
mov edx, dword [eax + 0x10]
xor edi, edi
cmp esi, ebx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x28], ebx
je 0x457be0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x8c]
call fcn.00428620
add esp, 4
test eax, eax
jl 0x457be0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x6c]
push eax
push ebx
mov ebx, dword [esp + 0x38]
push ebx
push esi
mov dword [esp + 0x4c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x457bd5
cmp dword [esp + 0x64], 4
jne 0x457bd5
lea edi, [eax + 1]
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jne 0x457c10
lea esi, [esp + 0xe4]
lea ebx, [esp + 0x50]
call fcn.00422d00
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457c10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x44], 0
je 0x457c24
add dword [esp + 0xf4], 0xbb8
jmp 0x457c43
cmp dword [esp + 0x40], 0
je 0x457c38
add dword [esp + 0xf4], 0x3e8
jmp 0x457c43
add dword [esp + 0xf4], 0x7d0
mov eax, dword [esp + 0x3c]
cmp eax, 4
jne 0x457c59
add dword [esp + 0xf4], 0x9c40
jmp 0x457c76
cmp eax, 2
jne 0x457c6b
add dword [esp + 0xf4], 0x4e20
jmp 0x457c76
add dword [esp + 0xf4], 0x2710
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ecx
mov edi, 1
lea ecx, [esp + 0xe8]
call fcn.004b51d0
test eax, eax
jne 0x457cc4
lea esi, [esp + 0xe4]
lea ebx, [esp + 0x5c]
call fcn.00422d00
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457cc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add eax, 1
xor ebx, ebx
cmp eax, 0xc
mov dword [esp + 0x1c], eax
jb 0x457b10
mov edi, dword [esp + 0x30]
cmp dword [ebp + 0x10], ebx
je 0x457ece
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x18]
test byte [edx + 0x106], 1
jne 0x457ece
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x44], eax
mov eax, dword [esp + edx + 0x68]
mov dword [esp + 0x74], 0x562388
mov dword [esp + 0x78], 0x56239c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], eax
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + ecx*4 + 0x74]
mov dword [esp + 0x28], ebx
mov edx, dword [eax]
mov dword [esp + 0xe4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xe8], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xec], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xf0], ecx
mov edx, dword [eax + 0x10]
xor edi, edi
cmp esi, ebx
mov dword [esp + 0xf4], edx
mov dword [esp + 0x2c], ebx
je 0x457dcc
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xe8]
call fcn.00428620
add esp, 4
test eax, eax
jl 0x457dcc
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x5c]
push eax
push ebx
mov ebx, dword [esp + 0x3c]
push ebx
push esi
mov dword [esp + 0x54], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x457dc1
cmp dword [esp + 0x54], 4
jne 0x457dc1
lea edi, [eax + 1]
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jne 0x457dfc
lea esi, [esp + 0xe4]
lea ebx, [esp + 0x58]
call fcn.00422d00
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457dfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x40], 0
je 0x457e10
add dword [esp + 0xf4], 0xbb8
jmp 0x457e2f
cmp dword [esp + 0x44], 0
je 0x457e24
add dword [esp + 0xf4], 0x3e8
jmp 0x457e2f
add dword [esp + 0xf4], 0x7d0
mov eax, dword [esp + 0x34]
cmp eax, 4
jne 0x457e45
add dword [esp + 0xf4], 0x9c40
jmp 0x457e62
cmp eax, 2
jne 0x457e57
add dword [esp + 0xf4], 0x4e20
jmp 0x457e62
add dword [esp + 0xf4], 0x2710
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov edi, 1
lea ecx, [esp + 0xe8]
call fcn.004b51d0
test eax, eax
jne 0x457eb0
lea esi, [esp + 0xe4]
lea ebx, [esp + 0x60]
call fcn.00422d00
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457eb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add eax, 1
xor ebx, ebx
cmp eax, 2
mov dword [esp + 0x1c], eax
jb 0x457d30
mov edi, dword [esp + 0x30]
cmp esi, ebx
je 0x457edd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
add eax, 4
cmp eax, 0xc
mov dword [esp + 0x10], eax
jb 0x457965
add dword [esp + 0x38], 4
add edi, 8
sub dword [esp + 0x4c], 1
mov dword [esp + 0x30], edi
jne 0x457961
mov byte [esp + 0x108], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457f30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x457f3f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0052151a
mov esp, ebp
pop ebp
ret 0xc