Function at 0x471f5d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x844
mov eax, 0x5e08f2
call fcn.005d2642
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
and dword [ebp - 0x850], 0
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x84c], eax
mov eax, dword [ebp + 0x1c]
push eax
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x840], ebx
call fcn.00403740
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], eax
mov dword [ebp - 0x830], eax
call fcn.0045469c
test al, al
je 0x471ff4
push eax
push esp
push ebx
pop esp
push esp
push eax
pop ebp
push edi
pop ebp
push ecx
pop ebp
push ecx
push eax
push esi
push edi
push edi
pop ecx
pop ebx
pop ebp
pop eax
push ebp
push eax
push edi
pop esp
pop ebx
push esp
push ebx
push ecx
push ebp
push edi
pop esp
mov ebx, dword [ebp - 0x840]
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push 0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x472038
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00456158
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.0041e4c0
mov eax, edi
jmp 0x47220a
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x472065
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x472014
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x838]
call esi
mov dword [ebp - 0x840], eax
call fcn.0045431b
test al, al
je 0x4720a3
pop edi
pop ecx
push eax
pop ecx
pop ebx
push ebp
push eax
push esp
pop edx
pop eax
pop eax
pop ebp
pop ebx
pop esp
pop ecx
push esi
pop ecx
pop eax
mov edi, dword [ebp - 0x83c]
cmp dword [ebp - 0x840], 0
je 0x4720c7
push dword [ebp - 0x838]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x472014
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push dword [ebp - 0x844]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x4720fd
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
jmp 0x4720b8
call fcn.004546e1
test al, al
je 0x472126
pop esi
push ecx
push eax
pop esi
push eax
push esp
push ebx
push ebx
pop edi
pop edx
pop esp
pop eax
push edx
pop ecx
push esp
push esp
pop ecx
pop esi
push eax
push ecx
push ecx
pop esi
push edi
pop ebx
push esi
pop edi
push edi
pop edi
pop ecx
push ecx
push ecx
pop ebx
push 0x800
xor edi, edi
lea eax, [ebp - 0x810]
push edi
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 edi
push edi
push dword [ebp - 0x84c]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
call fcn.004543ea
test al, al
je 0x472199
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
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x82c]
call esi
call fcn.004544b9
test al, al
je 0x4721c5
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
xor edi, edi
lea eax, [ebp - 0x810]
push eax
call fcn.0048cd3b
pop ecx
mov ecx, dword [ebp - 0x83c]
test eax, eax
jne 0x4721ea
lea eax, [ebp - 0x828]
push eax
call fcn.00456158
jmp 0x4721f6
lea eax, [ebp - 0x810]
push eax
call fcn.00403740
push edi
push 1
lea ecx, [ebp - 0x828]
call fcn.0041e4c0
mov eax, dword [ebp - 0x83c]
call fcn.005d25ec
ret