Function at 0x404220
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push 0x4208a0
push esi
call fcn.0041140e
add esp, 8
test eax, eax
jne 0x4043c1
xor ebx, ebx
pop esi
mov byte [0x1855cf8], bl
mov byte [0x1855cf9], bl
mov byte [0x1855cfa], bl
mov byte [0x1855cfb], bl
mov byte [0x1855cfc], bl
mov byte [0x1855cfd], bl
mov byte [0x1855cfe], bl
mov byte [0x1855cff], bl
mov byte [0x1855d48], bl
mov byte [0x1855d49], bl
mov byte [0x1855d4a], bl
mov byte [0x1855d4b], bl
mov byte [0x1855d4c], bl
mov byte [0x1855d4d], bl
mov byte [0x1855d4e], bl
mov byte [0x1855d4f], bl
mov byte [0x1855d00], bl
mov byte [0x1855d01], bl
mov byte [0x1855d02], bl
mov byte [0x1855d03], bl
mov byte [0x1855d04], bl
mov byte [0x1855d05], bl
mov byte [0x1855d06], bl
mov byte [0x1855d07], bl
mov byte [0x1855d50], bl
mov byte [0x1855d51], bl
mov byte [0x1855d52], bl
mov byte [0x1855d53], bl
mov byte [0x1855d54], bl
mov byte [0x1855d55], bl
mov byte [0x1855d56], bl
mov byte [0x1855d57], bl
mov byte [0x1855d08], bl
mov byte [0x1855d09], bl
mov byte [0x1855d0a], bl
mov byte [0x1855d0b], bl
mov byte [0x1855d0c], bl
mov byte [0x1855d0d], bl
mov byte [0x1855d0e], bl
mov byte [0x1855d0f], bl
mov byte [0x1855d58], bl
mov byte [0x1855d59], bl
mov byte [0x1855d5a], bl
mov byte [0x1855d5b], bl
mov byte [0x1855d5c], bl
mov byte [0x1855d5d], bl
mov byte [0x1855d5e], bl
mov byte [0x1855d5f], bl
mov byte [0x1855d10], bl
mov byte [0x1855d11], bl
mov byte [0x1855d12], bl
mov byte [0x1855d13], bl
mov byte [0x1855d14], bl
mov byte [0x1855d15], bl
mov byte [0x1855d16], bl
mov byte [0x1855d17], bl
mov byte [0x1855d60], bl
mov byte [0x1855d61], bl
mov byte [0x1855d62], bl
mov byte [0x1855d63], bl
mov byte [0x1855d64], bl
mov byte [0x1855d65], bl
mov byte [0x1855d66], bl
mov byte [0x1855d67], bl
pop ebx
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ebx, ebx
push esi
push ebx
push str.LR00_1
push str.PrinterAdjust
call edi
push esi
push ebx
push str.LR01_1
push str.PrinterAdjust
mov byte [0x1855cf8], al
call edi
push esi
push ebx
push str.LR02_1
push str.PrinterAdjust
mov byte [0x1855cf9], al
call edi
push esi
push ebx
push str.LR03_1
push str.PrinterAdjust
mov byte [0x1855cfa], al
call edi
push esi
push ebx
push str.LR04_1
push str.PrinterAdjust
mov byte [0x1855cfb], al
call edi
push esi
push ebx
push str.LR05_1
push str.PrinterAdjust
mov byte [0x1855cfc], al
call edi
push esi
push ebx
push str.LR10_1
push str.PrinterAdjust
mov byte [0x1855cfd], al
call edi
push esi
push ebx
push str.LR11_1
push str.PrinterAdjust
mov byte [0x1855d00], al
call edi
push esi
push ebx
push str.LR12_1
push str.PrinterAdjust
mov byte [0x1855d01], al
call edi
push esi
push ebx
push str.LR13_1
push str.PrinterAdjust
mov byte [0x1855d02], al
call edi
push esi
push ebx
push str.LR14_1
push str.PrinterAdjust
mov byte [0x1855d03], al
call edi
push esi
push ebx
push str.LR15_1
push str.PrinterAdjust
mov byte [0x1855d04], al
call edi
push esi
push ebx
push str.LR20_1
push str.PrinterAdjust
mov byte [0x1855d05], al
call edi
mov byte [0x1855d08], al
push esi
push ebx
push str.LR30_1
push str.PrinterAdjust
call edi
push esi
push ebx
push str.LR31_1
push str.PrinterAdjust
mov byte [0x1855d10], al
call edi
push esi
push ebx
push str.LR32_1
push str.PrinterAdjust
mov byte [0x1855d11], al
call edi
push esi
push ebx
push str.LR33_1
push str.PrinterAdjust
mov byte [0x1855d12], al
call edi
push esi
push ebx
push str.LR34_1
push str.PrinterAdjust
mov byte [0x1855d13], al
call edi
push esi
push ebx
push str.LR35_1
push str.PrinterAdjust
mov byte [0x1855d14], al
call edi
push esi
push ebx
push str.RL00_1
push str.PrinterAdjust
mov byte [0x1855d15], al
call edi
push esi
push ebx
push str.RL01_1
push str.PrinterAdjust
mov byte [0x1855d48], al
call edi
push esi
push ebx
push str.RL02_1
push str.PrinterAdjust
mov byte [0x1855d49], al
call edi
push esi
push ebx
push str.RL03_1
push str.PrinterAdjust
mov byte [0x1855d4a], al
call edi
push esi
push ebx
push str.RL04_1
push str.PrinterAdjust
mov byte [0x1855d4b], al
call edi
push esi
push ebx
push str.RL05_1
push str.PrinterAdjust
mov byte [0x1855d4c], al
call edi
push esi
push ebx
push str.RL10_1
push str.PrinterAdjust
mov byte [0x1855d4d], al
call edi
push esi
push ebx
mov byte [0x1855d50], al
push str.RL11_1
push str.PrinterAdjust
call edi
push esi
push ebx
push str.RL12_1
push str.PrinterAdjust
mov byte [0x1855d51], al
call edi
push esi
push ebx
push str.RL13_1
push str.PrinterAdjust
mov byte [0x1855d52], al
call edi
push esi
push ebx
push str.RL14_1
push str.PrinterAdjust
mov byte [0x1855d53], al
call edi
push esi
push ebx
push str.RL15_1
push str.PrinterAdjust
mov byte [0x1855d54], al
call edi
push esi
push ebx
push str.RL20_1
push str.PrinterAdjust
mov byte [0x1855d55], al
call edi
push esi
push ebx
push str.RL30_1
push str.PrinterAdjust
mov byte [0x1855d58], al
call edi
push esi
push ebx
push str.RL31_1
push str.PrinterAdjust
mov byte [0x1855d60], al
call edi
push esi
push ebx
push str.RL32_1
push str.PrinterAdjust
mov byte [0x1855d61], al
call edi
push esi
push ebx
push str.RL33_1
push str.PrinterAdjust
mov byte [0x1855d62], al
call edi
push esi
push ebx
push str.RL34_1
push str.PrinterAdjust
mov byte [0x1855d63], al
call edi
push esi
push ebx
push str.RL35_1
push str.PrinterAdjust
mov byte [0x1855d64], al
call edi
mov byte [0x1855d65], al
xor eax, eax
pop edi
mov cl, byte [eax + 0x1855cf8]
mov byte [eax + 0x1855d18], cl
mov dl, byte [eax + 0x1855d48]
mov byte [eax + 0x1855d68], dl
mov cl, byte [eax + 0x1855d10]
mov byte [eax + 0x1855d20], cl
mov dl, byte [eax + 0x1855d60]
mov byte [eax + 0x1855d70], dl
inc eax
cmp eax, 6
jl 0x40469f
pop esi
pop ebx
ret