Function at 0x469920
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555ab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x868
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x469981
mov byte [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00408980
mov al, byte [ebp - 0x10]
jmp 0x469b67
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x24], 0
jbe 0x469b25
mov dword [ebp - 0x1c], 0
jmp 0x4699c5
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x24]
jae 0x469b23
mov dword [ebp - 0x2c], 0x104
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x469afc
xor eax, eax
mov word [ebp - 0x874], ax
push 0x616
push 0
lea ecx, [ebp - 0x872]
push ecx
call fcn.00511290
add esp, 0xc
lea edx, [ebp - 0x25c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str._s_s
lea ecx, [ebp - 0x874]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
lea ecx, [ebp - 0x874]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x469af0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x874]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x54]
push edx
call fcn.00469860
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0040cd50
movzx eax, al
test eax, eax
jne 0x469ae4
lea ecx, [ebp + 0x14]
call fcn.00407730
push eax
push 0
lea ecx, [ebp + 0x14]
call fcn.00408be0
push eax
lea ecx, [ebp - 0x54]
call fcn.00457e10
cmp eax, 0xffffffff
je 0x469ae4
mov byte [ebp - 0xf], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00408980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00408980
mov al, byte [ebp - 0xf]
jmp 0x469b67
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00408980
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x469b1e
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00408980
mov al, byte [ebp - 0x11]
jmp 0x469b67
jmp 0x4699bc
jmp 0x469b47
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00408980
mov al, byte [ebp - 0xd]
jmp 0x469b67
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00408980
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret