Function at 0x45bc80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7bf1
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x502054]
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.0045fad0
mov esi, eax
lea ecx, [ebp - 0x150]
lea eax, [ebp - 0xf4]
push eax
sub esp, 8
call fcn.0045f9c0
mov ecx, dword [eax + 8]
call ecx
push eax
mov eax, dword [esi + 8]
call eax
mov ecx, 1
test eax, eax
jne 0x45bd2a
mov dword [ebp - 0xf4], eax
jmp 0x45bd40
mov eax, dword [ebp - 0xf4]
cmp eax, 1
cmove eax, ecx
mov dword [ebp - 0xf4], eax
nop dword [eax]
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x45bd4a
mov esi, dword [edi]
sub esp, 8
lea ecx, [ebp - 0x150]
call fcn.0045f8b0
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 0x45c5ec
sub esp, 8
lea ecx, [ebp - 0x15c]
call fcn.0045f7a0
mov edi, dword [ebp - 0x114]
push 0xc
mov esi, dword [eax + 8]
call fcn.004a9d6b
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.004a9926
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 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 0x45c5a5
mov eax, dword [ebp - 0x110]
cmp eax, 1
je 0x45be78
cmp eax, 7
jne 0x45be20
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.004a9926
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 0x45c5a5
mov eax, dword [ebp - 0x110]
cmp eax, 1
je 0x45bef2
mov ecx, dword [ebp - 0x10c]
cmp eax, 7
jne 0x45be20
lea eax, [ebp - 0x100]
mov dword [ebp - 0x138], eax
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x45c624
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.00456f20
mov ecx, eax
test ecx, ecx
je 0x45c624
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.00461630
mov edx, eax
test edx, edx
jne 0x45bf7e
xor ecx, ecx
jmp 0x45bf92
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bf83
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x100]
call fcn.00461210
push 1
push 0x4ec208
lea ecx, [ebp - 0x100]
call fcn.00461400
mov eax, dword [ebp - 0x128]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x45bfc1
mov edx, dword [eax]
test edx, edx
jne 0x45bfc9
xor eax, eax
jmp 0x45bfdf
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45bfd0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x100]
call fcn.00461400
cmp word [edi], 0
jne 0x45bffb
push 0x26
push str.0021c3f1_b7ad_4128_865d_6575195f43c5
jmp 0x45c011
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c000
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xfc]
call fcn.00461210
push dword [ebp - 0x12c]
lea ecx, [ebp - 0xb8]
call fcn.004603b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
push 1
push 0x4ec208
call fcn.00460d30
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.004631a0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00460d30
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x45c0cb
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c0c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c62e
push ecx
push edx
call fcn.004aa103
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.004631a0
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.004631a0
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.0045b600
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.0045a540
add esp, 8
test al, al
jne 0x45c25f
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.004631a0
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.004631a0
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.0045b600
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.0045a540
add esp, 8
test al, al
jne 0x45c265
lea eax, [ebp - 0x104]
mov edx, esi
push eax
lea ecx, [ebp - 0xb8]
call fcn.0045a540
add esp, 4
test al, al
jne 0x45c265
mov byte [ebp - 0xed], 1
jmp 0x45c26c
mov esi, dword [ebp - 0x118]
mov byte [ebp - 0xed], 0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0xec]
test al, 0x20
je 0x45c297
and eax, 0xffffffdf
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xec], eax
call fcn.00460b90
mov eax, dword [ebp - 0xec]
mov dword [ebp - 4], 0xd
test al, 0x10
je 0x45c2ff
and eax, 0xffffffef
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x45c2eb
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c2db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c62e
push ecx
push edx
call fcn.004aa103
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 0x45c367
and eax, 0xfffffff7
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x45c353
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c343
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c62e
push ecx
push edx
call fcn.004aa103
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 0x45c38c
and eax, 0xfffffffb
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xec], eax
call fcn.00460b90
mov eax, dword [ebp - 0xec]
mov dword [ebp - 4], 0xa
test al, 2
je 0x45c3f4
and eax, 0xfffffffd
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x45c3e0
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c3d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c62e
push ecx
push edx
call fcn.004aa103
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 0x45c45c
and eax, 0xfffffffe
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x45c445
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c43b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c62e
push ecx
push edx
call fcn.004aa103
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 0x45c51d
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.004631a0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x104]
push eax
mov edx, esi
lea ecx, [ebp - 0xa0]
call fcn.0045a540
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x8c]
cmp ecx, 8
jb 0x45c500
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c4f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c62e
push ecx
push edx
call fcn.004aa103
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.00460b90
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 0x45c55e
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 0x45be20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10c]
jmp 0x45be20
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.004a9921
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 0x45bd40
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.004a9913
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00456c70
call fcn.004b3474
int3