Function at 0x45b600
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 0x4c7a50
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x280
mov eax, dword [0x502054]
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.0048bb10
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 0x45b6f5
sub ecx, dword [ebp - 0x288]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00460d30
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 0x45b737
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x45b741
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 0x45b750
sub ecx, dword [ebp - 0x270]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00460d30
push 1
push 0x4ec208
lea ecx, [ebp - 0x238]
call fcn.00460d30
mov ecx, dword [ebp - 0x26c]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x45b792
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x238]
push eax
call fcn.00460d30
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x278]
push ecx
push 0x20019
lea eax, [ebp - 0x238]
mov dword [ebp - 0x280], 0x104
cmovae 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 0x45b967
mov esi, dword [ebp - 0x278]
push 0xc
call fcn.004a9d6b
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 0x45bbe2
mov eax, dword [ebp - 0x27c]
cmp eax, 1
je 0x45b871
cmp eax, 2
jne 0x45bbe2
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.004631a0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x268]
cmovae edx, dword [ebp - 0x250]
call fcn.00457f00
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x274]
cmp esi, eax
je 0x45b911
mov ecx, esi
call fcn.00460b90
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.00460b90
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x23c]
cmp ecx, 8
jb 0x45bbc3
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45bbb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bc78
jmp 0x45bbb9
push 0xa5
lea eax, [ebp - 0x270]
push eax
call fcn.0048bb10
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 0x45b990
sub ecx, dword [ebp - 0x26c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00460c20
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 0x45b9d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x45b9dc
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x238]
push eax
call fcn.00460d30
push 0xa6
lea eax, [ebp - 0x26c]
push eax
call fcn.0048bb10
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 0x45ba07
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00460d30
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 0x45ba45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x278]
push ecx
push 0x20019
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45bbfb
mov esi, dword [ebp - 0x278]
push 0xc
call fcn.004a9d6b
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 0x45bbe2
mov eax, dword [ebp - 0x27c]
cmp eax, 1
je 0x45bb01
cmp eax, 2
jne 0x45bbe2
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.004631a0
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x268]
cmovae edx, dword [ebp - 0x250]
call fcn.00457f00
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x274]
cmp esi, eax
je 0x45bba1
mov ecx, esi
call fcn.00460b90
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.00460b90
mov byte [ebp - 4], 0xf
jmp 0x45b924
push ecx
push edx
call fcn.004aa103
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
jmp 0x45bbe8
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, 8
jb 0x45bc3b
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45bc31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bc78
push ecx
push edx
call fcn.004aa103
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.004a9913
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004b3474
int3