Function at 0x46ec90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a637b
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 0x5b3110
call fcn.00415e70
lea eax, [ebp - 0x20]
push eax
call fcn.0044d000
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.0041afa0
push eax
lea ecx, [ebp - 0x9c]
call fcn.00415e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004185a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x5b3138
call fcn.00415e70
lea edx, [ebp - 0x2c]
push edx
call fcn.0044d000
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.0041afa0
push eax
lea ecx, [ebp - 0x84]
call fcn.00415e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.004185a0
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.00415d10
lea eax, [ebp - 0x3c]
push eax
call fcn.0044cae0
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.0041afa0
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.004185a0
cmp dword [ebp - 0x40], 0
jne 0x46ee9f
mov dword [ebp - 0x4c], 0x200
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x84]
push eax
call fcn.00415d10
lea ecx, [ebp - 0x58]
push ecx
call fcn.0044cae0
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.0041afa0
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.004185a0
cmp dword [ebp - 0x5c], 0
je 0x46ee5c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5b314c
mov ecx, dword [ebp + 8]
call fcn.0041a560
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.00419200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00419200
mov al, byte [ebp - 0xd]
jmp 0x46eed1
lea eax, [ebp - 0x49c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041a560
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.00419200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00419200
mov al, byte [ebp - 0xe]
jmp 0x46eed1
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.00419200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00419200
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret