Function at 0x47f2d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab0c2
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4e06b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x454], ebx
mov esi, edx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
lea eax, [ebp - 0x448]
push eax
push 0x20119
push ebx
mov dword [ebp - 4], ebx
call fcn.0040a2e0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x47f347
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x47f545
push 0x208
lea ecx, [ebp - 0x42e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x430], ax
call fcn.00487e90
add esp, 0xc
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x468]
push ecx
lea edx, [ebp - 0x45c]
push edx
mov ecx, edx
lea eax, [ebp - 0x46c]
push eax
push ecx
lea edx, [ebp - 0x464]
push edx
lea eax, [ebp - 0x450]
push eax
mov eax, dword [ebp - 0x448]
push ebx
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0x430]
push edx
push eax
mov dword [ebp - 0x460], 0x104
mov dword [ebp - 0x450], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, dword [ebp - 0x450]
cmp esi, ebx
ja 0x47f3dc
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x47f545
push 0x208
lea ecx, [ebp - 0x21e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x220], ax
call fcn.00487e90
add esp, 0xc
mov dword [ebp - 0x44c], ebx
cmp esi, ebx
jbe 0x47f530
lea edx, [ebp - 0x474]
push edx
mov edx, dword [ebp - 0x44c]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x454]
push eax
mov eax, dword [ebp - 0x448]
lea ecx, [ebp - 0x220]
push ecx
push edx
push eax
mov dword [ebp - 0x454], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x434]
mov esi, eax
call fcn.00404100
mov byte [ebp - 4], 3
cmp esi, ebx
jne 0x47f509
lea ecx, [ebp - 0x434]
call fcn.00403b60
mov esi, eax
push esi
lea ecx, [ebp - 0x434]
call fcn.00403e20
lea edx, [esi + 1]
push edx
push eax
call fcn.00487830
add esp, 8
push esi
lea ecx, [ebp - 0x434]
call fcn.00403f60
lea eax, [ebp - 0x434]
push eax
mov esi, eax
call fcn.00478ea0
push ebx
push 0x4cd19c
mov ecx, esi
call fcn.004203e0
cmp eax, 0xffffffff
jne 0x47f509
push ebx
push str._proplus_
mov ecx, esi
call fcn.004203e0
cmp eax, 0xffffffff
jne 0x47f509
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x458]
call fcn.00404100
lea ecx, [ebp - 0x458]
lea edx, [ebp - 0x444]
mov byte [ebp - 4], 4
call fcn.004786b0
lea ecx, [ebp - 0x458]
call fcn.00404200
push 0x105
lea edx, [ebp - 0x220]
push ebx
push edx
call fcn.00404c80
add esp, 0xc
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], bl
call fcn.00404200
mov eax, dword [ebp - 0x44c]
inc eax
mov dword [ebp - 0x44c], eax
cmp eax, dword [ebp - 0x450]
jb 0x47f408
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea ecx, [ebp - 0x444]
cmp edi, ecx
je 0x47f590
mov ecx, edi
call fcn.004208f0
lea edx, [ebp - 0x444]
push edx
mov ecx, edi
call fcn.0041b1f0
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x440]
mov edx, dword [ebp - 0x43c]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
lea ecx, [ebp - 0x444]
call fcn.00420540
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00482469
mov esp, ebp
pop ebp
ret