Function at 0x468c50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554620
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 0x468cb1
mov byte [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040b750
mov al, byte [ebp - 0x10]
jmp 0x468e97
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 0x468e55
mov dword [ebp - 0x1c], 0
jmp 0x468cf5
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x24]
jae 0x468e53
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 0x468e2c
xor eax, eax
mov word [ebp - 0x874], ax
push 0x616
push 0
lea ecx, [ebp - 0x872]
push ecx
call fcn.0050ff40
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 0x468e20
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.00468b90
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0040afd0
movzx eax, al
test eax, eax
jne 0x468e14
lea ecx, [ebp + 0x14]
call fcn.00407730
push eax
push 0
lea ecx, [ebp + 0x14]
call fcn.0040db10
push eax
lea ecx, [ebp - 0x54]
call fcn.00457140
cmp eax, 0xffffffff
je 0x468e14
mov byte [ebp - 0xf], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040b750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040b750
mov al, byte [ebp - 0xf]
jmp 0x468e97
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0040b750
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x468e4e
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.0040b750
mov al, byte [ebp - 0x11]
jmp 0x468e97
jmp 0x468cec
jmp 0x468e77
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.0040b750
mov al, byte [ebp - 0xd]
jmp 0x468e97
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.0040b750
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret