Function at 0x47c930
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 0x5cb08b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x248
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 + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x240], 0
call fcn.004685a0
movzx eax, al
lea ecx, [ebp - 0x23c]
shl eax, 8
add eax, 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts_
mov dword [ebp - 0x224], eax
call fcn.0044e850
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 7
mov eax, dword [edi + 0x10]
jbe 0x47c9b9
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 closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47cbab
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 0x47cb95
nop word [eax + eax]
cmp word [ebp - 0x220], 0
je 0x47cb5a
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x258]
call fcn.0044e850
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x47cae7
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 - 0x258]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x248]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x248], 0
mov word [ebp - 0x258], ax
mov byte [ebp - 4], 1
add dword [esi + 4], 0x18
jmp 0x47cafc
lea ecx, [ebp - 0x258]
push ecx
push eax
mov ecx, esi
call fcn.00465e70
mov ecx, dword [ebp - 0x244]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x47cb3a
mov edx, dword [ebp - 0x258]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47cb30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47cc32
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], 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 0x47ca60
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 0x47cbee
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47cbe4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47cc32
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 8
call fcn.004d85ca
int3