Function at 0x4541e0
Capabilities:
Query or enumerate registry key
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 0x65e43b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1060
call fcn.004b7f70
mov eax, dword [0x7000a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1048], edx
mov esi, ecx
mov dword [ebp - 0x1044], esi
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1020], 0xf003f
jb 0x45425b
mov eax, dword [esi]
lea ecx, [ebp - 0x1040]
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4544fb
xor edi, edi
nop
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 0x800
push eax
lea eax, [ebp - 0x1018]
push eax
push edi
push dword [ebp - 0x1040]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x104c], eax
test eax, eax
jne 0x45449e
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4542c5
mov ecx, dword [esi]
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1038]
push 0x6f7c1c
push eax
call fcn.004557f0
add esp, 0x10
lea ecx, [ebp - 0x103c]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1024], 8
lea eax, [ebp - 0x1038]
push ecx
cmovae eax, dword [ebp - 0x1038]
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4544a9
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 0x800
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x103c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea eax, [ebp - 0x101c]
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push str.SystemComponent
push dword [ebp - 0x103c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
jne 0x454433
test eax, eax
je 0x454433
xorps xmm0, xmm0
mov dword [ebp - 0x1054], esi
lea eax, [ebp - 0x818]
mov dword [ebp - 0x1050], esi
movups xmmword [ebp - 0x1064], xmm0
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4543b0
sub eax, edx
lea ecx, [ebp - 0x1064]
sar eax, 1
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.00451370
mov ecx, dword [ebp - 0x1048]
lea eax, [ebp - 0x1064]
push eax
lea eax, [ebp - 0x106c]
mov byte [ebp - 4], 1
push eax
call fcn.00454e70
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1050]
cmp ecx, 8
jb 0x454433
mov edx, dword [ebp - 0x1064]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454429
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454519
push ecx
push edx
call fcn.004b75c0
add esp, 8
push dword [ebp - 0x103c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1024]
cmp ecx, 8
jb 0x454492
mov edx, dword [ebp - 0x1038]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45447c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454519
push ecx
push edx
call fcn.004b75c0
mov esi, dword [ebp - 0x1044]
add esp, 8
inc edi
jmp 0x454280
mov esi, dword [ebp - 0x1044]
mov eax, dword [ebp - 0x104c]
inc edi
test eax, eax
je 0x454280
jmp 0x4544fb
push dword [ebp - 0x103c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x1040]
call esi
mov ecx, dword [ebp - 0x1024]
cmp ecx, 8
jb 0x4544fb
mov edx, dword [ebp - 0x1038]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4544f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454519
push ecx
push edx
call fcn.004b75c0
add esp, 8
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.004b75b2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004bccbf
int3