Function at 0x476dd0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daa32
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x5176f0]
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.00403360
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x476e47
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x477045
push 0x208
lea ecx, [ebp - 0x42e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x430], ax
call fcn.004b28e0
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 0x476edc
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x477045
push 0x208
lea ecx, [ebp - 0x21e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x220], ax
call fcn.004b28e0
add esp, 0xc
mov dword [ebp - 0x44c], ebx
cmp esi, ebx
jbe 0x477030
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.00404040
mov byte [ebp - 4], 3
cmp esi, ebx
jne 0x477009
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.004b5c52
add esp, 8
push esi
lea ecx, [ebp - 0x434]
call fcn.00403ea0
lea eax, [ebp - 0x434]
push eax
mov esi, eax
call fcn.00470e00
push ebx
push 0x5046a0
mov ecx, esi
call fcn.00420980
cmp eax, 0xffffffff
jne 0x477009
push ebx
push str._proplus_
mov ecx, esi
call fcn.00420980
cmp eax, 0xffffffff
jne 0x477009
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x458]
call fcn.00404040
lea ecx, [ebp - 0x458]
lea edx, [ebp - 0x444]
mov byte [ebp - 4], 4
call fcn.00470d40
lea ecx, [ebp - 0x458]
call fcn.00404140
push 0x105
lea edx, [ebp - 0x220]
push ebx
push edx
call fcn.00404b70
add esp, 0xc
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], bl
call fcn.00404140
mov eax, dword [ebp - 0x44c]
inc eax
mov dword [ebp - 0x44c], eax
cmp eax, dword [ebp - 0x450]
jb 0x476f08
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 0x477090
mov ecx, edi
call fcn.00420e90
lea edx, [ebp - 0x444]
push edx
mov ecx, edi
call fcn.0040d8c0
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.00420ae0
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.004ae123
mov esp, ebp
pop ebp
ret