Function at 0x401b1d
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.00407f46
test eax, eax
pop ecx
pop ecx
je 0x401b6e
xor eax, eax
jmp 0x401d68
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 0x401b93
xor eax, eax
jmp 0x401d66
lea eax, [ebp - 0x904]
push 0x3d
push eax
call fcn.00403270
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x401bae
inc edi
push 0x2c
jmp 0x401bc5
cmp byte [ebp - 0x904], 0x22
lea edi, [ebp - 0x904]
jne 0x401bc3
lea edi, [ebp - 0x903]
push 0x22
push edi
call fcn.00403270
test eax, eax
pop ecx
pop ecx
je 0x401bd4
and byte [eax], 0
push dword [ebp + 8]
lea eax, [ebp - 0x904]
push esi
push eax
push edi
call ebx
test eax, eax
je 0x401b8c
cmp byte [ebp - 0x904], 0
lea edi, [ebp - 0x904]
je 0x401d59
cmp byte [edi], 0x22
jne 0x401bff
inc edi
push 0x3d
push edi
mov esi, edi
call fcn.00403270
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x401d59
and byte [edi], 0
inc edi
lea eax, [edi - 2]
mov cl, byte [eax]
cmp cl, 0x22
je 0x401c28
cmp cl, 0x20
jne 0x401c2e
and byte [eax], 0
dec eax
jmp 0x401c1c
push 0x25
push esi
call fcn.00403270
test eax, eax
pop ecx
pop ecx
je 0x401cb5
inc esi
push esi
call fcn.00403190
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.00403270
test eax, eax
pop ecx
pop ecx
je 0x401c93
and byte [eax], 0
dec eax
mov cl, byte [eax]
cmp cl, 0x20
je 0x401c83
cmp cl, 9
je 0x401c83
cmp byte [ebp - 0x104], 0x22
jne 0x401ca2
lea esi, [ebp - 0x103]
push esi
call fcn.00403190
lea eax, [eax + esi - 1]
cmp byte [eax], 0x22
pop ecx
jne 0x401cb5
and byte [eax], 0
push edi
mov ebx, edi
call fcn.00403190
push dword [ebp + 0xc]
lea edi, [edi + eax + 1]
push esi
call fcn.00407f46
add esp, 0xc
test eax, eax
jne 0x401d50
push 0x2c
push ebx
call fcn.00403270
test eax, eax
pop ecx
pop ecx
je 0x401d50
lea esi, [eax + 1]
cmp esi, edi
jae 0x401d50
push 0x2c
push esi
call fcn.00403270
test eax, eax
pop ecx
pop ecx
je 0x401cfa
and byte [eax], 0
jmp 0x401cfa
inc esi
cmp byte [esi], 0x20
je 0x401cf9
push esi
call fcn.00403190
push 0x3b
push esi
lea ebx, [eax + esi + 1]
call fcn.00403270
add esp, 0xc
test eax, eax
je 0x401d28
and byte [eax], 0
dec eax
mov cl, byte [eax]
cmp cl, 0x20
je 0x401d18
cmp cl, 9
je 0x401d18
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
add eax, ecx
push esi
push eax
call fcn.00402ff0
push esi
call fcn.00403190
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 0x401ce6
cmp byte [edi], 0
jne 0x401bf9
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