Function at 0x47c490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7e53
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x130], edx
mov edi, ecx
mov dword [ebp - 0x12c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x128], 0
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x47c70d
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.rChoic
push edi
add eax, 0x10
mov dword [ebp - 0x12c], 1
push str.tVersionExplorerFile
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x128]
push str.SoftwareMicrosoftWindowsCurren_sExts._sUse_se
push eax
call fcn.00409210
add esp, 0x14
lea eax, [ebp - 0x118]
push 0x104
push 0
push eax
call fcn.004b69d0
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x120]
add esp, 0xc
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0x104
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x124]
push eax
push str.ProgId
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x47c717
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x11c]
call fcn.00408c10
test al, al
jne 0x47c5e2
lea ecx, [ebp - 0x118]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c5c0
sub ecx, edx
lea eax, [ebp - 0x118]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.00408fa0
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47c600
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x47c721
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x128], eax
push edi
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 4
call fcn.00408c10
test al, al
jne 0x47c65c
test edi, edi
jne 0x47c639
xor ecx, ecx
jmp 0x47c64f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47c640
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x128]
call fcn.00408fa0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x12c]
call fcn.0047cc30
mov esi, dword [ebp - 0x11c]
add esp, 4
push dword [ebp - 0x12c]
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov edx, dword [ebp - 0x12c]
neg eax
sbb edi, edi
add edx, 0xfffffff0
inc edi
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47c6aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x128]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47c6cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x130]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edi
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x47c6ef
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
int3