Function at 0x437af1
Capabilities:
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
push 0xc5c
mov eax, 0x743728
call fcn.005f004f
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc58]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc60], eax
mov eax, dword [ebp + 0x10]
push 0x75b41c
mov dword [ebp - 0xc64], eax
call fcn.00409440
xor edi, edi
lea eax, [ebp - 0x420]
push 0x208
push edi
push eax
mov dword [ebp - 4], edi
call fcn.005c1f30
push 0x208
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.005c1f30
push 0x208
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.005c1f30
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.005c1f30
push 0x208
lea eax, [ebp - 0xc40]
push edi
push eax
call fcn.005c1f30
add esp, 0x3c
lea eax, [ebp - 0x420]
push edi
push 0x2b
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x420]
push 0x75b4c8
push eax
call fcn.005d2b61
push dword [ebp - 0xc60]
lea eax, [ebp - 0x420]
push eax
call fcn.005d2b61
lea eax, [ebp - 0x420]
push 0x75b4c8
push eax
call fcn.005d2b61
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.005d2b61
lea eax, [ebp - 0x420]
push 0x75b4cc
push eax
call fcn.005d2b61
add esp, 0x28
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x830]
push eax
push 0x75b41c
push str.InstallPath
push 0x75ca4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x830]
push eax
call fcn.005c5a2e
pop ecx
test eax, eax
jle 0x437c5b
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d28f3
mov esi, dword [ebp - 0xc64]
lea eax, [ebp - 0x218]
pop ecx
pop ecx
push esi
push eax
mov ecx, ebx
call fcn.0043a0c9
test eax, eax
je 0x437c61
jmp 0x437d9c
mov esi, dword [ebp - 0xc64]
push 0x208
lea eax, [ebp - 0xa38]
push edi
push eax
call fcn.005c1f30
lea eax, [ebp - 0xa38]
push 0x75b5f4
push eax
call fcn.005d28f3
push dword [ebp - 0xc60]
lea eax, [ebp - 0xa38]
push eax
call fcn.005d2b61
add esp, 0x1c
lea eax, [ebp - 0xc5c]
push eax
push 0x20019
push edi
lea eax, [ebp - 0xa38]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437d21
lea eax, [ebp - 0xc68]
mov dword [ebp - 0xc68], 0x104
push eax
lea eax, [ebp - 0xc40]
push eax
push edi
push edi
push str.InstallPath
push dword [ebp - 0xc5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437d21
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d28f3
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.0043a0c9
test eax, eax
je 0x437d21
push dword [ebp - 0xc5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x437d9c
push dword [ebp - 0xc5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 0x26
lea eax, [ebp - 0x628]
mov ecx, ebx
push eax
push edi
call fcn.0043a3ae
lea eax, [ebp - 0x628]
push 0x75b4c8
push eax
call fcn.005d2b61
push dword [ebp - 0xc60]
lea eax, [ebp - 0x628]
push eax
call fcn.005d2b61
lea eax, [ebp - 0x628]
push 0x75b4c8
push eax
call fcn.005d2b61
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d28f3
add esp, 0x20
lea eax, [ebp - 0x218]
mov ecx, ebx
push esi
push eax
call fcn.0043a0c9
test eax, eax
je 0x437dbf
lea eax, [ebp - 0x218]
push eax
call fcn.005c5a2e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xc58]
call fcn.0040a2c0
xor edi, edi
inc edi
lea ecx, [ebp - 0xc58]
call fcn.0040a140
mov eax, edi
call fcn.005f000a
ret 0xc