Function at 0x48f3e0
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 0x55b0de
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x5d8024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x54], eax
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], 0
mov edx, dword [eax]
test edx, edx
jne 0x48f450
xor eax, eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
jmp 0x48f60b
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x48f45a
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
push 0
lea ecx, [ebp - 0x50]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48f5f5
cmp dword [ebp - 0x4c], eax
je 0x48f5f5
mov eax, dword [ebp - 0x50]
cmp eax, 1
je 0x48f490
cmp eax, 2
jne 0x48f5f5
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
shr ecx, 1
cmp ecx, eax
ja 0x48f4f3
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], ecx
cmovae eax, dword [ebp - 0x44]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x48f500
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x44]
call fcn.0047ac40
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [edi + 0x14], 8
jb 0x48f513
mov edi, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov eax, dword [ebp - 0x54]
push 0
push 0
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48f5e0
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00407c80
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x48f58c
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
cmp edi, 8
cmovae eax, dword [ebp - 0x2c]
cmp word [eax + edx*2 - 2], 0
jne 0x48f58c
lea ecx, [edx - 1]
cmp ecx, edx
ja 0x48f57f
cmp edi, 8
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x48f58c
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0047ac40
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00407f50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00407f50
jmp 0x48f612
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x48f5bf
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 1
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.00521781
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc