Function at 0x4a8cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538de1
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x520], eax
mov esi, dword [ebp + 8]
lea ecx, [eax + 8]
xor edi, edi
mov dword [ebp - 0x514], edi
test esi, esi
jne 0x4a8d2c
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x4a8d21
mov esi, dword [esi]
test esi, esi
jne 0x4a8d32
xor al, al
jmp 0x4a935f
push esi
call fcn.00408360
mov dword [ebp - 0x52c], edi
mov dword [ebp - 0x528], edi
mov dword [ebp - 0x524], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x518]
push eax
push 0x2001f
push 0
push esi
push SysReAllocString
mov dword [ebp - 0x518], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a9326
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x528], eax
mov eax, dword [ebp - 0x518]
push ecx
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x52c], eax
push ecx
lea ecx, [ebp - 0x53c]
mov dword [ebp - 0x528], 0
push ecx
push 0
lea ecx, [ebp - 0x518]
mov dword [ebp - 0x538], 0
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x518], 0x40
push ecx
push 0
push eax
mov dword [ebp - 0x51c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4a931d
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x4a8], 0
mov word [ebp - 0x4a8], ax
lea ecx, [ebp - 0x4a8]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
push eax
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 7
call fcn.00408360
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4a8]
mov ecx, dword [ebp - 0x520]
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.004857d0
mov esi, dword [ebp - 0x560]
mov dword [ebp - 0x510], esi
cmp byte [esi + 0xd], 0
jne 0x4a8e99
cmp dword [esi + 0x24], 8
lea ecx, [esi + 0x10]
jb 0x4a8e77
mov ecx, dword [ecx]
cmp dword [ebp - 0x494], 8
lea eax, [ebp - 0x4a8]
push ecx
cmovae eax, dword [ebp - 0x4a8]
push eax
call fcn.004fb9d0
add esp, 8
test eax, eax
jns 0x4a8ea7
mov eax, dword [ebp - 0x520]
mov esi, dword [eax]
mov dword [ebp - 0x510], esi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x494]
cmp edx, 8
jb 0x4a8eeb
mov ecx, dword [ebp - 0x4a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a8ee1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a937c
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x498], 0
mov word [ebp - 0x4a8], ax
mov eax, dword [ebp - 0x520]
mov dword [ebp - 0x494], 7
cmp esi, dword [eax]
mov eax, dword [ebp - 0x51c]
jne 0x4a9203
mov esi, dword [ebp - 0x53c]
lea ecx, [ebp - 0x554]
mov dword [ebp - 0x510], eax
xor eax, eax
mov dword [ebp - 0x554], 0
mov word [ebp - 0x554], ax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x540], 0
push eax
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x540], 7
call fcn.00408360
mov byte [ebp - 4], 2
xor eax, eax
movups xmm0, xmmword [ebp - 0x554]
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x4bc], 0
movups xmmword [ebp - 0x4cc], xmm0
mov dword [ebp - 0x4b8], 0
movq xmm0, qword [ebp - 0x544]
movq qword [ebp - 0x4bc], xmm0
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x540], 7
mov word [ebp - 0x554], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x4b4], esi
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 4], 5
push eax
call fcn.004d2a98
mov esi, eax
add esp, 4
test esi, esi
je 0x4a9018
push dword [ebp - 0x510]
push 0
push esi
call fcn.004d52d0
add esp, 0xc
jmp 0x4a901a
xor esi, esi
or edi, 1
mov dword [ebp - 0x558], esi
mov dword [ebp - 0x514], edi
and edi, 0xfffffffe
mov dword [ebp - 0x558], 0
mov dword [ebp - 0x4b0], esi
mov dword [ebp - 0x514], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x490]
push dword [ebp - 0x510]
push eax
push esi
call fcn.004d4210
add esp, 0xc
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x540], 7
mov word [ebp - 0x554], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x508]
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], eax
mov dword [ebp - 0x4f8], eax
mov word [ebp - 0x508], ax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x4f4], 7
call fcn.00408360
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00486ea0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x508]
mov ecx, dword [ebp - 0x520]
push eax
lea eax, [ebp - 0x570]
push eax
call fcn.00485c80
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x4f0]
mov dword [ebp - 0x55c], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4d4]
test eax, eax
je 0x4a9116
push eax
call fcn.004d2aa1
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4f0]
call fcn.00409020
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x4f4]
cmp edx, 8
jb 0x4a9169
mov ecx, dword [ebp - 0x508]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a915f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a937c
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x4f4], 7
mov word [ebp - 0x508], ax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x4b0]
test eax, eax
je 0x4a919d
push eax
call fcn.004d2aa1
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x4b8]
cmp edx, 8
jb 0x4a91e1
mov ecx, dword [ebp - 0x4cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a91d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a937c
push edx
push ecx
call fcn.004d24a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 7
mov word [ebp - 0x4cc], ax
jmp 0x4a92c2
mov dword [ebp - 0x534], eax
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 0x10
push eax
call fcn.004d2a98
mov edi, eax
add esp, 4
test edi, edi
je 0x4a9232
push dword [ebp - 0x534]
push 0
push edi
call fcn.004d52d0
add esp, 0xc
jmp 0x4a9234
xor edi, edi
mov eax, dword [ebp - 0x510]
lea edx, [ebp - 0x530]
mov esi, edi
add eax, 0x44
mov dword [ebp - 0x530], esi
mov ecx, dword [ebp - 0x514]
or ecx, 2
mov dword [ebp - 0x510], eax
mov dword [ebp - 0x514], ecx
cmp eax, edx
je 0x4a9285
xor esi, esi
mov dword [ebp - 0x530], esi
mov edx, dword [eax]
mov dword [eax], edi
xor edi, edi
test edx, edx
je 0x4a9285
push edx
call fcn.004d2aa1
mov ecx, dword [ebp - 0x514]
add esp, 4
and ecx, 0xfffffffd
mov dword [ebp - 0x514], ecx
mov byte [ebp - 4], 0
test edi, edi
je 0x4a929f
push esi
call fcn.004d2aa1
add esp, 4
push dword [ebp - 0x534]
lea eax, [ebp - 0x490]
push eax
mov eax, dword [ebp - 0x510]
push dword [eax]
call fcn.004d4210
mov edi, dword [ebp - 0x514]
add esp, 0xc
mov eax, dword [ebp - 0x538]
lea ecx, [ebp - 0x51c]
push ecx
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x518], 0x40
push ecx
lea ecx, [ebp - 0x53c]
mov dword [ebp - 0x51c], 0x400
push ecx
push 0
lea ecx, [ebp - 0x518]
inc eax
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x538], eax
push ecx
push eax
push dword [ebp - 0x52c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4a8df0
mov byte [ebp - 0x509], 1
jmp 0x4a932d
mov byte [ebp - 0x509], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x52c]
test eax, eax
je 0x4a934f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x52c], 0
mov al, byte [ebp - 0x509]
mov dword [ebp - 0x528], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 4
call fcn.004e0791
int3