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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ddcbe
mov eax, dword fs:[0]
push eax
mov eax, 0x3058
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 - 0x304c], edx
mov dword [ebp - 0x3050], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3048], esi
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00668940
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00668940
push 0x2000
lea eax, [ebp - 0x3010]
push 0
push eax
call fcn.00668940
xorps xmm0, xmm0
mov dword [ebp - 0x3044], 0x400
xor eax, eax
mov dword [ebp - 0x303c], 0x400
add esp, 0x24
mov dword [ebp - 0x302c], 0x2000
movlpd qword [ebp - 0x3064], xmm0
mov dword [ebp - 0x3018], 0
mov dword [ebp - 0x3014], 7
mov word [ebp - 0x3028], ax
cmp dword [ebp + 0x28], 0
lea edx, [ebp - 0x3030]
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
je 0x4528e2
xor esi, esi
jmp 0x452dc0
lea eax, [ebp - 0x3064]
mov dword [ebp - 0x3034], 0
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x3044]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push dword [ebp - 0x3030]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x452b9f
mov edi, dword [ebp + 0x24]
cmp dword [ebp - 0x3014], 8
lea eax, [ebp - 0x3028]
mov dword [ebp - 0x3018], 0
cmovae eax, dword [ebp - 0x3028]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x3028]
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.00432ef0
mov edx, dword [ebp - 0x3014]
mov eax, edx
mov ecx, dword [ebp - 0x3018]
sub eax, ecx
cmp eax, 1
jb 0x4529a9
cmp edx, 8
lea esi, [ebp - 0x3028]
push 2
cmovae esi, dword [ebp - 0x3028]
lea edi, [ecx + 1]
push 0x76a02c
mov dword [ebp - 0x3018], edi
lea eax, [esi + ecx*2]
push eax
call fcn.006683c0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp + 0x24]
jmp 0x4529ca
push 1
push 0x76a02c
mov byte [ebp - 0x3040], 0
lea ecx, [ebp - 0x3028]
push dword [ebp - 0x3040]
push 1
call fcn.0044f710
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4529d3
mov eax, dword [ebp - 0x3014]
sub ecx, edx
mov edx, dword [ebp - 0x3018]
sub eax, edx
sar ecx, 1
cmp ecx, eax
ja 0x452a33
cmp dword [ebp - 0x3014], 8
lea eax, [ecx + ecx]
push eax
lea esi, [ebp - 0x3028]
cmovae esi, dword [ebp - 0x3028]
lea eax, [ebp - 0x810]
push eax
lea edi, [edx + ecx]
mov dword [ebp - 0x3018], edi
lea eax, [esi + edx*2]
push eax
call fcn.006683c0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp + 0x24]
jmp 0x452a54
push ecx
lea eax, [ebp - 0x810]
mov byte [ebp - 0x305c], 0
push eax
push dword [ebp - 0x305c]
push ecx
lea ecx, [ebp - 0x3028]
call fcn.0044f710
test edi, edi
je 0x452b58
push dword [ebp + 0x28]
lea eax, [ebp - 0x3028]
push edi
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x3014], 8
mov edi, dword [ebp - 0x3018]
cmovae eax, dword [ebp - 0x3028]
mov dword [ebp - 0x3058], eax
cmp edi, 8
jae 0x452aaa
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov dword [esi + 0x14], 7
jmp 0x452b38
mov eax, edi
mov ecx, SysReAllocString
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x3038], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x452ad2
or ecx, 0xffffffff
jmp 0x452ada
cmp ecx, 0x1000
jb 0x452b03
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 0x452e6c
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x452b16
test ecx, ecx
je 0x452b14
push ecx
call fcn.0062a275
add esp, 4
mov ecx, eax
jmp 0x452b16
xor ecx, ecx
lea eax, [edi*2 + 2]
mov dword [esi], ecx
push eax
push dword [ebp - 0x3058]
push ecx
call fcn.00667e40
mov eax, dword [ebp - 0x3038]
add esp, 0xc
mov dword [esi + 0x14], eax
push dword [ebp - 0x3048]
mov edx, dword [ebp - 0x304c]
mov ecx, dword [ebp - 0x3050]
mov dword [esi + 0x10], edi
call fcn.004527d0
mov edi, dword [ebp + 0x24]
add esp, 0x24
mov esi, dword [ebp - 0x3034]
lea eax, [ebp - 0x3064]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x3044]
mov dword [ebp - 0x3044], 0x400
push eax
lea eax, [ebp - 0x810]
inc esi
push eax
push esi
push dword [ebp - 0x3030]
mov dword [ebp - 0x3034], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x452920
lea eax, [ebp - 0x302c]
mov dword [ebp - 0x303c], 0x400
push eax
lea eax, [ebp - 0x3010]
mov dword [ebp - 0x302c], 0x2000
push eax
lea eax, [ebp - 0x3054]
xor edi, edi
push eax
push edi
lea eax, [ebp - 0x303c]
mov dword [ebp - 0x3040], edi
push eax
lea eax, [ebp - 0x1010]
push eax
push edi
push dword [ebp - 0x3030]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x452daf
nop dword [eax]
nop dword [eax + eax]
push dword [ebp - 0x302c]
lea eax, [ebp - 0x3010]
push eax
push dword [ebp - 0x3054]
lea ecx, [ebp - 0x1010]
sub esp, 0x18
lea esi, [ecx + 2]
mov edx, esp
mov dword [ebp - 0x3058], esp
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452c40
sub ecx, esi
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00432ef0
sub esp, 0x18
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp + 0xc]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0x1c]
cmovae ecx, dword [ebp + 0xc]
mov dword [ebp - 0x3034], eax
mov dword [ebp - 0x3038], ecx
cmp eax, 8
jae 0x452ca6
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
mov dword [esi + 0x14], 7
jmp 0x452d3d
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x452ccb
or ecx, 0xffffffff
jmp 0x452cd3
cmp ecx, 0x1000
jb 0x452cfc
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 0x452e6c
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x452d0f
test ecx, ecx
je 0x452d0d
push ecx
call fcn.0062a275
add esp, 4
mov ecx, eax
jmp 0x452d0f
xor ecx, ecx
mov eax, dword [ebp - 0x3034]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x3038]
push ecx
call fcn.00667e40
mov eax, dword [ebp - 0x3034]
add esp, 0xc
mov dword [esi + 0x14], edi
mov edi, dword [ebp - 0x3040]
push dword [ebp - 0x3048]
mov dword [esi + 0x10], eax
push dword [ebp - 0x304c]
mov byte [ebp - 4], 1
call dword [ebp - 0x3050]
test eax, eax
je 0x452daf
lea eax, [ebp - 0x302c]
mov dword [ebp - 0x303c], 0x400
push eax
lea eax, [ebp - 0x3010]
mov dword [ebp - 0x302c], 0x2000
push eax
lea eax, [ebp - 0x3054]
inc edi
push eax
push 0
lea eax, [ebp - 0x303c]
mov dword [ebp - 0x3040], edi
push eax
lea eax, [ebp - 0x1010]
push eax
push edi
push dword [ebp - 0x3030]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x452c00
push dword [ebp - 0x3030]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
mov edx, dword [ebp - 0x3014]
cmp edx, 8
jb 0x452dfc
mov ecx, dword [ebp - 0x3028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452df2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452e6c
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x3018], 0
mov dword [ebp - 0x3014], 7
mov word [ebp - 0x3028], ax
cmp edx, 8
jb 0x452e4f
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452e45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452e71
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