Function at 0x48fab0
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 0x55a4de
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x5d6024]
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 0x48fb20
xor eax, eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
jmp 0x48fcdb
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x48fb2a
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 0x48fcc5
cmp dword [ebp - 0x4c], eax
je 0x48fcc5
mov eax, dword [ebp - 0x50]
cmp eax, 1
je 0x48fb60
cmp eax, 2
jne 0x48fcc5
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 0x48fbc3
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 0x48fbd0
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x44]
call fcn.0047b510
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [edi + 0x14], 8
jb 0x48fbe3
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 0x48fcb0
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.00407c60
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x48fc5c
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 0x48fc5c
lea ecx, [edx - 1]
cmp ecx, edx
ja 0x48fc4f
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 0x48fc5c
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0047b510
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.00407f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00407f30
jmp 0x48fce2
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x48fc8f
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.0052223b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc