Function at 0x47d710
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x602439
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x72d630]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.00499af0
xor ebx, ebx
mov dword [esp + 0x2a0], ebx
lea ecx, [esp + 0x18]
push ecx
push 0x6ccd50
call fcn.004991d0
add esp, 8
test al, al
je 0x47d7c8
push 0x6bfd0c
lea eax, [esp + 0x40]
call fcn.00472a30
mov esi, 2
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], 1
call fcn.004754c0
mov byte [esp + 0x2a0], 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0047e1b0
mov dword [edi + 0x34], eax
mov byte [esp + 0x2a0], bl
lea ecx, [esp + 0x54]
call fcn.00475600
jmp 0x47d7cd
mov esi, 2
lea ecx, [esp + 0x18]
push ecx
push 0x6ccd58
call fcn.004991d0
add esp, 8
test al, al
je 0x47d81f
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], esi
call fcn.004754c0
mov byte [esp + 0x2a0], 2
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0047e1b0
mov dword [edi + 0x38], eax
mov byte [esp + 0x2a0], bl
lea ecx, [esp + 0x54]
call fcn.00475600
lea ecx, [esp + 0x18]
push ecx
push 0x6ccd60
call fcn.004991d0
add esp, 8
test al, al
je 0x47d866
lea ecx, [esp + 0x54]
call fcn.004754c0
mov byte [esp + 0x2a0], 3
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0047e1b0
mov byte [esp + 0x2a0], bl
lea ecx, [esp + 0x54]
call fcn.00475600
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push ebx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x47d89d
mov dword [esp + 0x2a0], 0xffffffff
lea edx, [esp + 0x18]
push edx
call fcn.00499b80
xor al, al
jmp 0x47d982
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x98]
push edx
push ebx
push eax
mov dword [esp + 0x34], 0x105
xor esi, esi
call ebp
cmp eax, ebx
jne 0x47d95c
cmp dword [esp + 0x14], 1
jbe 0x47d92e
cmp word [esp + 0x84], 0x2e
jne 0x47d92e
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.004991d0
add esp, 8
test al, al
je 0x47d92e
lea ecx, [esp + 0x54]
call fcn.004754c0
mov byte [esp + 0x2a0], 4
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
call fcn.0047e1b0
mov byte [esp + 0x2a0], bl
lea ecx, [esp + 0x54]
call fcn.00475600
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x98]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x34], 0x105
call ebp
cmp eax, ebx
je 0x47d8d2
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2a0], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
call fcn.00499b80
mov al, 1
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.005e038a
add esp, 0x294
ret