Function at 0x47cc40
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 0x5cb18b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
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
mov edi, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x240], 0
call fcn.004685a0
movzx eax, al
lea ecx, [ebp - 0x23c]
shl eax, 8
add eax, 0x20019
push str.SOFTWAREClasses_
mov dword [ebp - 0x224], eax
call fcn.0044e850
mov dword [ebp - 4], 0
movzx eax, byte [ebx + 8]
add eax, 0x80000001
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x244], eax
mov eax, dword [edi + 0x10]
jbe 0x47ccd8
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x23c]
call fcn.0044eb60
push 0x10
push str.OpenWithProgids
lea ecx, [ebp - 0x23c]
call fcn.0044eb60
cmp dword [ebp - 0x228], 7
lea ecx, [ebp - 0x240]
push ecx
push dword [ebp - 0x224]
lea eax, [ebp - 0x23c]
cmova eax, dword [ebp - 0x23c]
push 0
push eax
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47cecb
push 0x208
xor edi, edi
mov dword [ebp - 0x224], 0x103
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.004ce740
add esp, 0xc
lea eax, [ebp - 0x224]
push edi
push edi
push edi
push edi
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x47ceb5
nop word [eax + eax]
cmp word [ebp - 0x220], 0
je 0x47ce7a
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0044e850
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x47ce07
mov byte [ebp - 4], 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 2
mov ecx, 7
movups xmm0, xmmword [ebp - 0x25c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x24c]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x24c], 0
mov word [ebp - 0x25c], ax
mov byte [ebp - 4], 1
add dword [esi + 4], 0x18
jmp 0x47ce1c
lea ecx, [ebp - 0x25c]
push ecx
push eax
mov ecx, esi
call fcn.00465e70
mov ecx, dword [ebp - 0x248]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x47ce5a
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47ce50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47cf52
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
mov byte [ebp - 4], al
xor eax, eax
mov dword [ebp - 0x224], 0x103
push eax
push eax
push eax
push eax
mov word [ebp - 0x220], ax
inc edi
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x47cd80
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x47cf0e
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47cf04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47cf52
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
mov dword [ebp - 4], 0xffffffff
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 0xc
call fcn.004d85ca
int3