Function at 0x457fc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65258c
mov eax, dword fs:[0]
push eax
sub esp, 0xafc
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ax, word [0x674a94]
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005d6120
add esp, 0xc
mov dword [ebp - 0xad0], 0x104
mov dword [ebp - 0xab8], 0
mov dword [ebp - 0xae8], 0x400
mov dword [ebp - 0xaa8], 0
lea ecx, [ebp - 0xac0]
call fcn.004621f0
mov dword [ebp - 4], 0
push 0x674a98
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0xa64]
call fcn.0045f6c0
mov dword [ebp - 0xac4], eax
mov eax, dword [ebp - 0xac4]
mov dword [ebp - 0xac8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xac8]
push ecx
lea ecx, [ebp - 0xac0]
call fcn.004688c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa64]
call fcn.00462910
lea edx, [ebp - 0xac0]
mov dword [ebp - 0xab4], edx
lea eax, [ebp - 0xaa4]
push eax
mov ecx, dword [ebp - 0xab4]
call fcn.00467020
lea ecx, [ebp - 0xacc]
push ecx
mov ecx, dword [ebp - 0xab4]
call fcn.004677e0
jmp 0x4580d0
lea ecx, [ebp - 0xaa4]
call fcn.004630e0
lea edx, [ebp - 0xacc]
push edx
lea ecx, [ebp - 0xaa4]
call fcn.00462db0
movzx eax, al
test eax, eax
je 0x458350
lea ecx, [ebp - 0xaa4]
call fcn.00462fc0
push eax
lea ecx, [ebp - 0xa9c]
call fcn.00462240
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb08]
push ecx
lea edx, [ebp - 0xaec]
push edx
lea eax, [ebp - 0xaf0]
push eax
lea ecx, [ebp - 0xaf4]
push ecx
lea edx, [ebp - 0xaf8]
push edx
lea eax, [ebp - 0xafc]
push eax
lea ecx, [ebp - 0xb00]
push ecx
lea edx, [ebp - 0xab8]
push edx
push 0
lea eax, [ebp - 0xad0]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0xaac], eax
cmp dword [ebp - 0xaac], 0
jne 0x458324
mov dword [ebp - 0xaa0], 0
jmp 0x45818b
mov eax, dword [ebp - 0xaa0]
add eax, 1
mov dword [ebp - 0xaa0], eax
mov ecx, dword [ebp - 0xaa0]
cmp ecx, dword [ebp - 0xab8]
jae 0x458324
mov edx, dword [ebp - 0xaa8]
cmp edx, dword [ebp + 0x10]
jbe 0x4581ad
jmp 0x458324
mov eax, dword [ebp - 0xaa8]
add eax, 1
mov dword [ebp - 0xaa8], eax
mov dword [ebp - 0xad4], 0x400
lea ecx, [ebp - 0xb08]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0xad4]
push edx
lea eax, [ebp - 0xa18]
push eax
mov ecx, dword [ebp - 0xaa0]
push ecx
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0xaac], eax
cmp dword [ebp - 0xaac], 0
jne 0x45831f
push 0x674ab4
lea eax, [ebp - 0xa18]
push eax
lea ecx, [ebp - 0xa98]
push ecx
lea edx, [ebp - 0xa48]
push edx
call fcn.0045fcb0
add esp, 0xc
mov dword [ebp - 0xad8], eax
mov eax, dword [ebp - 0xad8]
mov dword [ebp - 0xadc], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xadc]
push ecx
lea edx, [ebp - 0xa30]
push edx
call fcn.00444050
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa48]
call fcn.0043c550
mov dword [ebp - 0xab0], 0
lea eax, [ebp - 0xab0]
push eax
lea ecx, [ebp - 0xa18]
push ecx
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4582e7
cmp dword [ebp - 0xab0], 0
je 0x4582e7
lea eax, [ebp - 0xa30]
push eax
lea ecx, [ebp - 0xab0]
push ecx
lea ecx, [ebp - 0xa80]
call fcn.0045f680
mov dword [ebp - 0xae0], eax
mov edx, dword [ebp - 0xae0]
mov dword [ebp - 0xae4], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xae4]
push eax
lea ecx, [ebp - 0xac0]
call fcn.004688c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa80]
call fcn.00462910
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xa18]
push edx
call fcn.0045fa50
add esp, 8
movzx eax, al
test eax, eax
je 0x458310
lea ecx, [ebp - 0xa30]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.0044eb70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa30]
call fcn.0043c550
jmp 0x45817c
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0xa9c]
je 0x45833c
mov eax, dword [ebp - 0xa9c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa9c]
call fcn.00462910
jmp 0x4580c5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac0]
call fcn.004628c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret