Function at 0x47ef60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57dda2
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x600f84]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push esi
mov eax, dword [0x600f84]
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.0041c150
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x47efe5
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x47f1a6
push 0x208
lea ecx, [esp + 0x272]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x278], ax
call fcn.00557f00
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 0x47f065
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x47f1a6
push 0x208
lea ecx, [esp + 0x62]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x68], ax
call fcn.00557f00
add esp, 0xc
mov dword [esp + 0x30], ebx
cmp esi, ebx
jbe 0x47f193
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.00404090
mov byte [esp + 0x490], 3
cmp esi, ebx
jne 0x47f170
lea ecx, [esp + 0x14]
call fcn.00403b10
mov esi, eax
push esi
lea ecx, [esp + 0x18]
call fcn.00403dd0
lea edx, [esi + 1]
push edx
push eax
call fcn.005577e0
add esp, 8
push esi
lea ecx, [esp + 0x18]
call fcn.00403ef0
lea eax, [esp + 0x14]
push eax
mov esi, eax
call fcn.00478ed0
push ebx
push 0x5e4c80
mov ecx, esi
call fcn.00420420
cmp eax, 0xffffffff
jne 0x47f170
push ebx
push str._proplus_
mov ecx, esi
call fcn.00420420
cmp eax, 0xffffffff
jne 0x47f170
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00404090
lea ecx, [esp + 0x38]
lea edx, [esp + 0x18]
mov byte [esp + 0x490], 4
call fcn.00478660
lea ecx, [esp + 0x38]
call fcn.00404190
push 0x105
lea edx, [esp + 0x60]
push ebx
push edx
call fcn.00404bc0
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x490], bl
call fcn.00404190
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x28]
jb 0x47f08b
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 0x47f1e1
mov ecx, edi
call fcn.00420930
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0041b1a0
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.00420580
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.005521f1
mov esp, ebp
pop ebp
ret