Function at 0x40c06d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x440c54
call fcn.004151bc
mov eax, 0x292c
call fcn.00416000
mov eax, dword [0x466c7c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
push 0x5f1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004363be
push 1
push ebx
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0040bf1d
lea eax, [esi + 0x238]
push str.Setup.ini
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00432b8c
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00432a96
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004329a9
push dword [ebp - 0x20]
lea eax, [ebp - 0x2938]
push 0x2800
push eax
push 0x467e68
push ebx
push str.MATROX
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x2938], bl
lea edi, [ebp - 0x2938]
je 0x40c2a2
push dword [ebp - 0x20]
lea eax, [ebp - 0x138]
push 0xff
push eax
push str.Error
push edi
push str.MATROX
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x138]
push str.Error
push eax
call fcn.00415510
pop ecx
test eax, eax
pop ecx
je 0x40c28d
push edi
lea ecx, [ebp - 0x14]
call fcn.00432ae6
push str.SoftwareMatrox
lea ecx, [ebp - 0x18]
call fcn.00432ae6
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00432c86
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00431bd4
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00431b5c
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00432c9b
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004329a9
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [eax - 8]
sub eax, dword [ebp - 0x28]
dec eax
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00431ae0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00432a96
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004329a9
push ecx
lea eax, [ebp - 0x138]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00432a17
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
mov byte [ebp - 4], 9
call fcn.0043271e
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
mov byte [ebp - 4], 0xa
call fcn.0043271e
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00409f3f
push 0x462e98
lea ecx, [ebp - 0x10]
call fcn.00432ae6
push str.HKEY_LOCAL_MACHINE_
lea ecx, [ebp - 0x10]
call fcn.00432c5f
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.00432c9b
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00432c86
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x10]
push eax
call fcn.00432c9b
push 0x462e94
lea ecx, [ebp - 0x10]
call fcn.00432c5f
lea eax, [ebp - 0x138]
lea ecx, [ebp - 0x10]
push eax
call fcn.00432c5f
push 1
push ebx
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0040bf1d
mov dword [ebp - 0x28], 1
push edi
call fcn.00415410
cmp byte [edi + eax + 1], bl
lea edi, [edi + eax + 1]
pop ecx
jne 0x40c120
cmp dword [ebp - 0x28], ebx
jne 0x40c2da
push 0x5e4
lea ecx, [ebp - 0x10]
call fcn.004363be
push 0x462e98
lea ecx, [ebp - 0x1c]
call fcn.00432ae6
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00432c9b
push 1
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040bf1d
push 1
push ebx
push 0x467e68
mov ecx, esi
call fcn.0040bf1d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004329a9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004329a9
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004329a9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004329a9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004329a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004329a9
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret