Function at 0x4a0509
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x848
mov eax, 0x4e6006
call fcn.004bd677
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x830], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x850], eax
mov eax, dword [ebp + 0x1c]
push eax
mov dword [ebp - 0x854], ebx
call fcn.00403200
mov dword [ebp - 4], ebx
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x83c], ebx
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x834], ebx
call fcn.0049f5e4
test al, al
je 0x4a0597
pop edx
push ebx
push edx
push ecx
push esi
push ebp
pop esi
push edx
push esp
push ecx
pop esi
pop eax
pop ebx
push eax
pop ebp
push edx
pop edx
push eax
pop ebp
push ebx
push ecx
pop ebx
push ebx
call fcn.0049f48b
test al, al
je 0x4a05b6
pop ebp
pop esp
push edi
push eax
push ebp
push edx
pop edi
push edx
pop ebp
push esi
push ecx
pop edi
pop esp
pop edi
pop eax
pop esi
pop ebx
pop esi
pop esi
pop esi
push edx
pop esi
call fcn.0049f782
test al, al
je 0x4a05df
push edi
pop edx
push edi
pop esi
pop ecx
push esi
pop esi
push eax
push ecx
pop esp
pop ecx
pop eax
pop ebp
pop ecx
push ebx
pop ebp
pop ecx
push eax
pop edi
push ebp
push ecx
pop ecx
push ebx
push esi
pop esi
push esi
push ecx
pop esi
pop edi
pop eax
pop esi
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x82c]
push eax
mov esi, 0x20119
xor ebx, ebx
push esi
push ebx
push dword [ebp - 0x844]
push 0x80000003
call edi
test eax, eax
je 0x4a061e
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x828]
push eax
call fcn.004039e0
push ebx
jmp 0x4a08cc
lea eax, [ebp - 0x83c]
push eax
push esi
push ebx
push str.SoftWare
push dword [ebp - 0x82c]
call edi
test eax, eax
je 0x4a0646
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a0606
lea eax, [ebp - 0x838]
push eax
push esi
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x83c]
call edi
mov dword [ebp - 0x840], eax
call fcn.0049f80c
test al, al
je 0x4a067d
pop ebx
pop esi
pop esi
push esi
pop eax
push esi
push eax
pop edx
push ecx
pop ecx
pop ebx
push edi
push ebx
pop ebx
push esi
pop esp
pop ebp
call fcn.0049fb8d
test al, al
je 0x4a06a3
pop edi
pop ecx
pop ebx
pop edx
pop esi
pop ebp
push esi
push edi
pop edi
push edi
pop edx
push ebx
push esi
pop eax
pop ebp
push ebp
push edi
push ebx
pop esi
pop edi
push ecx
push eax
pop ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x840], 0
je 0x4a06d9
push dword [ebp - 0x83c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x828]
push eax
call fcn.004039e0
jmp 0x4a08ca
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push dword [ebp - 0x848]
push dword [ebp - 0x838]
call edi
test eax, eax
je 0x4a070f
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
jmp 0x4a06b8
call fcn.0049f446
test al, al
je 0x4a072a
push ebx
push esp
pop ecx
pop esp
pop eax
pop esp
push ecx
pop ebp
pop ecx
pop edx
push esi
push esp
pop edx
pop esi
push edi
pop esi
pop ebx
pop ebp
call fcn.0049f9aa
test al, al
je 0x4a074c
pop eax
pop ebp
pop edx
pop edi
pop eax
push ecx
push ebp
push esp
pop esi
push esp
pop edx
push edi
pop esp
push esp
push eax
push esi
pop ebp
pop ecx
push ecx
push edx
pop edx
push edi
pop edx
push ebx
pop edi
call fcn.0049f55a
test al, al
je 0x4a0769
pop edx
pop eax
pop ebx
push ebp
push ebp
pop ecx
pop ebx
pop eax
pop ebx
pop eax
push esi
pop esp
pop edx
pop eax
pop edx
pop esp
pop esp
pop edi
pop edi
push ebx
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004a35f0
add esp, 0xc
mov dword [ebp - 0x84c], 0x400
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x850]
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x834]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push dword [ebp - 0x838]
call ebx
call fcn.0049f851
test al, al
je 0x4a07e9
push edi
push edi
push ebp
pop edi
push esi
pop ebx
pop ecx
push ecx
push edi
push esp
pop ecx
pop esi
pop esp
push esi
pop esi
push ecx
push esi
pop edi
pop esi
pop ebp
push edx
push eax
pop edx
pop edx
push edi
push edx
push edi
push esi
pop ebp
pop esi
call fcn.0049fa79
test al, al
je 0x4a0806
push esp
pop esp
push esp
pop edx
push edx
pop edi
pop edi
pop eax
push ebx
push ecx
pop ecx
push ebx
push ebx
pop edi
pop ebp
pop ebx
push ecx
push edi
pop ebp
push edi
call fcn.0049f9ef
test al, al
je 0x4a082e
pop esi
pop esp
pop edi
push edx
push ecx
push edi
push edi
pop ecx
push eax
push ebx
push ebp
push eax
push eax
pop ebx
push esp
pop ecx
push esp
pop ecx
pop ebx
push esp
pop edx
pop edx
push ecx
pop edi
pop edi
push ebp
pop esi
pop esi
push ebx
pop eax
pop esi
push dword [ebp - 0x83c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
call fcn.0049f55a
test al, al
je 0x4a085e
push eax
pop ebx
pop edx
push edi
push edi
pop esp
pop esp
push esi
push esi
pop edx
push edx
pop ebx
push edx
push esi
push edi
push ebp
pop ebp
call fcn.0049fb48
test al, al
je 0x4a0887
pop eax
pop edx
pop ecx
pop ebx
pop edx
push ebx
pop ebp
pop edi
push esp
pop esp
push esp
push edi
pop edx
push edi
push ebx
pop edx
push edx
push edx
push edx
pop esi
push eax
push ebx
pop edx
push esi
pop esp
push ebp
push edi
pop edx
pop ebx
push edx
pop edx
push ebx
call fcn.0049f515
test al, al
je 0x4a08a3
push edi
pop ecx
push edi
push ebp
pop ecx
push edx
pop edx
push esi
pop esi
pop ebp
pop edi
push ebx
push ecx
push esp
pop esp
pop esi
push edx
pop ebp
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.004b009e
pop ecx
mov ecx, dword [ebp - 0x830]
test eax, eax
je 0x4a06c8
lea eax, [ebp - 0x810]
push eax
call fcn.00403200
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00403270
mov eax, dword [ebp - 0x830]
call fcn.004bd632
ret