Function at 0x47c660
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 0x5cb142
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x238
mov eax, dword [0x66e5c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebx + 0xc], 0
mov edx, 0x20019
mov esi, dword [ebx + 8]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x23c], 0
je 0x47c72d
call fcn.004685a0
test al, al
je 0x47c728
mov dword [ebp - 4], 3
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 1
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], 1
jmp 0x47c8fd
mov edx, 0x20119
mov dword [ebp - 4], 4
movzx eax, byte [ebx + 0x10]
add eax, 0x80000001
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], cx
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x21c]
cmp dword [ecx + 0x14], 7
jbe 0x47c795
mov ecx, dword [ecx]
lea esi, [ebp - 0x23c]
push esi
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x220]
test eax, eax
jne 0x47c87e
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ce740
add esp, 0xc
mov dword [ebp - 0x21c], 0x1fe
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x220], 1
jbe 0x47c7e7
mov edi, dword [edi]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push edi
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47c868
mov eax, dword [ebp - 0x21c]
cmp eax, 0x100
jae 0x47c833
add eax, eax
cmp eax, 0x200
jae 0x47c91f
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
cmp word [ebp - 0x218], 0
je 0x47c868
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c846
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.0044e9f0
push dword [ebp - 0x23c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x23c], 0
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 8
xor eax, eax
movups xmm0, xmmword [ebp - 0x238]
mov word [ebp - 0x238], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov byte [ebp - 4], 7
mov dword [ebp - 0x240], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 4], al
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.004c3ed9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
call fcn.004c4629
int3