Function at 0x446b50
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1474
call fcn.00489eb0
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1474], ecx
xor eax, eax
mov word [ebp - 0x830], ax
push 0x206
push 0
lea ecx, [ebp - 0x82e]
push ecx
call fcn.00486c20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00486c20
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x628], cx
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.00486c20
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa40], ax
push 0x206
push 0
lea ecx, [ebp - 0xa3e]
push ecx
call fcn.00486c20
add esp, 0xc
xor edx, edx
mov word [ebp - 0xe50], dx
push 0x206
push 0
lea eax, [ebp - 0xe4e]
push eax
call fcn.00486c20
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00486c20
add esp, 0xc
push 0
push 0x2b
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x551944
lea ecx, [ebp - 0x830]
push ecx
call fcn.00486ab7
add esp, 8
push 0x551948
lea edx, [ebp - 0x830]
push edx
call fcn.00486ab7
add esp, 8
push 0x551968
lea eax, [ebp - 0x830]
push eax
call fcn.00486ab7
add esp, 8
push 0x55196c
lea ecx, [ebp - 0x830]
push ecx
call fcn.00486ab7
add esp, 8
push str..ini
lea edx, [ebp - 0x830]
push edx
call fcn.00486ab7
add esp, 8
lea eax, [ebp - 0x830]
push eax
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0x551998
push 0x55199c
push 0x5519b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0xe50]
push eax
call fcn.00486ae5
add esp, 8
lea ecx, [ebp - 0xe50]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00486ae5
add esp, 8
push 0x5519c4
lea eax, [ebp - 0x210]
push eax
call fcn.00486ab7
add esp, 8
push 0x5519dc
lea ecx, [ebp - 0x210]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446dbb
xor eax, eax
mov word [ebp - 0x1058], ax
push 0x206
push 0
lea ecx, [ebp - 0x1056]
push ecx
call fcn.00486c20
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x1058]
push eax
call fcn.00486ae5
add esp, 8
push 0x5519e0
lea ecx, [ebp - 0x1058]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0x1058]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446dbb
lea eax, [ebp - 0xe50]
push eax
mov ecx, dword [ebp - 0x1474]
add ecx, 0x74
call fcn.0040ce50
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x1474]
add ecx, 0x90
call fcn.0040ce50
jmp 0x44728b
xor edx, edx
mov word [ebp - 0xc48], dx
push 0x206
push 0
lea eax, [ebp - 0xc46]
push eax
call fcn.00486c20
add esp, 0xc
push 0x551a08
lea ecx, [ebp - 0xc48]
push ecx
call fcn.00486ae5
add esp, 8
push 0x551a1c
lea edx, [ebp - 0xc48]
push edx
call fcn.00486ab7
add esp, 8
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0xc48]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0
jne 0x446f83
mov dword [ebp - 0x105c], 0x104
lea edx, [ebp - 0x105c]
push edx
lea eax, [ebp - 0xa40]
push eax
push 0
push 0
push str.InstallPath
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 0
jne 0x446f83
lea edx, [ebp - 0xa40]
push edx
lea eax, [ebp - 0xe50]
push eax
call fcn.00486ae5
add esp, 8
lea ecx, [ebp - 0xe50]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00486ae5
add esp, 8
push 0x551a54
lea eax, [ebp - 0x210]
push eax
call fcn.00486ab7
add esp, 8
push 0x551a6c
lea ecx, [ebp - 0x210]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446f83
xor eax, eax
mov word [ebp - 0x1268], ax
push 0x206
push 0
lea ecx, [ebp - 0x1266]
push ecx
call fcn.00486c20
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x1268]
push eax
call fcn.00486ae5
add esp, 8
push 0x551a70
lea ecx, [ebp - 0x1268]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0x1268]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446f83
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xe50]
push ecx
mov ecx, dword [ebp - 0x1474]
add ecx, 0x74
call fcn.0040ce50
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x1474]
add ecx, 0x90
call fcn.0040ce50
mov ecx, dword [ebp - 0x1474]
call fcn.00447d10
jmp 0x44728b
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x26
lea ecx, [ebp - 0x628]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x551a98
lea edx, [ebp - 0x628]
push edx
call fcn.00486ab7
add esp, 8
push 0x551a9c
lea eax, [ebp - 0x628]
push eax
call fcn.00486ab7
add esp, 8
push 0x551abc
lea ecx, [ebp - 0x628]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0xe50]
push eax
call fcn.00486ae5
add esp, 8
lea ecx, [ebp - 0xe50]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00486ae5
add esp, 8
push 0x551ac0
lea eax, [ebp - 0x210]
push eax
call fcn.00486ab7
add esp, 8
push 0x551ad8
lea ecx, [ebp - 0x210]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4470d4
xor eax, eax
mov word [ebp - 0x1470], ax
push 0x206
push 0
lea ecx, [ebp - 0x146e]
push ecx
call fcn.00486c20
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x1470]
push eax
call fcn.00486ae5
add esp, 8
push 0x551adc
lea ecx, [ebp - 0x1470]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0x1470]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4470d4
lea eax, [ebp - 0xe50]
push eax
mov ecx, dword [ebp - 0x1474]
add ecx, 0x74
call fcn.0040ce50
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x1474]
add ecx, 0x90
call fcn.0040ce50
jmp 0x44728b
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44716f
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xe50]
push ecx
call fcn.00486ae5
add esp, 8
lea edx, [ebp - 0xe50]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00486ae5
add esp, 8
push str.1.0.1.0528
lea ecx, [ebp - 0x210]
push ecx
call fcn.00486ab7
add esp, 8
push 0x551b1c
lea edx, [ebp - 0x210]
push edx
call fcn.00486ab7
add esp, 8
lea eax, [ebp - 0xe50]
push eax
mov ecx, dword [ebp - 0x1474]
add ecx, 0x74
call fcn.0040ce50
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x1474]
add ecx, 0x90
call fcn.0040ce50
jmp 0x44728b
lea edx, [ebp - 0xa40]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44720a
lea eax, [ebp - 0xa40]
push eax
lea ecx, [ebp - 0xe50]
push ecx
call fcn.00486ae5
add esp, 8
lea edx, [ebp - 0xe50]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00486ae5
add esp, 8
push 0x551b20
lea ecx, [ebp - 0x210]
push ecx
call fcn.00486ab7
add esp, 8
push 0x551b38
lea edx, [ebp - 0x210]
push edx
call fcn.00486ab7
add esp, 8
lea eax, [ebp - 0xe50]
push eax
mov ecx, dword [ebp - 0x1474]
add ecx, 0x74
call fcn.0040ce50
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x1474]
add ecx, 0x90
call fcn.0040ce50
jmp 0x44728b
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0xe50]
push eax
call fcn.00486ae5
add esp, 8
lea ecx, [ebp - 0xe50]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00486ae5
add esp, 8
push 0x551b3c
lea eax, [ebp - 0x210]
push eax
call fcn.00486ab7
add esp, 8
push 0x551b54
lea ecx, [ebp - 0x210]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0xe50]
push edx
mov ecx, dword [ebp - 0x1474]
add ecx, 0x74
call fcn.0040ce50
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x1474]
add ecx, 0x90
call fcn.0040ce50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret