Function at 0x462beb
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x525332
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2064
call fcn.004eff30
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
neg edi
mov dword [esp + 0xc], ebx
mov dword [eax], ebx
mov eax, dword [ebp + 8]
sbb edi, edi
add eax, 8
mov ecx, dword [eax]
and edi, 0xffffff00
add edi, 0x200
mov dword [esp + 0x10], ebx
cmp ecx, ebx
je 0x462c63
lea ecx, [esp + 0x50]
mov dword [esp + 0xc], 1
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x462c63
mov al, 1
jmp 0x462c65
xor al, al
test byte [esp + 0xc], 1
je 0x462c71
and dword [esp + 0xc], 0xfffffffe
cmp al, bl
je 0x462c77
xor edi, edi
mov esi, 0x56f16c
push esi
lea ecx, [esp + 0x1c]
call fcn.00402946
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x2080], ebx
call fcn.00402946
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x2080], 1
call fcn.00402946
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x2088], 2
call fcn.00462a8e
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x462ff5
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jne 0x462def
xor eax, eax
cmp dword [esp + 0x1c], 1
sete al
push eax
push 8
push dword [esp + 0x34]
lea eax, [esp + 0x5c]
push eax
call fcn.00462961
lea eax, [esp + 0x24]
push eax
mov eax, edi
or eax, 8
push eax
push ebx
mov byte [esp + 0x2088], 3
push dword [esp + 0x2c]
mov dword [esp + 0x34], ebx
push dword [esp + 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x462ddb
lea eax, [esp + 0x14]
push eax
push 5
mov dword [esp + 0x1c], ebx
call fcn.00460cd7
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x2094], 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [esp + 0x28], ebx
push ebx
jmp 0x462d90
cmp eax, ebx
je 0x462d77
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push eax
call dword [ecx + 0x14]
inc dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x28]
push dword [esp + 0x40]
mov dword [esp + 0x58], 0x1000
call esi
test eax, eax
mov eax, dword [esp + 0x14]
je 0x462d68
mov ecx, dword [ebp + 0x14]
push dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x207c], 3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 1
cmp eax, ebx
je 0x462fdd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x28], 5
jne 0x462fdd
lea eax, [esp + 0x50]
jmp 0x462fbe
push 0x53f8bc
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041217d
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x2088], 5
call fcn.0040eb6f
add esp, 0xc
xor esi, esi
xor ecx, ecx
inc esi
cmp dword [esp + 0x1c], esi
mov byte [esp + 0x207c], 6
mov eax, dword [eax]
sete cl
push ecx
push esi
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00462961
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.0040297c
mov byte [esp + 0x207c], 9
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
cmp dword [eax - 0xc], ebx
je 0x462eaf
push 0x53f8bc
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0041217d
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0x2084], 0xa
or dword [esp + 0x14], 2
push eax
call fcn.0040eb6f
add esp, 0xc
or dword [esp + 0xc], 4
jmp 0x462eb3
lea eax, [esp + 0x18]
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
or ecx, esi
push ecx
push ebx
push eax
push dword [esp + 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test byte [esp + 0xc], 4
mov dword [esp + 0x28], eax
je 0x462ee7
mov ecx, dword [esp + 0x40]
and dword [esp + 0xc], 0xfffffffb
add ecx, 0xfffffff0
call fcn.0040297c
mov dword [esp + 0x207c], 9
test byte [esp + 0xc], 2
je 0x462f0a
mov ecx, dword [esp + 0x44]
and dword [esp + 0xc], 0xfffffffd
add ecx, 0xfffffff0
call fcn.0040297c
cmp dword [esp + 0x28], ebx
jne 0x462fb3
lea eax, [esp + 0x14]
push eax
push 5
mov dword [esp + 0x1c], ebx
call fcn.00460cd7
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x2094], 0xb
mov dword [esp + 0x28], ebx
push ebx
jmp 0x462f6c
cmp eax, ebx
je 0x462f53
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push eax
call dword [ecx + 0x14]
inc dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x28]
push dword [esp + 0x4c]
mov dword [esp + 0x54], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x462f44
mov ecx, dword [ebp + 0x14]
push dword [esp + 0x30]
mov dword [esp + 0x18], ebx
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x207c], 9
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x462fe3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x28], 5
jne 0x462fe3
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x2080], 2
call fcn.00462a2f
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 2
jl 0x462cd8
jmp 0x462ff5
lea eax, [esp + 0x50]
jmp 0x462fe7
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x2080], 2
call fcn.00462a2f
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x2074]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10