Function at 0x90f824
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x90f82c
xor eax, eax
push ebp
push 0x90fb8a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x94]
mov eax, 0x90fba0
call fcn.0090de20
push dword [ebp - 0x94]
push 0x90fbbc
lea edx, [ebp - 0x98]
mov eax, 0x90fbc8
call fcn.0090de20
push dword [ebp - 0x98]
push 0x90fbbc
lea edx, [ebp - 0x9c]
mov eax, 0x9138c8
call fcn.0090ecf0
push dword [ebp - 0x9c]
lea eax, [ebp - 4]
mov edx, 5
call fcn.00901700
push dword [ebp - 4]
push 0x90fbbc
lea edx, [ebp - 0xa0]
mov eax, 0x90fbd8
call fcn.0090de20
push dword [ebp - 0xa0]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00901700
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.009017f4
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x90fb5f
cmp byte [0x915010], 0
je 0x90f9ce
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
push dword [ebp - 8]
push 0x90fbbc
mov eax, dword [0x9146b8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa4]
call fcn.009049ec
push dword [ebp - 0xa4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00901700
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 8]
call fcn.009017f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x90facc
cmp byte [0x915011], 0
jne 0x90f988
push 4
push 0x9146ec
push 4
push 0
lea edx, [ebp - 0xa8]
mov eax, 0x90fbf8
call fcn.0090de20
mov eax, dword [ebp - 0xa8]
call fcn.009017f4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
push 4
push 0x914a28
push 4
push 0
lea edx, [ebp - 0xac]
mov eax, 0x90fc08
call fcn.0090de20
mov eax, dword [ebp - 0xac]
call fcn.009017f4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
call fcn.0090f36c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x90facc
lea eax, [ebp - 0x28]
mov edx, 0x1c
call fcn.00903a0c
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
jne 0x90facc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
push dword [ebp - 8]
push 0x90fbbc
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x28]
call fcn.009049bc
push dword [ebp - 0xb0]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00901700
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.009017f4
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x90facc
push 4
push 0x9146ec
push 4
push 0
mov eax, 0x90fbf8
lea edx, [ebp - 0xb4]
call fcn.0090de20
mov eax, dword [ebp - 0xb4]
call fcn.009017f4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
push 4
push 0x914a28
push 4
push 0
mov eax, 0x90fc08
lea edx, [ebp - 0xb8]
call fcn.0090de20
mov eax, dword [ebp - 0xb8]
call fcn.009017f4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
call fcn.0090f36c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
push dword [ebp - 4]
push 0x90fbbc
lea edx, [ebp - 0xbc]
mov eax, 0x90fc18
call fcn.0090de20
push dword [ebp - 0xbc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00901700
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.009017f4
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x90fb5f
lea edx, [ebp - 0xc0]
mov eax, 0x90fc30
call fcn.0090de20
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0x8d]
call fcn.00904f9c
lea eax, [ebp - 0x8d]
call fcn.00904ed8
inc eax
push eax
lea eax, [ebp - 0x8d]
push eax
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x90fb91
lea eax, [ebp - 0xc0]
mov edx, 0xc
call fcn.00901408
lea eax, [ebp - 8]
mov edx, 2
call fcn.00901408
ret