Function at 0x45b660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6e40
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x4ff080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x270], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x26c], eax
xor eax, eax
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov dword [ebp - 4], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0xa5
lea eax, [ebp - 0x270]
mov dword [ebp - 0x284], 1
push eax
call fcn.0048bc00
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x288], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b755
sub ecx, dword [ebp - 0x288]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00460d90
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b797
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 7
mov edx, edi
jbe 0x45b7a1
mov edx, dword [edi]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x270], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b7b0
sub ecx, dword [ebp - 0x270]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00460d90
push 1
push 0x4e8858
lea ecx, [ebp - 0x238]
call fcn.00460d90
mov ecx, dword [ebp - 0x26c]
mov eax, ecx
cmp dword [ecx + 0x14], 7
jbe 0x45b7f2
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x238]
push eax
call fcn.00460d90
cmp dword [ebp - 0x224], 7
lea ecx, [ebp - 0x278]
push ecx
push 0x20019
lea eax, [ebp - 0x238]
mov dword [ebp - 0x280], 0x104
cmova eax, dword [ebp - 0x238]
push 0
push eax
push SysReAllocString
mov dword [ebp - 0x27c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45b9c7
mov esi, dword [ebp - 0x278]
push 0xc
call fcn.004a9ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x26c], edi
mov byte [ebp - 4], 4
mov dword [edi], vtable.StartupAreas::IFreeProcPtr.0
mov byte [ebp - 4], 5
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], vtable.StartupAreas::FreeProcPtr_long_int____stdcall___struct_HKEY______struct_HKEY____.0
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x270], edi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
push dword [ebp - 0x278]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45bc42
mov eax, dword [ebp - 0x27c]
cmp eax, 1
je 0x45b8d1
cmp eax, 2
jne 0x45bc42
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x250]
shr eax, 1
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x240], 0
push eax
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0
call fcn.00463250
mov byte [ebp - 4], 7
lea edx, [ebp - 0x250]
cmp dword [ebp - 0x23c], 7
lea ecx, [ebp - 0x268]
cmova edx, dword [ebp - 0x250]
call fcn.00457f40
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x274]
cmp esi, eax
je 0x45b971
mov ecx, esi
call fcn.00460bf0
mov eax, dword [ebp - 0x26c]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.00460bf0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x45bc23
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45bc19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bcd8
jmp 0x45bc19
push 0xa5
lea eax, [ebp - 0x270]
push eax
call fcn.0048bc00
mov byte [ebp - 4], 9
mov edx, dword [eax]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x26c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b9f0
sub ecx, dword [ebp - 0x26c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00460c80
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ba32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x45ba3c
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x238]
push eax
call fcn.00460d90
push 0xa6
lea eax, [ebp - 0x26c]
push eax
call fcn.0048bc00
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ba67
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00460d90
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45baa5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x224], 7
lea ecx, [ebp - 0x278]
push ecx
push 0x20019
lea eax, [ebp - 0x238]
cmova eax, dword [ebp - 0x238]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45bc5b
mov esi, dword [ebp - 0x278]
push 0xc
call fcn.004a9ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x26c], edi
mov byte [ebp - 4], 0xd
mov dword [edi], vtable.StartupAreas::IFreeProcPtr.0
mov byte [ebp - 4], 0xe
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], vtable.StartupAreas::FreeProcPtr_long_int____stdcall___struct_HKEY______struct_HKEY____.0
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x270], edi
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
push dword [ebp - 0x278]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45bc42
mov eax, dword [ebp - 0x27c]
cmp eax, 1
je 0x45bb61
cmp eax, 2
jne 0x45bc42
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x250]
shr eax, 1
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x240], 0
push eax
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0
call fcn.00463250
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x250]
cmp dword [ebp - 0x23c], 7
lea ecx, [ebp - 0x268]
cmova edx, dword [ebp - 0x250]
call fcn.00457f40
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x274]
cmp esi, eax
je 0x45bc01
mov ecx, esi
call fcn.00460bf0
mov eax, dword [ebp - 0x26c]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x268]
call fcn.00460bf0
mov byte [ebp - 4], 0xf
jmp 0x45b984
push ecx
push edx
call fcn.004aa25b
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
jmp 0x45bc48
mov esi, dword [ebp - 0x274]
mov byte [ebp - 4], 1
mov ecx, edi
mov eax, dword [edi]
call dword [eax]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x45bc9b
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45bc91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bcd8
push ecx
push edx
call fcn.004aa25b
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a9b96
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004b35c4
int3