Function at 0x401b3a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x904
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, 0x800
push esi
lea eax, [ebp - 0x904]
push eax
push str.none
push str.Class
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x904]
push str.printer
push eax
call fcn.00407e96
test eax, eax
pop ecx
pop ecx
je 0x401b8b
xor eax, eax
jmp 0x401d85
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x904]
push esi
push eax
push str.Manufacturer
call ebx
test eax, eax
jne 0x401bb0
xor eax, eax
jmp 0x401d83
lea eax, [ebp - 0x904]
push 0x3d
push eax
call fcn.004031c0
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x401bcb
inc edi
push 0x2c
jmp 0x401be2
cmp byte [ebp - 0x904], 0x22
lea edi, [ebp - 0x904]
jne 0x401be0
lea edi, [ebp - 0x903]
push 0x22
push edi
call fcn.004031c0
test eax, eax
pop ecx
pop ecx
je 0x401bf1
and byte [eax], 0
push dword [ebp + 8]
lea eax, [ebp - 0x904]
push esi
push eax
push edi
call ebx
test eax, eax
je 0x401ba9
cmp byte [ebp - 0x904], 0
lea edi, [ebp - 0x904]
je 0x401d76
cmp byte [edi], 0x22
jne 0x401c1c
inc edi
push 0x3d
push edi
mov esi, edi
call fcn.004031c0
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x401d76
and byte [edi], 0
inc edi
lea eax, [edi - 2]
mov cl, byte [eax]
cmp cl, 0x22
je 0x401c45
cmp cl, 0x20
jne 0x401c4b
and byte [eax], 0
dec eax
jmp 0x401c39
push 0x25
push esi
call fcn.004031c0
test eax, eax
pop ecx
pop ecx
je 0x401cd2
inc esi
push esi
call fcn.004030e0
and byte [eax + esi - 1], 0
pop ecx
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x100
push eax
push str.none
push esi
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x104]
push 0x3b
push eax
lea esi, [ebp - 0x104]
call fcn.004031c0
test eax, eax
pop ecx
pop ecx
je 0x401cb0
and byte [eax], 0
dec eax
mov cl, byte [eax]
cmp cl, 0x20
je 0x401ca0
cmp cl, 9
je 0x401ca0
cmp byte [ebp - 0x104], 0x22
jne 0x401cbf
lea esi, [ebp - 0x103]
push esi
call fcn.004030e0
lea eax, [eax + esi - 1]
cmp byte [eax], 0x22
pop ecx
jne 0x401cd2
and byte [eax], 0
push edi
mov ebx, edi
call fcn.004030e0
push dword [ebp + 0xc]
lea edi, [edi + eax + 1]
push esi
call fcn.00407e96
add esp, 0xc
test eax, eax
jne 0x401d6d
push 0x2c
push ebx
call fcn.004031c0
test eax, eax
pop ecx
pop ecx
je 0x401d6d
lea esi, [eax + 1]
cmp esi, edi
jae 0x401d6d
push 0x2c
push esi
call fcn.004031c0
test eax, eax
pop ecx
pop ecx
je 0x401d17
and byte [eax], 0
jmp 0x401d17
inc esi
cmp byte [esi], 0x20
je 0x401d16
push esi
call fcn.004030e0
push 0x3b
push esi
lea ebx, [eax + esi + 1]
call fcn.004031c0
add esp, 0xc
test eax, eax
je 0x401d45
and byte [eax], 0
dec eax
mov cl, byte [eax]
cmp cl, 0x20
je 0x401d35
cmp cl, 9
je 0x401d35
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
add eax, ecx
push esi
push eax
call fcn.00402f40
push esi
call fcn.004030e0
mov ecx, dword [ebp - 4]
add esp, 0xc
cmp ebx, edi
lea eax, [ecx + eax + 1]
mov dword [ebp - 4], eax
mov esi, ebx
jb 0x401d03
cmp byte [edi], 0
jne 0x401c16
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
and byte [ecx + eax], 0
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret