Function at 0x45bce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6fe1
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4ff080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x124], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x118], eax
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
xor al, al
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x120], eax
mov dword [ebp - 0xf4], 0
call fcn.0045fb30
mov esi, eax
lea ecx, [ebp - 0x150]
lea eax, [ebp - 0xf4]
push eax
sub esp, 8
call fcn.0045fa20
mov ecx, dword [eax + 8]
call ecx
push eax
mov eax, dword [esi + 8]
call eax
test eax, eax
jne 0x45bd85
mov dword [ebp - 0xf4], eax
jmp 0x45bd98
cmp dword [ebp - 0xf4], 1
jne 0x45bd98
mov dword [ebp - 0xf4], 1
cmp dword [edi + 0x14], 7
mov esi, edi
jbe 0x45bda2
mov esi, dword [edi]
sub esp, 8
lea ecx, [ebp - 0x150]
call fcn.0045f910
cmp dword [ebp - 0xf4], 1
lea ecx, [ebp - 0x114]
push ecx
mov edx, 0x100
mov ecx, 0x200
mov eax, dword [eax + 8]
cmove ecx, edx
or ecx, 0x20019
push ecx
push 0
push esi
push dword [ebp - 0x124]
call eax
test eax, eax
jne 0x45c64c
sub esp, 8
lea ecx, [ebp - 0x15c]
call fcn.0045f800
mov edi, dword [ebp - 0x114]
push 0xc
mov esi, dword [eax + 8]
call fcn.004a9ec5
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 0
mov dword [eax], vtable.StartupAreas::IFreeProcPtr.0
mov byte [ebp - 4], 1
mov dword [eax], vtable.StartupAreas::FreeProcPtr_long_int____stdcall___struct_HKEY______struct_HKEY____.0
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 2
push 0x7ffe
mov dword [ebp - 0x108], 0x3fff
call fcn.004a9ba9
add esp, 8
mov dword [ebp - 0xf8], 0
xor ecx, ecx
mov dword [ebp - 0x110], 0
mov edi, eax
mov dword [ebp - 0x10c], ecx
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x108], 0x3fff
push eax
push 0
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
lea eax, [ebp - 0x108]
push eax
push edi
push ecx
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ecx, dword [ebp - 0x10c]
inc ecx
mov dword [ebp - 0x10c], ecx
test eax, eax
jne 0x45c605
mov eax, dword [ebp - 0x110]
cmp eax, 1
je 0x45bed8
cmp eax, 7
jne 0x45be80
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
shr eax, 1
mov edx, 2
inc eax
mov dword [ebp - 0x108], 0x3fff
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a9ba9
add esp, 4
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0xf8]
push ecx
push eax
lea eax, [ebp - 0x110]
push eax
push 0
lea eax, [ebp - 0x108]
push eax
push edi
push esi
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x45c605
mov eax, dword [ebp - 0x110]
cmp eax, 1
je 0x45bf52
mov ecx, dword [ebp - 0x10c]
cmp eax, 7
jne 0x45be80
lea eax, [ebp - 0x100]
mov dword [ebp - 0x138], eax
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45c684
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x13c], eax
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45c684
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 7
mov eax, 1
cmp dword [ebp - 0xf4], eax
mov ecx, 4
cmove eax, ecx
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x104], eax
call fcn.00461690
mov edx, eax
test edx, edx
jne 0x45bfde
xor ecx, ecx
jmp 0x45bff2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bfe3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x100]
call fcn.00461270
push 1
push 0x4e8858
lea ecx, [ebp - 0x100]
call fcn.00461460
mov eax, dword [ebp - 0x128]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x45c021
mov edx, dword [eax]
test edx, edx
jne 0x45c029
xor eax, eax
jmp 0x45c03f
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c030
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x100]
call fcn.00461460
cmp word [edi], 0
jne 0x45c05b
push 0x26
push str.0021c3f1_b7ad_4128_865d_6575195f43c5
jmp 0x45c071
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c060
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xfc]
call fcn.00461270
push dword [ebp - 0x12c]
lea ecx, [ebp - 0xb8]
call fcn.00460410
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
push 1
push 0x4e8858
call fcn.00460d90
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x28]
shr eax, 1
xorps xmm0, xmm0
push eax
push dword [ebp - 0x11c]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00463250
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00460d90
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x45c12b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c121
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c68e
push ecx
push edx
call fcn.004aa25b
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x14], 7
push str.InprocServer32
lea ecx, [ebp - 0x88]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
call fcn.00463250
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
mov esi, dword [ebp - 0xec]
lea ecx, [ebp - 0x70]
or esi, 1
mov dword [ebp - 0xec], esi
push dword [ebp - 0x108]
movups xmmword [ebp - 0x70], xmm0
push edi
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.00463250
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x88]
or esi, 2
lea edx, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xec], esi
call fcn.0045b660
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x104]
mov edx, dword [ebp - 0x118]
or esi, 4
push ecx
mov ecx, eax
mov dword [ebp - 0xec], esi
call fcn.0045a5d0
add esp, 8
test al, al
jne 0x45c2bf
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push str.InprocServer32
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.00463250
mov dword [ebp - 4], 0xd
or esi, 8
mov dword [ebp - 0xec], esi
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0xf8]
xorps xmm0, xmm0
shr eax, 1
push eax
push dword [ebp - 0x11c]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00463250
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0x58]
or esi, 0x10
lea edx, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xec], esi
call fcn.0045b660
mov dword [ebp - 4], 0xf
or esi, 0x20
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xec], esi
mov esi, dword [ebp - 0x118]
mov edx, esi
push ecx
mov ecx, eax
call fcn.0045a5d0
add esp, 8
test al, al
jne 0x45c2c5
lea eax, [ebp - 0x104]
mov edx, esi
push eax
lea ecx, [ebp - 0xb8]
call fcn.0045a5d0
add esp, 4
test al, al
jne 0x45c2c5
mov byte [ebp - 0xed], 1
jmp 0x45c2cc
mov esi, dword [ebp - 0x118]
mov byte [ebp - 0xed], 0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0xec]
test al, 0x20
je 0x45c2f7
and eax, 0xffffffdf
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xec], eax
call fcn.00460bf0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 4], 0xd
test al, 0x10
je 0x45c35f
and eax, 0xffffffef
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x45c34b
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c33b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c68e
push ecx
push edx
call fcn.004aa25b
mov eax, dword [ebp - 0xec]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov dword [ebp - 4], 0xc
test al, 8
je 0x45c3c7
and eax, 0xfffffff7
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x45c3b3
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c3a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c68e
push ecx
push edx
call fcn.004aa25b
mov eax, dword [ebp - 0xec]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], cx
mov dword [ebp - 4], 0xb
test al, 4
je 0x45c3ec
and eax, 0xfffffffb
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xec], eax
call fcn.00460bf0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 4], 0xa
test al, 2
je 0x45c454
and eax, 0xfffffffd
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x45c440
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c430
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c68e
push ecx
push edx
call fcn.004aa25b
mov eax, dword [ebp - 0xec]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], cx
mov dword [ebp - 4], 8
test al, 1
je 0x45c4bc
and eax, 0xfffffffe
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, 7
jbe 0x45c4a5
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c49b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c68e
push ecx
push edx
call fcn.004aa25b
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp byte [ebp - 0xed], 0
je 0x45c57d
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xa0]
shr eax, 1
xorps xmm0, xmm0
push eax
push dword [ebp - 0x11c]
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
call fcn.00463250
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x104]
push eax
mov edx, esi
lea ecx, [ebp - 0xa0]
call fcn.0045a5d0
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x45c560
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c68e
push ecx
push edx
call fcn.004aa25b
add esp, 8
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.00460bf0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x11
or eax, 0xffffffff
mov edx, dword [ebp - 0xfc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c5be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x100]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x100]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
mov ecx, dword [ebp - 0x10c]
test eax, eax
jg 0x45be80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10c]
jmp 0x45be80
mov ecx, dword [ebp - 0x120]
cmp eax, 0x103
movzx ecx, cl
mov eax, 1
cmove ecx, eax
push edi
mov dword [ebp - 0x120], ecx
call fcn.004a9ba4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x130]
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
mov edi, dword [ebp - 0x128]
mov eax, dword [ebp - 0xf4]
mov ecx, eax
dec eax
mov dword [ebp - 0xf4], eax
test ecx, ecx
jne 0x45bd98
mov eax, dword [ebp - 0x120]
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.004a9b96
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00456c80
call fcn.004b35c4
int3