Function at 0x47eed0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ab172
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x4e06b8]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push esi
mov eax, dword [0x4e06b8]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x2c]
push eax
push 0x20019
push ebx
mov dword [esp + 0x49c], ebx
call fcn.0040a2e0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x47ef55
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x47f116
push 0x208
lea ecx, [esp + 0x272]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x278], ax
call fcn.00487e90
add esp, 0xc
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, edx
lea eax, [esp + 0x54]
push eax
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
push ebx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x294]
push edx
push eax
mov dword [esp + 0x70], 0x104
mov dword [esp + 0x58], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, dword [esp + 0x28]
cmp esi, ebx
ja 0x47efd5
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x47f116
push 0x208
lea ecx, [esp + 0x62]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x68], ax
call fcn.00487e90
add esp, 0xc
mov dword [esp + 0x30], ebx
cmp esi, ebx
jbe 0x47f103
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x34]
push ebx
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x70]
push ecx
push edx
push eax
mov dword [esp + 0x54], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00404100
mov byte [esp + 0x490], 3
cmp esi, ebx
jne 0x47f0e0
lea ecx, [esp + 0x14]
call fcn.00403b60
mov esi, eax
push esi
lea ecx, [esp + 0x18]
call fcn.00403e20
lea edx, [esi + 1]
push edx
push eax
call fcn.00487830
add esp, 8
push esi
lea ecx, [esp + 0x18]
call fcn.00403f60
lea eax, [esp + 0x14]
push eax
mov esi, eax
call fcn.00478ea0
push ebx
push 0x4cd19c
mov ecx, esi
call fcn.004203e0
cmp eax, 0xffffffff
jne 0x47f0e0
push ebx
push str._proplus_
mov ecx, esi
call fcn.004203e0
cmp eax, 0xffffffff
jne 0x47f0e0
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00404100
lea ecx, [esp + 0x38]
lea edx, [esp + 0x18]
mov byte [esp + 0x490], 4
call fcn.004786b0
lea ecx, [esp + 0x38]
call fcn.00404200
push 0x105
lea edx, [esp + 0x60]
push ebx
push edx
call fcn.00404c80
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x490], bl
call fcn.00404200
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x28]
jb 0x47effb
mov eax, dword [esp + 0x2c]
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, [esp + 0x18]
cmp edi, ecx
je 0x47f151
mov ecx, edi
call fcn.004208f0
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0041b1f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x18]
call fcn.00420540
mov eax, edi
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.00482469
mov esp, ebp
pop ebp
ret