Function at 0x47f360
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dcf2
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x600f84]
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.0041c150
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x47f3d7
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x47f5d5
push 0x208
lea ecx, [ebp - 0x42e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x430], ax
call fcn.00557f00
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 0x47f46c
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x47f5d5
push 0x208
lea ecx, [ebp - 0x21e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x220], ax
call fcn.00557f00
add esp, 0xc
mov dword [ebp - 0x44c], ebx
cmp esi, ebx
jbe 0x47f5c0
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.00404090
mov byte [ebp - 4], 3
cmp esi, ebx
jne 0x47f599
lea ecx, [ebp - 0x434]
call fcn.00403b10
mov esi, eax
push esi
lea ecx, [ebp - 0x434]
call fcn.00403dd0
lea edx, [esi + 1]
push edx
push eax
call fcn.005577e0
add esp, 8
push esi
lea ecx, [ebp - 0x434]
call fcn.00403ef0
lea eax, [ebp - 0x434]
push eax
mov esi, eax
call fcn.00478ed0
push ebx
push 0x5e4c80
mov ecx, esi
call fcn.00420420
cmp eax, 0xffffffff
jne 0x47f599
push ebx
push str._proplus_
mov ecx, esi
call fcn.00420420
cmp eax, 0xffffffff
jne 0x47f599
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x458]
call fcn.00404090
lea ecx, [ebp - 0x458]
lea edx, [ebp - 0x444]
mov byte [ebp - 4], 4
call fcn.00478660
lea ecx, [ebp - 0x458]
call fcn.00404190
push 0x105
lea edx, [ebp - 0x220]
push ebx
push edx
call fcn.00404bc0
add esp, 0xc
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], bl
call fcn.00404190
mov eax, dword [ebp - 0x44c]
inc eax
mov dword [ebp - 0x44c], eax
cmp eax, dword [ebp - 0x450]
jb 0x47f498
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 0x47f620
mov ecx, edi
call fcn.00420930
lea edx, [ebp - 0x444]
push edx
mov ecx, edi
call fcn.0041b1a0
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.00420580
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.005521f1
mov esp, ebp
pop ebp
ret