Function at 0x4a0b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff810
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x542488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ecx
jb 0x4a0be9
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a0c3a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x14], ecx
jmp 0x4a0d37
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4a0c44
mov eax, dword [ebx]
lea ecx, [ebp - 0x30]
push ecx
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a0c9d
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
jmp 0x4a0d37
mov esi, dword [ebp - 0x30]
add esi, 2
push esi
call fcn.004b5fc1
mov ebx, eax
mov dword [ebp - 0x3c], ebx
push esi
push 0
push ebx
mov byte [ebp - 4], 1
call fcn.004b8860
mov eax, dword [ebp - 0x38]
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x4a0cc9
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push ebx
push 0
push 0
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a0d55
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00405390
test ebx, ebx
je 0x4a0d01
push ebx
call fcn.004b5fca
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a0d37
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a0d2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a0dab
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5e78
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x34]
dec eax
cmp eax, 1
ja 0x4a0d67
push ebx
lea ecx, [ebp - 0x28]
call fcn.0041f5c0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00405390
test ebx, ebx
je 0x4a0d7f
push ebx
call fcn.004b5fca
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a0d37
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a0d2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a0d2d
call fcn.004c19b9
int3