Function at 0x454fa0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8dc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x560
mov dword [ebp - 0x528], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x41c], 0x104
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 0x28]
call fcn.00401c20
mov dword [ebp - 0x418], eax
lea ecx, [ebp - 0x10]
call fcn.0045c7c0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00401c20
push eax
push 0x4ae534
lea ecx, [ebp - 0x10]
push ecx
call fcn.00402a00
add esp, 0xc
lea edx, [ebp + 8]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x10]
call fcn.0043fc50
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4553fc
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x424]
push ecx
push 0
lea edx, [ebp - 0x41c]
push edx
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4553fc
mov edx, dword [ebp + 0x44]
add edx, dword [ebp - 0x424]
mov dword [ebp + 0x44], edx
mov dword [ebp - 0x428], 0
jmp 0x45509d
mov eax, dword [ebp - 0x428]
add eax, 1
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x428]
cmp ecx, dword [ebp - 0x424]
jae 0x4553fc
mov dword [ebp - 0x420], 0xff
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4553f7
lea ecx, [ebp - 0x448]
call fcn.0045c7c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x448]
call fcn.00415cd0
lea ecx, [ebp - 0x444]
call fcn.0040d890
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x448]
call fcn.0043fc50
push eax
lea ecx, [ebp - 0x4cc]
call fcn.004123d0
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x52c]
mov dword [ebp - 0x530], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x530]
call fcn.0043fc50
push eax
lea ecx, [ebp - 0x444]
call fcn.0040d8c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4cc]
call fcn.00412410
push 0x4b347c
push 1
push 0
lea edx, [ebp - 0x4d4]
push edx
lea ecx, [ebp - 0x448]
call fcn.00411e90
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x538], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x538]
push ecx
call fcn.00411fc0
add esp, 8
mov byte [ebp - 0x4cd], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4d4]
call fcn.0043bb20
movzx edx, byte [ebp - 0x4cd]
test edx, edx
je 0x4552b6
push 0
lea ecx, [ebp - 0x448]
call fcn.0045ca60
push eax
push 1
lea eax, [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x448]
call fcn.00411e90
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x540], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x540]
call fcn.0043fc50
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00411e10
xor edx, edx
cmp eax, 0xffffffff
sete dl
mov byte [ebp - 0x4d5], dl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4dc]
call fcn.0043bb20
movzx eax, byte [ebp - 0x4d5]
test eax, eax
je 0x4552b6
lea ecx, [ebp - 0x448]
call fcn.0045ca60
push eax
push 1
lea ecx, [ebp - 0x4e0]
push ecx
lea ecx, [ebp - 0x448]
call fcn.00411e90
mov dword [ebp - 0x544], eax
mov edx, dword [ebp - 0x544]
mov dword [ebp - 0x548], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x548]
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00408de0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4e0]
call fcn.0043bb20
push 0x4b2660
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00415cd0
lea ecx, [ebp + 0xc]
call fcn.004120b0
movzx ecx, al
test ecx, ecx
jne 0x45535a
lea edx, [ebp - 0x444]
push edx
push 0x4b09ac
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x4fc]
push ecx
call fcn.00446c40
add esp, 0xc
mov dword [ebp - 0x54c], eax
mov edx, dword [ebp - 0x54c]
mov dword [ebp - 0x550], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x550]
push eax
lea ecx, [ebp - 0x518]
push ecx
call fcn.00446bc0
add esp, 0xc
mov dword [ebp - 0x554], eax
mov edx, dword [ebp - 0x554]
mov dword [ebp - 0x558], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x558]
push eax
lea ecx, [ebp - 0x444]
call fcn.0040c780
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x518]
call fcn.00401c00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4fc]
call fcn.00401c00
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x51c], esp
push str.nothing
call fcn.00401fb0
mov dword [ebp - 0x55c], eax
mov ecx, dword [ebp - 0x55c]
mov dword [ebp - 0x560], ecx
mov byte [ebp - 4], 0xb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x520], esp
lea edx, [ebp - 0x444]
push edx
call fcn.00401bc0
mov dword [ebp - 0x564], eax
mov eax, dword [ebp - 0x564]
mov dword [ebp - 0x568], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
push ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x528]
call fcn.00456170
mov dword [ebp - 0x56c], eax
mov edx, dword [ebp + 0x44]
add edx, dword [ebp - 0x56c]
mov dword [ebp + 0x44], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x444]
call fcn.00401c00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.0043bb20
jmp 0x45508e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x44]
mov dword [ebp - 0x524], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0043bb20
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.00401c00
mov eax, dword [ebp - 0x524]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x40