Function at 0x451cf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ddc23
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
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 - 0x838], edx
mov dword [ebp - 0x83c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x850], esi
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00668940
xorps xmm0, xmm0
mov dword [ebp - 0x830], 0x400
xor eax, eax
movlpd qword [ebp - 0x858], xmm0
add esp, 0xc
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
cmp dword [ebp + 0x28], 0
lea edx, [ebp - 0x82c]
mov eax, 0x200
mov byte [ebp - 4], 1
mov ecx, 0x100
cmove ecx, eax
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
push edx
cmovae eax, dword [ebp + 0xc]
or ecx, 0x20019
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4520ba
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x858]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45209b
nop dword [eax + eax]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], 0
cmovae eax, dword [ebp - 0x828]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x828]
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.00432ef0
mov edx, dword [ebp - 0x814]
mov eax, edx
mov ecx, dword [ebp - 0x818]
sub eax, ecx
cmp eax, 1
jb 0x451e86
cmp edx, 8
lea esi, [ebp - 0x828]
push 2
cmovae esi, dword [ebp - 0x828]
lea edi, [ecx + 1]
push 0x76a02c
mov dword [ebp - 0x818], edi
lea eax, [esi + ecx*2]
push eax
call fcn.006683c0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x451ea7
push 1
push 0x76a02c
mov byte [ebp - 0x844], 0
lea ecx, [ebp - 0x828]
push dword [ebp - 0x844]
push 1
call fcn.0044f710
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x451eb0
mov ecx, dword [ebp - 0x814]
sub eax, edx
mov edx, dword [ebp - 0x818]
sub ecx, edx
sar eax, 1
cmp eax, ecx
ja 0x451f0c
cmp dword [ebp - 0x814], 8
lea edi, [edx + eax]
lea esi, [ebp - 0x828]
mov dword [ebp - 0x818], edi
cmovae esi, dword [ebp - 0x828]
add eax, eax
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [esi + edx*2]
push eax
call fcn.006683c0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x451f2d
push eax
lea ecx, [ebp - 0x810]
mov byte [ebp - 0x848], 0
push ecx
push dword [ebp - 0x848]
lea ecx, [ebp - 0x828]
push eax
call fcn.0044f710
sub esp, 0x18
lea eax, [ebp - 0x828]
mov esi, esp
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x814], 8
mov edi, dword [ebp - 0x818]
cmovae eax, dword [ebp - 0x828]
mov dword [ebp - 0x84c], eax
cmp edi, 8
jae 0x451f77
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov dword [esi + 0x14], 7
jmp 0x452005
mov eax, edi
mov ecx, SysReAllocString
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x834], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x451f9f
or ecx, 0xffffffff
jmp 0x451fa7
cmp ecx, 0x1000
jb 0x451fd0
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 0x452168
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x451fe3
test ecx, ecx
je 0x451fe1
push ecx
call fcn.0062a275
add esp, 4
mov ecx, eax
jmp 0x451fe3
xor ecx, ecx
lea eax, [edi*2 + 2]
mov dword [esi], ecx
push eax
push dword [ebp - 0x84c]
push ecx
call fcn.00667e40
mov eax, dword [ebp - 0x834]
add esp, 0xc
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edi
mov esi, dword [ebp - 0x850]
push esi
push dword [ebp - 0x838]
call dword [ebp - 0x83c]
test eax, eax
je 0x4520ae
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x452054
push dword [ebp + 0x28]
lea eax, [ebp - 0x828]
push edi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0044e260
mov edx, dword [ebp - 0x838]
mov ecx, dword [ebp - 0x83c]
push esi
call fcn.00451cf0
add esp, 0x24
mov esi, dword [ebp - 0x840]
lea eax, [ebp - 0x858]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x830]
mov dword [ebp - 0x830], 0x400
push eax
lea eax, [ebp - 0x810]
inc esi
push eax
push esi
push dword [ebp - 0x82c]
mov dword [ebp - 0x840], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x451e00
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x4520bc
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x4520f8
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4520ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452168
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
cmp edx, 8
jb 0x45214b
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452141
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45216d
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