Function at 0x452180
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ddc6e
mov eax, dword fs:[0]
push eax
mov eax, 0x1858
call fcn.0062ad90
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x184c], edx
mov dword [ebp - 0x1850], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1848], esi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00668940
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00668940
push 0x1000
lea eax, [ebp - 0x1810]
push 0
push eax
call fcn.00668940
xorps xmm0, xmm0
mov dword [ebp - 0x1844], 0x400
add esp, 0x24
mov dword [ebp - 0x183c], 0x400
mov dword [ebp - 0x182c], 0x1000
movlpd qword [ebp - 0x1864], xmm0
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
cmp dword [ebp + 0x28], 0
lea edx, [ebp - 0x1830]
mov eax, 0x200
mov byte [ebp - 4], 1
mov ecx, 0x100
cmove ecx, eax
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
push edx
cmovae eax, dword [ebp + 0xc]
or ecx, 0x20019
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x452290
xor esi, esi
jmp 0x452718
lea eax, [ebp - 0x1864]
mov dword [ebp - 0x1834], 0
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1844]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push dword [ebp - 0x1830]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x45251d
nop dword [eax + eax]
cmp dword [ebp - 0x1814], 0x10
lea eax, [ebp - 0x1828]
mov dword [ebp - 0x1818], 0
lea ecx, [ebp - 0x1828]
cmovae eax, dword [ebp - 0x1828]
mov byte [eax], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.00430430
mov edx, dword [ebp - 0x1814]
mov eax, edx
mov ecx, dword [ebp - 0x1818]
sub eax, ecx
push 1
push 0x769a64
cmp eax, 1
jb 0x452351
cmp edx, 0x10
lea esi, [ebp - 0x1828]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x1828]
add esi, ecx
mov dword [ebp - 0x1818], eax
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x45236b
mov byte [ebp - 0x1840], 0
lea ecx, [ebp - 0x1828]
push dword [ebp - 0x1840]
push 1
call fcn.00431100
lea edi, [ebp - 0x410]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x452374
mov edx, dword [ebp - 0x1814]
sub edi, ecx
mov ecx, dword [ebp - 0x1818]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x4523c3
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0x1818], eax
lea esi, [ebp - 0x1828]
cmovae esi, dword [ebp - 0x1828]
lea eax, [ebp - 0x410]
add esi, ecx
push eax
push esi
call fcn.006683c0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4523e3
lea eax, [ebp - 0x410]
mov byte [ebp - 0x185c], 0
push eax
push dword [ebp - 0x185c]
lea ecx, [ebp - 0x1828]
push edi
call fcn.00431100
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x4524d6
push dword [ebp + 0x28]
lea eax, [ebp - 0x1828]
push edi
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x1814], 0x10
mov edi, dword [ebp - 0x1818]
cmovae eax, dword [ebp - 0x1828]
mov dword [ebp - 0x1858], eax
cmp edi, 0x10
jae 0x45243c
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov dword [esi + 0x14], 0xf
jmp 0x4524b9
mov eax, edi
mov ecx, SysReAllocString
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x1838], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x452488
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.0062a275
add esp, 4
test eax, eax
je 0x4527b6
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x45249b
test ecx, ecx
je 0x452499
push ecx
call fcn.0062a275
add esp, 4
mov ecx, eax
jmp 0x45249b
xor ecx, ecx
lea eax, [edi + 1]
mov dword [esi], ecx
push eax
push dword [ebp - 0x1858]
push ecx
call fcn.00667e40
mov eax, dword [ebp - 0x1838]
add esp, 0xc
mov dword [esi + 0x14], eax
push dword [ebp - 0x1848]
mov edx, dword [ebp - 0x184c]
mov ecx, dword [ebp - 0x1850]
mov dword [esi + 0x10], edi
call fcn.00452180
add esp, 0x24
mov esi, dword [ebp - 0x1834]
lea eax, [ebp - 0x1864]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1844]
mov dword [ebp - 0x1844], 0x400
push eax
lea eax, [ebp - 0x410]
inc esi
push eax
push esi
push dword [ebp - 0x1830]
mov dword [ebp - 0x1834], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4522d0
lea eax, [ebp - 0x182c]
mov dword [ebp - 0x183c], 0x400
push eax
lea eax, [ebp - 0x1810]
mov dword [ebp - 0x182c], 0x1000
push eax
lea eax, [ebp - 0x1854]
xor edi, edi
push eax
push edi
lea eax, [ebp - 0x183c]
mov dword [ebp - 0x1840], edi
push eax
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x1830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x452707
push dword [ebp - 0x182c]
lea eax, [ebp - 0x1810]
push eax
push dword [ebp - 0x1854]
lea ecx, [ebp - 0x810]
sub esp, 0x18
lea esi, [ecx + 1]
mov edx, esp
mov dword [ebp - 0x1858], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4525b0
sub ecx, esi
lea eax, [ebp - 0x810]
push ecx
push eax
mov ecx, edx
call fcn.00430430
sub esp, 0x18
mov byte [ebp - 4], 2
mov esi, esp
lea eax, [ebp + 0xc]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x20], 0x10
mov ecx, dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
mov dword [ebp - 0x1834], ecx
mov dword [ebp - 0x1838], eax
cmp ecx, 0x10
jae 0x452613
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
jmp 0x452698
mov edi, ecx
mov eax, SysReAllocString
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, eax
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x45265a
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.0062a275
add esp, 4
test eax, eax
je 0x4527b6
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x45266d
test ecx, ecx
je 0x45266b
push ecx
call fcn.0062a275
add esp, 4
mov ecx, eax
jmp 0x45266d
xor ecx, ecx
mov eax, dword [ebp - 0x1834]
inc eax
mov dword [esi], ecx
push eax
push dword [ebp - 0x1838]
push ecx
call fcn.00667e40
mov eax, dword [ebp - 0x1834]
add esp, 0xc
mov dword [esi + 0x14], edi
mov edi, dword [ebp - 0x1840]
mov dword [esi + 0x10], eax
push dword [ebp - 0x1848]
mov byte [ebp - 4], 1
push dword [ebp - 0x184c]
call dword [ebp - 0x1850]
test eax, eax
je 0x452707
lea eax, [ebp - 0x182c]
mov dword [ebp - 0x183c], 0x400
push eax
lea eax, [ebp - 0x1810]
mov dword [ebp - 0x182c], 0x1000
push eax
lea eax, [ebp - 0x1854]
inc edi
push eax
push 0
lea eax, [ebp - 0x183c]
mov dword [ebp - 0x1840], edi
push eax
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x1830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x452572
push dword [ebp - 0x1830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
mov edx, dword [ebp - 0x1814]
cmp edx, 0x10
jb 0x45274e
mov ecx, dword [ebp - 0x1828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452744
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4527b6
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
cmp edx, 0x10
jb 0x452799
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45278f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4527bb
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
call fcn.0068843e
int3