Function at 0x47bd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad00b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x490
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x5ba270
call fcn.00415e60
lea eax, [ebp - 0x20]
push eax
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.0041afc0
push eax
lea ecx, [ebp - 0x9c]
call fcn.00415e60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004185c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x5ba298
call fcn.00415e60
lea edx, [ebp - 0x2c]
push edx
call fcn.00462850
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
call fcn.0041afc0
push eax
lea ecx, [ebp - 0x84]
call fcn.00415e60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.004185c0
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x9c]
push edx
call fcn.00415d00
lea eax, [ebp - 0x3c]
push eax
call fcn.00462330
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041afc0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x40], edx
lea ecx, [ebp - 0x3c]
call fcn.004185c0
cmp dword [ebp - 0x40], 0
jne 0x47bf2f
mov dword [ebp - 0x4c], 0x200
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x84]
push eax
call fcn.00415d00
lea ecx, [ebp - 0x58]
push ecx
call fcn.00462330
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x48]
call fcn.0041afc0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x49c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x58]
call fcn.004185c0
cmp dword [ebp - 0x5c], 0
je 0x47beec
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5ba2ac
mov ecx, dword [ebp + 8]
call fcn.0041a580
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.00419220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00419220
mov al, byte [ebp - 0xd]
jmp 0x47bf61
lea eax, [ebp - 0x49c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041a580
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.00419220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00419220
mov al, byte [ebp - 0xe]
jmp 0x47bf61
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.00419220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00419220
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret