Function at 0x472210
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x840
mov eax, 0x5e0925
call fcn.005d2642
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x84c], ebx
call fcn.00403740
mov dword [ebp - 4], ebx
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x82c], ebx
call fcn.004544b9
test al, al
je 0x472291
push eax
push edx
pop ecx
pop esp
pop ecx
pop ebx
push ecx
push esi
push edi
push edi
pop esi
pop ebx
pop ebx
pop edi
pop ebp
push ecx
pop esp
mov edi, dword [ebp - 0x838]
xor ebx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x834]
push eax
push 0x20119
push ebx
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x4722d7
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00456158
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0041e4c0
mov eax, edi
jmp 0x4724ac
call fcn.004543ea
test al, al
je 0x4722f3
pop esp
pop ebx
push ebx
pop ebp
pop eax
pop ebp
push edi
push esi
push edi
pop edx
push edx
push ebp
push esp
push ebp
pop eax
push esi
push edx
xor ebx, ebx
lea eax, [ebp - 0x830]
push eax
push 0x20119
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x472320
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4722b4
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push ebx
push dword [ebp - 0x844]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x47235a
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x4722b4
call fcn.00454543
test al, al
je 0x472378
pop ebx
pop eax
pop edi
push esi
push esp
pop ecx
pop ecx
pop edi
pop ebp
pop esi
pop eax
pop edi
push edx
push esp
pop esi
pop ebx
pop eax
push esi
push esp
xor ebx, ebx
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0047be90
add esp, 0xc
mov dword [ebp - 0x848], 0x400
lea eax, [ebp - 0x848]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004547f5
test al, al
je 0x4723de
pop eax
push esp
pop eax
push esi
pop esi
push edx
push edi
push ebp
pop ecx
push ecx
push eax
push ebp
push ebx
push ecx
push eax
pop ebx
call fcn.004549d8
test al, al
je 0x4723f7
push ebx
pop edx
push esi
push edx
push esi
pop esp
push ecx
pop edx
pop ecx
pop ebx
push ebp
push esi
push ebx
pop ebp
push edx
pop edx
call fcn.00454657
test al, al
je 0x47241e
pop esi
push esp
pop ecx
push esp
push ecx
pop esi
pop esi
pop eax
pop eax
push ebx
push edi
push edi
pop ebp
push ebx
push ecx
push esp
pop edi
pop ecx
push esi
pop edx
push ebp
pop ecx
push edx
pop edi
push eax
pop esi
pop ebx
pop edx
pop eax
pop esp
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x810]
push eax
call fcn.0048cd3b
pop ecx
mov dword [ebp - 0x83c], eax
call fcn.0045483a
test al, al
je 0x47246e
pop esi
pop ecx
pop ebp
pop ebp
pop ebp
pop edi
pop ecx
pop esp
pop ecx
pop edi
push ebx
pop ebx
pop esi
pop edx
push ecx
push edx
pop ebx
pop esp
pop edi
pop edi
pop eax
push esi
push ebx
push ebp
pop ebx
pop ebp
pop eax
pop eax
cmp dword [ebp - 0x83c], 0
mov ecx, dword [ebp - 0x838]
jne 0x47248b
lea eax, [ebp - 0x828]
push eax
call fcn.00456158
jmp 0x472497
lea eax, [ebp - 0x810]
push eax
call fcn.00403740
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.0041e4c0
mov eax, dword [ebp - 0x838]
call fcn.005d25ec
ret