Function at 0x4a0c1a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e606c
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.004bd6f0
mov eax, dword [0x51b08c]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x2028]
mov dword [ebp - 0x202c], eax
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x203c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2040], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2048], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x204c], edi
call fcn.00403200
mov dword [ebp - 4], edi
mov dword [ebp - 0x2038], edi
mov dword [ebp - 0x2034], edi
mov dword [ebp - 0x2030], edi
call fcn.0049f8db
test al, al
je 0x4a0cc5
push edi
push ebx
pop edx
pop esi
push ebx
push eax
push eax
push edi
push esi
pop ecx
push ebx
pop ebx
pop esi
pop edx
push ecx
pop ecx
push esp
pop edi
push esp
pop edx
push ebp
push ebp
push eax
push ebx
pop esi
push edx
pop eax
push edx
pop ecx
push ecx
push esi
pop ebp
call fcn.0049f965
test al, al
je 0x4a0ce0
pop esi
push ebx
pop eax
pop ebp
pop eax
push esp
push ecx
push edx
pop ebp
push eax
push esp
push ebx
push ebx
push esi
push ebp
pop ecx
pop ecx
push esp
call fcn.0049f515
test al, al
je 0x4a0cfb
push esi
pop ebp
pop edx
push ebx
push esp
pop ebx
pop ecx
pop edi
pop edx
pop eax
push ebx
push ebx
push edx
push edx
push edi
push edx
pop ebp
push ecx
lea eax, [ebp - 0x2038]
mov edi, 0xf013f
push eax
push edi
xor ebx, ebx
push ebx
push str.SoftWare
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a0d37
mov ecx, dword [ebp - 0x202c]
lea eax, [ebp - 0x2028]
push eax
call fcn.004039e0
push ebx
jmp 0x4a0f00
call fcn.0049f965
test al, al
je 0x4a0d61
pop edx
push edx
pop ebx
pop edi
pop eax
push ebp
push edi
push edx
push eax
push eax
pop ebx
pop ebx
push esi
pop ebx
pop ecx
push ebp
pop ebx
push edi
push eax
pop ecx
push edx
push eax
push ecx
pop esi
push eax
push esp
xor ebx, ebx
mov edi, 0xf013f
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2034]
push ebx
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x203c]
push dword [ebp - 0x2038]
call esi
test eax, eax
je 0x4a0d94
push dword [ebp - 0x2038]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a0d1f
push ebx
lea eax, [ebp - 0x2030]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x2040]
push dword [ebp - 0x2034]
call esi
test eax, eax
je 0x4a0dce
push dword [ebp - 0x2034]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x2030]
call esi
jmp 0x4a0d1f
call fcn.0049f48b
test al, al
je 0x4a0def
pop ebp
push esp
pop eax
push esi
push esi
pop ebp
push ebx
pop eax
push esp
push ebp
pop ebp
push edi
push edi
push eax
pop esi
pop esp
pop ebp
pop esi
push eax
pop ebx
push ebx
pop edi
xor ebx, ebx
push 0x2000
lea eax, [ebp - 0x2010]
push ebx
push eax
call fcn.004a35f0
add esp, 0xc
mov dword [ebp - 0x2044], 0x1000
lea eax, [ebp - 0x2044]
push eax
lea eax, [ebp - 0x2010]
push eax
push ebx
push ebx
push dword [ebp - 0x2048]
push dword [ebp - 0x2030]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2030]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x2034]
call esi
push dword [ebp - 0x2038]
call esi
lea eax, [ebp - 0x2010]
push eax
call fcn.004b009e
pop ecx
test eax, eax
je 0x4a0d1f
call fcn.0049f896
test al, al
je 0x4a0e85
pop ebx
pop ecx
pop edi
pop ebx
pop esp
pop edi
push eax
push eax
pop edi
push edx
pop eax
pop edx
pop esi
push esp
push ebx
pop ebx
pop ebp
push edx
pop esi
push ebp
pop ecx
pop ebp
push ecx
push esi
push ebx
call fcn.0049f48b
test al, al
je 0x4a0ea5
push ebx
push esp
pop ebp
pop eax
pop ecx
pop eax
pop ebx
pop ebx
push edi
pop esi
push eax
pop ebp
push edx
pop esp
push ecx
push esi
pop ebp
pop esi
push esp
push edi
pop ecx
push ebp
pop ecx
call fcn.0049fa34
test al, al
je 0x4a0ec3
push ecx
pop edi
push esi
pop ecx
pop ebx
pop eax
pop ecx
push ecx
pop esp
pop eax
pop ecx
push ebp
push ebp
push ebx
push esi
pop esp
push esi
push edx
push esp
push esi
push edx
call fcn.0049f55a
test al, al
je 0x4a0eeb
pop edi
pop ecx
push esp
pop eax
push ecx
push esp
push ecx
push esp
push ebx
push esi
pop edi
pop esp
push esp
push edx
push ecx
push ecx
pop edi
push edx
push ebp
pop edi
pop eax
push ebp
push eax
pop ebx
pop edx
push ecx
push ebp
pop eax
pop esp
push esp
push esp
mov ecx, dword [ebp - 0x202c]
lea eax, [ebp - 0x2010]
push eax
call fcn.00403200
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x2028]
call fcn.00403270
mov eax, dword [ebp - 0x202c]
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.00499a52
mov esp, ebp
pop ebp
ret