Function at 0x462cff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x4004]
mov eax, 0x4004
call fcn.00493410
push 0xffffffffffffffff
push 0x4c77c1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x4000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x400c]
xor ebx, ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 2
call fcn.004703d0
lea eax, [ebp + 0x4010]
push eax
mov ecx, 0x4ff674
mov byte [ebp - 4], 3
call fcn.00416af0
push eax
lea ecx, [ebp - 0x20]
call fcn.00470710
cmp byte [ebp - 0x19], 0xff
lea eax, [ebp - 0x20]
jne 0x462d83
mov eax, dword [ebp - 0x20]
push eax
call fcn.004944a5
pop ecx
mov dword [0x501af8], eax
cmp eax, ebx
jne 0x462ef3
lea ecx, [ebp - 0x28]
call fcn.004703d0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004703d0
lea eax, [ebp + 0x4018]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004705c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004703e0
cmp byte [ebp - 0xd], 0xff
lea ecx, [ebp - 0x14]
jne 0x462dd6
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + eax - 1], 0x5c
je 0x462dea
push 0x4cf9a0
lea ecx, [ebp - 0x14]
call fcn.00470ae0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
mov edi, 0x501af8
push edi
push ecx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x38], ebx
call fcn.004705c0
call fcn.0040fcc0
add esp, 0x18
cmp eax, ebx
jne 0x462e57
push 0x4cfa1a
mov ecx, esi
call fcn.00470680
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00470660
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00470660
jmp 0x462f50
cmp byte [ebp - 0x21], 0xff
mov dword [0x501af8], ebx
lea eax, [ebp - 0x28]
jne 0x462e69
mov eax, dword [ebp - 0x28]
push edi
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x462e8e
push 0x4cfa1a
mov ecx, esi
call fcn.00470680
jmp 0x462e27
push dword [0x501af8]
lea eax, [ebp - 0x48]
push eax
mov dword [0x501af4], ebx
call fcn.004362ed
push eax
lea eax, [ebp + 0x4010]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.00462960
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.00470660
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00470660
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00470660
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00470660
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp]
push eax
push dword [0x501af4]
mov dword [ebp - 0x34], 0x3fff
push dword [0x501af8]
mov byte [ebp], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x462f2b
inc dword [0x501af4]
lea eax, [ebp]
push eax
jmp 0x462f42
push dword [0x501af8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x501af8], ebx
push 0x4cfa1a
mov ecx, esi
call fcn.00470680
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00470660
lea ecx, [ebp + 0x4010]
mov byte [ebp - 4], 1
call fcn.00470660
lea ecx, [ebp + 0x4018]
mov byte [ebp - 4], bl
call fcn.00470660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4000]
xor ecx, ebp
call fcn.00492093
add ebp, 0x4004
leave
ret