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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55183e
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x18]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x20], edi
je 0x454c3f
cmp dword [eax + 0x28], ebx
je 0x454c3f
call fcn.005081a0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4545f3
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x98], ebx
call fcn.005081a0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x454624
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x98], 3
mov ecx, 1
mov eax, 2
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], ecx
push str.SOFTWAREDTSU2PPresets
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], 0x572570
mov dword [esp + 0x70], 0x57257c
mov dword [esp + 0x74], 0x572588
mov dword [esp + 0x54], str.Internal
mov dword [esp + 0x58], str.External
mov dword [esp + 0x5c], 0x572534
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], eax
call fcn.00406220
push 0x56a3d4
lea ecx, [esp + 0x2c]
call fcn.0040aff0
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x45474f
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov ecx, dword [0x569ef0]
mov edx, dword [0x569ef4]
mov eax, dword [0x569eec]
mov dword [esp + 0x78], ecx
mov ecx, dword [0x569efc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x74], eax
mov eax, dword [0x569ef8]
lea edx, [esp + 0x30]
mov dword [esp + 0x84], ecx
push edx
lea ecx, [esp + 0x78]
lea esi, [esp + 0x18]
mov dword [esp + 0x84], eax
call fcn.00429170
add esp, 4
cmp eax, ebx
je 0x45474b
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
push eax
mov edi, 1
lea ecx, [esp + 0x78]
call fcn.004b99d0
mov edi, dword [esp + 0x20]
xor esi, esi
jmp 0x4547a4
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov edx, 0x20006
lea esi, [esp + 0x1c]
call fcn.004170d0
cmp eax, ebx
je 0x4546e1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x45477a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
call fcn.004592f0
lea ecx, [esp + 0x28]
call fcn.004592f0
jmp 0x454c3f
mov edi, dword [esp + 0x20]
mov ecx, dword [0x5677e0]
mov edx, dword [0x5677e4]
mov eax, dword [0x5677e8]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x5677ec]
mov dword [esp + 0x78], edx
mov edx, dword [0x5677f0]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + esi*4 + 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x84], edx
push ecx
lea edx, [esp + 0x78]
push edx
mov ecx, edi
mov dword [esp + 0x38], ebx
call eax
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
jne 0x454804
xor eax, eax
jmp 0x45485f
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x78]
call fcn.00428e50
add esp, 4
test eax, eax
jl 0x45485b
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebx
push edi
push edx
mov dword [esp + 0x44], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x454854
cmp dword [esp + 0x3c], 4
jne 0x454854
mov dword [esp + 0x24], 1
push edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, dword [esp + 0x30]
mov edi, 1
push eax
lea ecx, [esp + 0x78]
call fcn.004b99d0
add esi, edi
cmp esi, 3
jb 0x4547a0
push 0x566c94
lea ecx, [esp + 0x3c]
call fcn.00405ee0
mov byte [esp + 0x98], 4
mov ecx, dword [0x567a3c]
mov edx, dword [0x567a40]
mov eax, dword [0x567a38]
mov dword [esp + 0x78], ecx
mov ecx, dword [0x567a48]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [0x567a44]
mov dword [esp + 0x84], ecx
push edx
lea ecx, [esp + 0x78]
lea edx, [esp + 0x18]
mov dword [esp + 0x84], eax
call fcn.00429700
mov esi, dword [esp + 0x24]
add esp, 4
lea eax, [esp + 0x74]
push eax
lea ebx, [esp + 0x3c]
mov eax, esi
call fcn.004b97f0
mov ecx, dword [0x567a9c]
mov edx, dword [0x567aa0]
mov eax, dword [0x567aa4]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x567aa8]
mov dword [esp + 0x78], edx
mov edx, dword [0x567aac]
mov dword [esp + 0x7c], eax
mov eax, ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
push eax
lea ecx, [esp + 0x78]
lea edx, [esp + 0x18]
call fcn.00429700
add esp, 4
lea ecx, [esp + 0x74]
push ecx
mov eax, esi
call fcn.004b97f0
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, esi
je 0x454965
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x28]
mov edx, esi
mov eax, dword [esp + edx + 0x50]
lea edi, [ecx - 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
jmp 0x4549a4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + edx + 0x50]
mov ecx, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
jmp 0x4549a4
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp edi, esi
je 0x4549fa
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4549ec
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x4549ec
push edi
call fcn.00402380
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4549df
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
jmp 0x4549fa
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004062a0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x454a14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454a05
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00405e50
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + edx + 0x68]
test ecx, ecx
jne 0x454a33
xor eax, eax
jmp 0x454a4f
mov eax, ecx
lea esi, [eax + 2]
jmp 0x454a40
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x454a40
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00405e50
push 7
push 0x5725dc
lea ecx, [esp + 0x20]
call fcn.00405e50
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x454b7c
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x454aa5
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x34], edi
jne 0x454b78
xor esi, esi
mov eax, dword [esi + 0x5b5efc]
mov edx, dword [eax]
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [esi + 0x5b5ef8]
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x8c], edx
call fcn.00428fd0
add esp, 8
test eax, eax
je 0x454b56
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x454b56
mov eax, dword [esp + 0x40]
mov eax, dword [esp + eax + 0x5c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + eax + 0x48]
push eax
lea eax, [esp + 0x7c]
push eax
call edx
mov eax, dword [esi + 0x5b5ef8]
mov edx, dword [esp + 0x20]
push eax
mov eax, ebx
lea ecx, [esp + 0x78]
call fcn.004b92d0
push ebx
call fcn.00525b29
add esp, 4
add esi, 0x18
cmp esi, 0x348
jb 0x454ab7
test edi, edi
je 0x454b78
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], 0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
add eax, 4
cmp eax, 0xc
mov dword [esp + 0x40], eax
jb 0x4549a0
mov eax, dword [esp + 0x24]
add eax, 4
cmp eax, 0xc
mov dword [esp + 0x24], eax
jb 0x454984
mov ecx, dword [esp + 0x20]
call fcn.00454c60
mov byte [esp + 0x98], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454bd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x454be4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x454bf3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x98], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454c1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x98], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454c3f
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret