Function at 0x526941
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x840
mov eax, 0x5f6079
call fcn.0044e95a
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x828]
mov ebx, dword [ebp + 8]
xor edi, edi
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 - 0x82c], ebx
mov dword [ebp - 0x84c], edi
call fcn.00404479
mov dword [ebp - 4], edi
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x834], edi
mov dword [ebp - 0x830], edi
call fcn.0042094f
test al, al
je 0x5269cd
push esi
pop edx
push edx
push esp
pop edi
push esi
push ebx
pop ebx
pop esi
push ebp
push esp
push eax
push ebx
pop edi
pop edx
push ebx
pop esp
pop ebx
push ecx
pop edx
pop esp
pop edx
pop esp
pop ebx
pop esi
push esi
push esp
push esp
mov ebx, dword [ebp - 0x82c]
xor edi, edi
lea eax, [ebp - 0x838]
mov esi, 0x20119
push eax
push esi
push edi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x526a12
lea eax, [ebp - 0x828]
mov ecx, ebx
push eax
call fcn.00402208
push edi
push 1
lea ecx, [ebp - 0x828]
call fcn.004037bf
mov eax, ebx
jmp 0x526c57
call fcn.00420a1e
test al, al
je 0x526a3d
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
xor edi, edi
mov esi, 0x20119
lea eax, [ebp - 0x834]
push eax
push esi
push edi
push dword [ebp - 0x840]
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x526a80
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push eax
call fcn.00402208
push edi
jmp 0x526c44
lea eax, [ebp - 0x830]
push eax
push esi
push edi
push dword [ebp - 0x844]
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x526ab7
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
jmp 0x526a68
call fcn.00420475
test al, al
je 0x526ae0
push edx
push esp
pop esp
push edx
push eax
push eax
push ebx
push edi
push ecx
push ecx
pop esp
pop edx
pop ebx
push ebx
pop ecx
pop eax
pop eax
pop eax
push ebx
pop ebx
pop esi
push esi
push edx
pop ebp
push esi
pop ebx
pop ebx
pop esp
pop edx
pop edx
pop eax
push ebp
call fcn.0042090a
test al, al
je 0x526b07
pop esi
push esp
pop ebx
push edx
push eax
pop edi
pop ecx
push ecx
push esi
push ecx
pop ebp
push esi
push ebx
push ecx
push ecx
pop esi
pop esp
pop edi
pop edx
push edi
push edx
pop esp
pop eax
push edx
pop esi
pop ecx
push ebp
pop ebx
xor edi, edi
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.005426c0
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 - 0x83c]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00420589
test al, al
je 0x526b6e
push esi
push esp
push edx
push edi
push ecx
push edx
push edx
pop esp
push ebp
push esp
pop ebp
pop edi
pop ebx
pop esi
pop edx
push edi
push esi
call fcn.004204ff
test al, al
je 0x526b8d
pop edx
push ecx
pop ebp
pop edx
pop ecx
push edi
pop ecx
push ebx
pop esi
push edx
pop eax
push eax
pop eax
pop esp
push ebp
push edx
pop ebx
push esp
push edi
push eax
push edi
push esp
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x810]
push eax
call fcn.005454d1
pop ecx
mov dword [ebp - 0x83c], eax
call fcn.004208c5
test al, al
je 0x526bd1
push esi
pop edx
push ecx
push ecx
pop ebx
push ebp
pop esp
push ebx
push ecx
pop ecx
push edx
pop eax
pop esp
push esi
push eax
push ebx
call fcn.00420613
test al, al
je 0x526bf1
push ebx
pop esp
push edx
pop esi
push esi
pop ebx
pop eax
push eax
push edi
push esi
push ebp
push ebp
pop ebp
push edx
push eax
pop esp
push edx
push ebp
pop esp
pop ecx
push ebx
push edi
pop ebx
call fcn.004204ff
test al, al
je 0x526c19
push esp
push edx
pop esi
pop edx
push ecx
push ecx
push esi
pop ecx
pop edi
pop edi
pop ebp
push edx
pop esp
pop ecx
push ebp
push ebx
push edi
pop esi
push eax
push ecx
pop ebp
pop eax
pop esp
push edi
push esp
push ebx
pop edi
push eax
push ecx
push ebp
pop ebx
cmp dword [ebp - 0x83c], 0
mov ecx, dword [ebp - 0x82c]
jne 0x526c36
lea eax, [ebp - 0x828]
push eax
call fcn.00402208
jmp 0x526c42
lea eax, [ebp - 0x810]
push eax
call fcn.00404479
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.004037bf
mov eax, dword [ebp - 0x82c]
call fcn.0044e904
ret