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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x90f79c
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov byte [0x915010], 0
lea edx, [ebp - 0x38]
mov eax, 0x90f7b4
call fcn.0090de20
push dword [ebp - 0x38]
push 0x90f7d0
lea edx, [ebp - 0x3c]
mov eax, 0x90f7dc
call fcn.0090de20
push dword [ebp - 0x3c]
push 0x90f7d0
lea edx, [ebp - 0x40]
mov eax, 0x9138c8
call fcn.0090ecf0
push dword [ebp - 0x40]
lea eax, [ebp - 4]
mov edx, 5
call fcn.00901700
push dword [ebp - 4]
push 0x90f7d0
lea edx, [ebp - 0x44]
mov eax, 0x90f7ec
call fcn.0090de20
push dword [ebp - 0x44]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00901700
lea eax, [ebp - 0x10]
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.009017f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x90f76b
lea eax, [ebp - 0x34]
mov edx, 0x1c
call fcn.00903a0c
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
jne 0x90f76b
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esi, dword [ebp - 0x34]
dec esi
test esi, esi
jl 0x90f76b
inc esi
xor edi, edi
push dword [ebp - 8]
push 0x90f7d0
lea edx, [ebp - 0x48]
mov eax, edi
call fcn.009049bc
push dword [ebp - 0x48]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00901700
lea eax, [ebp - 0x10]
push eax
push 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.009017f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x90f763
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea edx, [ebp - 0x4c]
mov eax, 0x90f80c
call fcn.0090de20
mov eax, dword [ebp - 0x4c]
call fcn.009017f4
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x90f75a
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x914a28]
jne 0x90f75a
mov byte [0x915010], 1
mov dword [0x9146b8], edi
mov dword [ebp - 0x18], 4
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea edx, [ebp - 0x50]
mov eax, 0x90f81c
call fcn.0090de20
mov eax, dword [ebp - 0x50]
call fcn.009017f4
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x9146ec]
sete bl
mov eax, ebx
xor al, 1
mov byte [0x915011], al
cmp byte [0x915011], 0
jne 0x90f74f
mov eax, dword [ebp - 0x10]
call fcn.0090f19c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x90f76b
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
inc edi
dec esi
jne 0x90f65b
test bl, bl
je 0x90f774
call fcn.0090f004
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x90f7a3
lea eax, [ebp - 0x50]
mov edx, 7
call fcn.00901408
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00901408
ret