Function at 0x47e63b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9086
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x48], esi
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x14]
or ecx, 0x20019
push ecx
push eax
push dword [ebx + 0x10]
lea eax, [esp + 0x20]
call fcn.00409d6a
test eax, eax
je 0x47e69a
cmp dword [esp + 0x14], esi
jmp 0x47eaf8
mov eax, dword [ebx + 0x20]
dec eax
je 0x47ea4e
dec eax
je 0x47e9d9
dec eax
je 0x47e8f5
dec eax
je 0x47e87d
dec eax
je 0x47e80a
dec eax
dec eax
je 0x47e726
sub eax, 4
jne 0x47e691
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.00480194
cmp eax, esi
jne 0x47e691
push dword [esp + 0x30]
lea eax, [ebx + 0x1c]
push dword [esp + 0x30]
mov dword [esp + 0x20], eax
push str._I64d
call fcn.00401a17
mov ebx, dword [ebx + 4]
sub ebx, 0x10
add esp, 0xc
mov eax, ebx
call fcn.00401311
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x48], 9
lea eax, [esp + 0x20]
jmp 0x47e8d0
push dword [ebx + 0x18]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
push eax
lea esi, [esp + 0x20]
xor edi, edi
call fcn.004801cf
test eax, eax
jne 0x47e7f0
mov eax, dword [esp + 0x18]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d64b6
mov edi, eax
test edi, edi
pop ecx
mov dword [esp + 0x1c], edi
je 0x47e7f0
push dword [ebx + 0x18]
lea eax, [esp + 0x18]
push eax
call fcn.004801cf
test eax, eax
jne 0x47e7e6
mov ebx, dword [ebx + 4]
sub ebx, 0x10
mov eax, ebx
call fcn.00401311
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x48], 7
mov eax, dword [esp + 0x18]
add eax, eax
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0042511d
pop ecx
pop ecx
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov byte [esp + 0x50], 8
call fcn.0047f7b5
mov edi, eax
mov eax, ebx
call fcn.00402a4c
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004012f9
lea eax, [esi - 0x10]
call fcn.004012f9
mov dword [esp + 0x20], 1
push dword [esp + 0x1c]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [esp + 0x14], 0
je 0x47e801
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
jmp 0x47eb06
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
push ecx
push esi
push eax
push dword [esp + 0x28]
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], 4
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x47e691
cmp dword [esp + 0x20], 5
jne 0x47e691
push dword [esp + 0x1c]
lea eax, [ebx + 0x1c]
push 0x50e2b4
mov dword [esp + 0x20], eax
call fcn.00401a17
mov ebx, dword [ebx + 4]
sub ebx, 0x10
pop ecx
pop ecx
mov eax, ebx
call fcn.00401311
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x48], 6
jmp 0x47e8cc
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x20]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x2c], esi
call fcn.00407270
cmp eax, esi
jne 0x47e691
push dword [esp + 0x20]
lea eax, [ebx + 0x1c]
push 0x50e2b4
mov dword [esp + 0x20], eax
call fcn.00401a17
mov ebx, dword [ebx + 4]
sub ebx, 0x10
pop ecx
pop ecx
mov eax, ebx
call fcn.00401311
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x48], 5
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
call fcn.0047f7b5
mov edi, eax
mov eax, dword [esp + 0x18]
call fcn.00402a4c
lea eax, [ebx - 0x10]
call fcn.004012f9
cmp dword [esp + 0x14], esi
jmp 0x47eae2
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
lea eax, [esp + 0x20]
push eax
xor edi, edi
mov dword [esp + 0x28], esi
call fcn.00480246
test eax, eax
jne 0x47e9c2
push dword [esp + 0x18]
call fcn.004d64b6
cmp eax, esi
pop ecx
mov dword [esp + 0x1c], eax
je 0x47e9c2
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00480246
cmp eax, esi
jne 0x47e9b8
push dword [esp + 0x18]
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
call fcn.0042511d
pop ecx
pop ecx
lea esi, [ebx + 0x1c]
mov edi, esi
mov byte [esp + 0x48], 3
call fcn.00402a4c
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.004012f9
mov ebx, dword [ebx + 4]
sub ebx, 0x10
mov eax, ebx
call fcn.00401311
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
mov byte [esp + 0x50], 4
call fcn.0047f7b5
mov edi, eax
mov eax, esi
call fcn.00402a4c
lea eax, [ebx - 0x10]
call fcn.004012f9
xor edi, edi
inc edi
xor esi, esi
push dword [esp + 0x1c]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [esp + 0x14], esi
je 0x47e9d2
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x47eb06
push dword [ebx + 0x18]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
push eax
lea esi, [esp + 0x24]
xor edi, edi
call fcn.00409d9d
test eax, eax
jne 0x47eaf3
push dword [esp + 0x1c]
mov edi, dword [ebx + 0x18]
lea esi, [ebx + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.00401918
push edi
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x24]
mov edi, eax
call fcn.00409d9d
mov esi, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
call fcn.0040707a
test edi, edi
jne 0x47eaf3
mov ebx, dword [ebx + 4]
sub ebx, 0x10
mov eax, ebx
call fcn.00401311
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x48], 2
jmp 0x47eabd
push dword [ebx + 0x18]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
push eax
lea esi, [esp + 0x24]
xor edi, edi
call fcn.00409d9d
test eax, eax
jne 0x47eaf3
push dword [esp + 0x1c]
mov edi, dword [ebx + 0x18]
lea esi, [ebx + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.00401918
push edi
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x24]
mov edi, eax
call fcn.00409d9d
mov esi, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
call fcn.0040707a
test edi, edi
jne 0x47eaf3
mov ebx, dword [ebx + 4]
sub ebx, 0x10
mov eax, ebx
call fcn.00401311
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x48], 1
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
call fcn.0047f7b5
mov edi, eax
mov eax, dword [esp + 0x18]
call fcn.00402a4c
lea eax, [esi - 0x10]
call fcn.004012f9
cmp dword [esp + 0x14], 0
je 0x47eaee
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x47eb06
cmp dword [esp + 0x14], 0
je 0x47eb04
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4