Function at 0x4771f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4e82
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4eb690]
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.0041abb0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x477267
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x477465
push 0x208
lea ecx, [ebp - 0x42e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x430], ax
call fcn.0048e940
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 0x4772fc
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x477465
push 0x208
lea ecx, [ebp - 0x21e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x220], ax
call fcn.0048e940
add esp, 0xc
mov dword [ebp - 0x44c], ebx
cmp esi, ebx
jbe 0x477450
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.00404020
mov byte [ebp - 4], 3
cmp esi, ebx
jne 0x477429
lea ecx, [ebp - 0x434]
call fcn.00403aa0
mov esi, eax
push esi
lea ecx, [ebp - 0x434]
call fcn.00403d60
lea edx, [esi + 1]
push edx
push eax
call fcn.00491cb2
add esp, 8
push esi
lea ecx, [ebp - 0x434]
call fcn.00403e80
lea eax, [ebp - 0x434]
push eax
mov esi, eax
call fcn.00470ce0
push ebx
push 0x4d812c
mov ecx, esi
call fcn.00420400
cmp eax, 0xffffffff
jne 0x477429
push ebx
push str._proplus_
mov ecx, esi
call fcn.00420400
cmp eax, 0xffffffff
jne 0x477429
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x458]
call fcn.00404020
lea ecx, [ebp - 0x458]
lea edx, [ebp - 0x444]
mov byte [ebp - 4], 4
call fcn.004704f0
lea ecx, [ebp - 0x458]
call fcn.00404120
push 0x105
lea edx, [ebp - 0x220]
push ebx
push edx
call fcn.00404b50
add esp, 0xc
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], bl
call fcn.00404120
mov eax, dword [ebp - 0x44c]
inc eax
mov dword [ebp - 0x44c], eax
cmp eax, dword [ebp - 0x450]
jb 0x477328
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 0x4774b0
mov ecx, edi
call fcn.00420910
lea edx, [ebp - 0x444]
push edx
mov ecx, edi
call fcn.00403300
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.00420560
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.0048a346
mov esp, ebp
pop ebp
ret