Function at 0x4116f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573930
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040afc0
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x411762
push str.EPSON
push edi
call fcn.00543082
add esp, 8
test eax, eax
je 0x411762
sub eax, edi
sar eax, 1
jns 0x41176c
mov esi, 1
jmp 0x4119c2
cmp dword [edi - 0xc], 0
jl 0x411794
push 0x5a2b44
push edi
call fcn.00543082
add esp, 8
test eax, eax
je 0x411794
sub eax, edi
sar eax, 1
js 0x411794
mov esi, 6
jmp 0x4119c2
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.00412380
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
je 0x41199a
call fcn.00448a4d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4117e2
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00406910
mov ecx, dword [ebp - 0x18]
push str..VIF
push ecx
call fcn.00542bb8
add esp, 8
test eax, eax
jne 0x411970
mov edx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edx
push eax
push str.Category
push str.PrnterInfo
call esi
cmp eax, 0xb
jb 0x411856
mov eax, dword [ebp - 0x10]
push eax
push 0
push str.Category
push str.PrnterInfo
call esi
cmp eax, 0x13
ja 0x411856
mov esi, 4
jmp 0x41194e
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push str.Category
push str.PrnterInfo
call esi
cmp eax, 5
jne 0x411949
lea ecx, [ebp - 0x30]
call fcn.00454dde
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00454e85
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004078d0
mov ebx, eax
add esp, 8
xor esi, esi
test ebx, ebx
jle 0x411913
test esi, esi
jl 0x411944
cmp esi, dword [ebp - 0x28]
jge 0x411944
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + esi*4]
sub eax, 0x10
push eax
call fcn.00402000
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 5
cmp esi, dword [ebp - 0x28]
jge 0x411944
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + esi*4]
push str.DownLoad
push eax
call fcn.00542bb8
add esp, 8
test eax, eax
je 0x411926
lea eax, [edi - 0x10]
inc esi
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41190c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jl 0x4118a1
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov esi, 5
mov byte [ebp - 4], 3
call fcn.00455030
jmp 0x41194e
lea ecx, [ebp - 0x1c]
call fcn.00412f60
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov esi, 2
mov byte [ebp - 4], 3
call fcn.00455030
jmp 0x41194e
call fcn.00448939
mov esi, 2
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call fcn.00402070
call fcn.00409c80
add esp, 4
test eax, eax
je 0x411975
mov esi, 3
jmp 0x411975
mov esi, 7
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41199f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41199f
mov esi, 7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4119c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4119e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4