Function at 0x41baf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b311
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x850], esi
mov ebx, dword [ebp + 8]
push ecx
push str.CSilentSetPrinterInfoParametersFromSilentIni::LoadPrinterInfo
lea ecx, [ebp - 0x848]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x41bb81
test byte [ecx + 0x1c], 1
je 0x41bb81
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5c82d4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xe
call fcn.00401840
add esp, 0xc
mov eax, dword [ebx + 4]
test eax, eax
je 0x41bbbe
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x41bbae
xor esi, esi
mov ecx, dword [ebx + 4]
add ecx, esi
push 0
mov eax, dword [ecx]
call dword [eax]
inc edi
add esi, 0x24
cmp edi, dword [ebx + 8]
jl 0x41bb91
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x850]
push eax
call fcn.00550747
add esp, 4
mov dword [ebx + 4], 0
lea ecx, [ebp - 0x864]
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
call fcn.0055b16f
lea eax, [ebp - 0x864]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0041c4c0
mov edi, eax
test edi, edi
jne 0x41bd02
mov ecx, dword [0x6184f0]
push eax
mov ecx, dword [ecx + 4]
call fcn.004ff5e0
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.00571c00
add esp, 0xc
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x41bde9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84c], eax
mov byte [ebp - 4], 2
xor esi, esi
mov eax, dword [ebp - 0x85c]
test eax, eax
jle 0x41bce0
test esi, esi
js 0x41bde4
cmp esi, eax
jge 0x41bde4
mov ecx, dword [ebp - 0x850]
mov eax, dword [ebp - 0x860]
push dword [ecx + 4]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push 0x5c6930
push dword [eax + esi*4]
push str.Printer_Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41bc90
sub eax, edx
lea ecx, [ebp - 0x84c]
sar eax, 1
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00403bb0
cmp esi, 0x12c
jge 0x41bd80
lea eax, [ebp - 0x84c]
push eax
push ebx
call fcn.0041c720
mov edi, eax
test edi, edi
jne 0x41bce0
mov eax, dword [ebp - 0x85c]
inc esi
cmp esi, eax
jl 0x41bc48
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x84c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bd02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x844], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x41bd4a
test byte [ecx + 0x1c], 1
je 0x41bd4a
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5c82d4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x10
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x864]
call fcn.0055b186
lea ecx, [ebp - 0x848]
call fcn.0040a570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x41bdc0
test byte [ecx + 0x1c], 4
je 0x41bdc0
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5c82d4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xf
call fcn.00401840
add esp, 0xc
push 0x12c
push 0x12c
push 0x1e
push dword [0x6184fc]
call fcn.00502d80
add esp, 0x10
mov edi, 0x8001006e
jmp 0x41bce0
call fcn.005511b9
push 0x80004005
call fcn.004013a0
int3