Function at 0x4a4a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0aa8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x98
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x95]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x6c]
call fcn.004148f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x96]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x48]
call fcn.004148f0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049fc60
add esp, 0x14
cmp eax, 1
jne 0x4a4ace
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00414a10
mov eax, dword [ebp - 0x9c]
jmp 0x4a4cd5
lea edx, [ebp - 0x20]
push edx
push 1
push 0
lea ecx, [ebp - 0x68]
call fcn.00413e50
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a4b1a
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00414a10
mov eax, dword [ebp - 0xa0]
jmp 0x4a4cd5
lea ecx, [ebp - 0x24]
push ecx
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
lea ecx, [ebp - 0x44]
call fcn.00413e50
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4a4b4b
cmp dword [ebp - 0x18], 0xea
jne 0x4a4bb7
cmp dword [ebp - 0x18], 0xea
jne 0x4a4b6a
cmp dword [ebp - 0x24], 0
jbe 0x4a4b63
cmp dword [ebp - 0x24], 0x2710
jbe 0x4a4b6a
mov dword [ebp - 0x24], 0x2710
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00448e99
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4a4bb5
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x4c]
push eax
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.00413e50
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a4bb5
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00448dbc
add esp, 4
mov dword [ebp - 0x4c], 0
jmp 0x4a4bbe
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x4c], 0
je 0x4a4c3c
cmp dword [ebp - 0x1c], 1
jne 0x4a4c3c
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x90]
call fcn.0042c4f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00448dbc
add esp, 4
lea ecx, [ebp - 0x8c]
call fcn.00410bd0
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.00448e99
add esp, 4
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x8c]
call fcn.00411920
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0044bff0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.00418f70
cmp dword [ebp + 0x10], 0
je 0x4a4c4a
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
cmp dword [ebp + 0xc], 0
je 0x4a4c58
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov dword [ecx], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00414a10
mov eax, dword [ebp - 0xa4]
jmp 0x4a4cd5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret