Function at 0x4edea0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9eef
mov eax, dword fs:[0]
push eax
mov eax, 0x29cc
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2984], ecx
push ecx
push str.CBaseInfoPrinterEx::ReadBasicPrinterInfoToShareMem
lea ecx, [ebp - 0x2978]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4edf2f
test byte [ecx + 0x1c], 1
je 0x4edf2f
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5daec4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x5c
call fcn.00401840
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x28f4], 7
push eax
xor edi, edi
mov word [ebp - 0x2908], ax
push 0x5c6930
lea ecx, [ebp - 0x2908]
mov dword [ebp - 0x29a8], edi
mov dword [ebp - 0x28f8], edi
call fcn.004035d0
push 0x410
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.00571c00
push 0x410
lea eax, [ebp - 0xc80]
push edi
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0xe88]
push edi
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x1090]
push edi
push eax
call fcn.00571c00
push 0x410
lea eax, [ebp - 0x870]
push edi
push eax
call fcn.00571c00
push 0x40
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.00571c00
mov eax, dword [ebp + 8]
add esp, 0x48
mov dword [ebp - 0x299c], edi
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x4eeee2
lea eax, [ebp - 0x2908]
cmp eax, esi
je 0x4ee005
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4edff6
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2908]
push eax
call fcn.004035d0
push 0x410
lea eax, [ebp - 0x460]
push 0
push eax
call fcn.00571c00
push 0x410
lea eax, [ebp - 0xc80]
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0xe88]
mov dword [ebp - 0x29b8], 0
push 0
push eax
call fcn.00571c00
push 0x208
lea eax, [ebp - 0x1090]
push 0
push eax
call fcn.00571c00
push 0x410
lea eax, [ebp - 0x870]
push 0
push eax
call fcn.00571c00
xor edx, edx
mov dword [ebp - 0x29b0], 0
push 0x40
push edx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x29a0], 0
push eax
mov dword [ebp - 0x29ac], 0
mov dword [ebp - 0x2988], edx
mov dword [ebp - 0x29b4], edx
call fcn.00571c00
xor eax, eax
mov dword [ebp - 0x29a4], 0
mov dword [ebp - 0x2980], eax
lea edx, [ebp - 0x460]
mov eax, dword [0x6184f0]
add esp, 0x48
cmp dword [ebp - 0x28f4], 8
mov dword [ebp - 0x2990], 0
mov ecx, dword [eax + 0x2c]
lea eax, [ebp - 0x2908]
cmovae eax, dword [ebp - 0x2908]
push edx
push eax
call fcn.004f9650
mov eax, dword [0x6184f0]
lea edx, [ebp - 0xc80]
cmp dword [ebp - 0x28f4], 8
push edx
mov ecx, dword [eax + 0x2c]
lea eax, [ebp - 0x2908]
cmovae eax, dword [ebp - 0x2908]
push eax
call fcn.004f9ac0
mov ecx, dword [0x6184f0]
mov eax, dword [ecx + 8]
cmp dword [eax + 0x7f8], 2
jne 0x4ee161
cmp dword [ebp - 0x28f4], 8
lea edx, [ebp - 0x1090]
mov ecx, dword [ecx + 0x2c]
lea eax, [ebp - 0x2908]
cmovae eax, dword [ebp - 0x2908]
push edx
lea edx, [ebp - 0xe88]
push edx
lea edx, [ebp - 0x29b8]
push edx
push eax
call fcn.004f9f80
mov ecx, dword [0x6184f0]
cmp dword [ebp - 0x28f4], 8
lea edx, [ebp - 0x870]
mov ecx, dword [ecx + 0x2c]
lea eax, [ebp - 0x2908]
cmovae eax, dword [ebp - 0x2908]
push edx
push eax
call fcn.004fa5c0
mov eax, dword [0x6184f0]
lea edi, [ebp - 0x2908]
cmp dword [ebp - 0x28f4], 8
push ecx
cmovae edi, dword [ebp - 0x2908]
lea ecx, [ebp - 0x2940]
mov eax, dword [eax + 0x2c]
push str.CBaseInfoResBasicIni::Read_PrnInfo_cVer
mov dword [ebp - 0x297c], eax
call fcn.0040a480
mov byte [ebp - 4], 2
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ee202
test byte [ecx + 0x1c], 1
je 0x4ee202
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5db828
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x32
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
test edi, edi
je 0x4ee281
push 0x410
lea eax, [ebp - 0x24e0]
push 0
push eax
call fcn.00571c00
push edi
lea eax, [ebp - 0x24e0]
push 0x208
push eax
call fcn.005746e6
mov ecx, dword [ebp - 0x297c]
lea eax, [ebp - 0x24e0]
add esp, 0x18
push 1
push 0x208
push eax
call fcn.004fce40
mov edi, eax
test edi, edi
jne 0x4ee279
mov eax, dword [ebp - 0x297c]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4ee25e
mov eax, dword [eax]
push eax
push 0
push str.cVersion
lea eax, [ebp - 0x24e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x29b0], eax
mov ecx, dword [0x608f30]
jmp 0x4ee29a
mov edi, 0x80010001
mov dword [0x6183ec], 1
mov dword [ebp - 0x29b0], 0
mov byte [ebp - 0x293c], 1
cmp ecx, 0x608f30
je 0x4ee2dc
test byte [ecx + 0x1c], 1
je 0x4ee2dc
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5db828
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x33
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2940]
mov byte [ebp - 4], 1
call fcn.0040a570
mov eax, dword [0x6184f0]
lea edi, [ebp - 0x2908]
cmp dword [ebp - 0x28f4], 8
push ecx
cmovae edi, dword [ebp - 0x2908]
lea ecx, [ebp - 0x2940]
mov eax, dword [eax + 0x2c]
push str.CBaseInfoResBasicIni::Read_PrnInfo_Additionals
mov dword [ebp - 0x297c], eax
call fcn.0040a480
mov byte [ebp - 4], 3
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ee368
test byte [ecx + 0x1c], 1
je 0x4ee368
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5db828
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x36
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
test edi, edi
je 0x4ee3e7
push 0x410
lea eax, [ebp - 0x20d0]
push 0
push eax
call fcn.00571c00
push edi
lea eax, [ebp - 0x20d0]
push 0x208
push eax
call fcn.005746e6
mov ecx, dword [ebp - 0x297c]
lea eax, [ebp - 0x20d0]
add esp, 0x18
push 1
push 0x208
push eax
call fcn.004fce40
mov edi, eax
test edi, edi
jne 0x4ee3df
mov ecx, dword [ebp - 0x297c]
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x4ee3c4
mov ecx, dword [ecx]
push ecx
push 0
push str.Additionals
lea eax, [ebp - 0x20d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x29a0], eax
mov ecx, dword [0x608f30]
jmp 0x4ee400
mov edi, 0x80010001
mov dword [0x6183ec], 1
mov dword [ebp - 0x29a0], 0
mov byte [ebp - 0x293c], 1
cmp ecx, 0x608f30
je 0x4ee442
test byte [ecx + 0x1c], 1
je 0x4ee442
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5db828
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x37
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2940]
mov byte [ebp - 4], 1
call fcn.0040a570
mov eax, dword [0x6184f0]
lea edi, [ebp - 0x2908]
cmp dword [ebp - 0x28f4], 8
push ecx
cmovae edi, dword [ebp - 0x2908]
lea ecx, [ebp - 0x2940]
mov eax, dword [eax + 0x2c]
push str.CBaseInfoResBasicIni::Read_PrnInfo_Kind
mov dword [ebp - 0x297c], eax
call fcn.0040a480
mov byte [ebp - 4], 4
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ee4ce
test byte [ecx + 0x1c], 1
je 0x4ee4ce
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5db828
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x3a
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
test edi, edi
je 0x4ee54d
push 0x410
lea eax, [ebp - 0x1cc0]
push 0
push eax
call fcn.00571c00
push edi
lea eax, [ebp - 0x1cc0]
push 0x208
push eax
call fcn.005746e6
mov ecx, dword [ebp - 0x297c]
lea eax, [ebp - 0x1cc0]
add esp, 0x18
push 1
push 0x208
push eax
call fcn.004fce40
mov edi, eax
test edi, edi
jne 0x4ee545
mov ecx, dword [ebp - 0x297c]
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x4ee52a
mov ecx, dword [ecx]
push ecx
push 0
push str.Kind
lea eax, [ebp - 0x1cc0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x29ac], eax
mov ecx, dword [0x608f30]
jmp 0x4ee566
mov edi, 0x80010001
mov dword [0x6183ec], 1
mov dword [ebp - 0x29ac], 0
mov byte [ebp - 0x293c], 1
cmp ecx, 0x608f30
je 0x4ee5a8
test byte [ecx + 0x1c], 1
je 0x4ee5a8
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5db828
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x3b
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2940]
mov byte [ebp - 4], 1
call fcn.0040a570
mov eax, dword [0x6184f0]
lea edi, [ebp - 0x2908]
cmp dword [ebp - 0x28f4], 8
push ecx
cmovae edi, dword [ebp - 0x2908]
lea ecx, [ebp - 0x2940]
mov eax, dword [eax + 0x2c]
push str.CBaseInfoResBasicIni::Read_PrnInfo_Proc
mov dword [ebp - 0x297c], eax
call fcn.0040a480
mov byte [ebp - 4], 5
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ee634
test byte [ecx + 0x1c], 1
je 0x4ee634
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5db828
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x3e
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
test edi, edi
je 0x4ee6b3
push 0x410
lea eax, [ebp - 0x18b0]
push 0
push eax
call fcn.00571c00
push edi
lea eax, [ebp - 0x18b0]
push 0x208
push eax
call fcn.005746e6
mov ecx, dword [ebp - 0x297c]
lea eax, [ebp - 0x18b0]
add esp, 0x18
push 1
push 0x208
push eax
call fcn.004fce40
mov edi, eax
test edi, edi
jne 0x4ee6ab
mov ecx, dword [ebp - 0x297c]
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x4ee690
mov ecx, dword [ecx]
push ecx
push 0
push str.Proc
lea eax, [ebp - 0x18b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x2988], eax
mov ecx, dword [0x608f30]
jmp 0x4ee6ca
xor edx, edx
mov dword [0x6183ec], 1
mov edi, 0x80010001
mov dword [ebp - 0x2988], edx
mov byte [ebp - 0x293c], 1
cmp ecx, 0x608f30
je 0x4ee70c
test byte [ecx + 0x1c], 1
je 0x4ee70c
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5db828
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x3f
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2940]
mov byte [ebp - 4], 1
call fcn.0040a570
mov eax, dword [0x6184f0]
lea edi, [ebp - 0x2908]
cmp dword [ebp - 0x28f4], 8
push ecx
cmovae edi, dword [ebp - 0x2908]
lea ecx, [ebp - 0x2940]
mov eax, dword [eax + 0x2c]
push str.CBaseInfoResBasicIni::Read_PrnInfo_NetShare
mov dword [ebp - 0x297c], eax
call fcn.0040a480
mov byte [ebp - 4], 6
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ee798
test byte [ecx + 0x1c], 1
je 0x4ee798
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5db828
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x42
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
test edi, edi
je 0x4ee817
push 0x410
lea eax, [ebp - 0x28f0]
push 0
push eax
call fcn.00571c00
push edi
lea eax, [ebp - 0x28f0]
push 0x208
push eax
call fcn.005746e6
mov ecx, dword [ebp - 0x297c]
lea eax, [ebp - 0x28f0]
add esp, 0x18
push 1
push 0x208
push eax
call fcn.004fce40
mov edi, eax
test edi, edi
jne 0x4ee80f
mov ecx, dword [ebp - 0x297c]
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x4ee7f4
mov ecx, dword [ecx]
push ecx
push 0
push str.NetShare
lea eax, [ebp - 0x28f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x29b4], eax
mov ecx, dword [0x608f30]
jmp 0x4ee830
mov edi, 0x80010001
mov dword [0x6183ec], 1
mov dword [ebp - 0x29b4], 0
mov byte [ebp - 0x293c], 1
cmp ecx, 0x608f30
je 0x4ee872
test byte [ecx + 0x1c], 1
je 0x4ee872
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5db828
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x43
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2940]
mov byte [ebp - 4], 1
call fcn.0040a570
mov eax, dword [0x6184f0]
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x28f4], 8
push edx
mov ecx, dword [eax + 0x2c]
lea eax, [ebp - 0x2908]
cmovae eax, dword [ebp - 0x2908]
push eax
call fcn.004fb9e0
mov eax, dword [0x6184f0]
lea edi, [ebp - 0x2908]
cmp dword [ebp - 0x28f4], 8
push ecx
cmovae edi, dword [ebp - 0x2908]
lea ecx, [ebp - 0x2940]
mov eax, dword [eax + 0x2c]
push str.CBaseInfoResBasicIni::Read_PrnInfo_CompleteDel
mov dword [ebp - 0x297c], eax
call fcn.0040a480
mov byte [ebp - 4], 7
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ee924
test byte [ecx + 0x1c], 1
je 0x4ee924
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5db828
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x4a
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
test edi, edi
je 0x4ee9a3
push 0x410
lea eax, [ebp - 0x14a0]
push 0
push eax
call fcn.00571c00
push edi
lea eax, [ebp - 0x14a0]
push 0x208
push eax
call fcn.005746e6
mov ecx, dword [ebp - 0x297c]
lea eax, [ebp - 0x14a0]
add esp, 0x18
push 1
push 0x208
push eax
call fcn.004fce40
mov edi, eax
test edi, edi
jne 0x4ee99b
mov ecx, dword [ebp - 0x297c]
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x4ee980
mov ecx, dword [ecx]
push ecx
push 0
push str.CompleteDel
lea eax, [ebp - 0x14a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x29a4], eax
mov ecx, dword [0x608f30]
jmp 0x4ee9bc
mov edi, 0x80010001
mov dword [0x6183ec], 1
mov dword [ebp - 0x29a4], 0
mov byte [ebp - 0x293c], 1
cmp ecx, 0x608f30
je 0x4ee9fe
test byte [ecx + 0x1c], 1
je 0x4ee9fe
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5db828
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x4b
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2940]
mov byte [ebp - 4], 1
call fcn.0040a570
mov eax, dword [0x6184f0]
lea edx, [ebp - 0x2990]
cmp dword [ebp - 0x28f4], 8
push edx
mov ecx, dword [eax + 0x2c]
lea eax, [ebp - 0x2908]
cmovae eax, dword [ebp - 0x2908]
push eax
call fcn.004fc170
sub esp, 0x18
lea ecx, [ebp - 0x2908]
mov edi, esp
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x28f4], 8
mov eax, dword [ebp - 0x28f8]
cmovae ecx, dword [ebp - 0x2908]
mov dword [ebp - 0x297c], eax
mov dword [ebp - 0x2998], ecx
cmp eax, 8
jae 0x4eea89
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
jmp 0x4eeb24
or eax, 7
mov ecx, SysReAllocString
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x2994], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x4eeaaf
or ecx, 0xffffffff
jmp 0x4eeab7
cmp ecx, 0x1000
jb 0x4eeae0
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.0055070f
add esp, 4
test eax, eax
je 0x4ef4a3
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4eeaf3
test ecx, ecx
je 0x4eeaf1
push ecx
call fcn.0055070f
add esp, 4
mov ecx, eax
jmp 0x4eeaf3
xor ecx, ecx
mov eax, dword [ebp - 0x297c]
mov dword [edi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x2998]
push ecx
call fcn.00571100
mov eax, dword [ebp - 0x297c]
add esp, 0xc
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2994]
mov dword [edi + 0x14], eax
mov ecx, dword [ebp - 0x2984]
call fcn.004f1d30
mov ecx, dword [0x6184f0]
mov edi, eax
lea eax, [ebp - 0x297c]
mov dword [ebp - 0x2998], edi
push eax
mov dword [ebp - 0x297c], 0
mov ecx, dword [ecx + 0x2c]
call fcn.004f8d40
mov eax, dword [ebp - 0x297c]
test edi, edi
jne 0x4eef74
mov ecx, dword [ebp - 0x2988]
cmp ecx, 3
jne 0x4eecc4
lea eax, [ebp - 0x2908]
push eax
lea ecx, [ebp - 0x29d8]
call fcn.00402f40
push ecx
push str.CBaseInfoPrinterEx::CheckBasicAndDetailData
lea ecx, [ebp - 0x2940]
mov byte [ebp - 4], 8
call fcn.0040a480
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4eebda
test byte [ecx + 0x1c], 1
je 0x4eebda
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5daec4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6f
call fcn.00401840
add esp, 0xc
mov edi, dword [ebp - 0x2984]
xor eax, eax
mov dword [ebp - 0x2980], eax
lea eax, [ebp - 0x29d8]
push eax
lea eax, [ebp - 0x29c0]
push eax
lea ecx, [edi + 0x590]
call fcn.00402cf0
mov eax, dword [eax]
cmp eax, dword [edi + 0x590]
jne 0x4eec22
mov edi, 0x80010052
mov dword [0x6183ec], 0x52
mov dword [ebp - 0x2980], edi
jmp 0x4eec24
xor edi, edi
mov byte [ebp - 0x293c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4eec6c
test byte [ecx + 0x1c], 1
je 0x4eec6c
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5daec4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x70
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2940]
call fcn.0040a570
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x29c4]
cmp edx, 8
jb 0x4eed61
mov ecx, dword [ebp - 0x29d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4eecb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ef4a3
push edx
push ecx
call fcn.0056deb6
add esp, 8
jmp 0x4eed61
cmp ecx, 2
je 0x4eecd2
cmp ecx, 1
jne 0x4eed6f
cmp eax, 0x1e
jb 0x4eee59
mov ecx, dword [ebp - 0x2990]
cmp ecx, 1
je 0x4eed75
sub esp, 0x18
lea ecx, [ebp - 0x870]
mov edx, esp
mov dword [ebp - 0x298c], esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4eed11
sub ecx, edi
lea eax, [ebp - 0x870]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004035d0
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2908]
mov ecx, esp
push eax
call fcn.00402f40
push dword [ebp - 0x299c]
mov ecx, dword [ebp - 0x2984]
mov byte [ebp - 4], 1
call fcn.004f0a40
mov edi, eax
mov dword [ebp - 0x2980], edi
test edi, edi
jne 0x4eeec3
mov eax, dword [ebp - 0x297c]
mov ecx, dword [ebp - 0x2990]
cmp eax, 0x1e
jb 0x4eee59
cmp ecx, 1
jne 0x4eee59
sub esp, 0x18
lea ecx, [ebp - 0x870]
mov edx, esp
mov dword [ebp - 0x298c], esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4eedb0
sub ecx, edi
lea eax, [ebp - 0x870]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004035d0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2908]
mov ecx, esp
push eax
call fcn.00402f40
push dword [ebp - 0x299c]
mov ecx, dword [ebp - 0x2984]
mov byte [ebp - 4], 1
call fcn.004f0a40
mov dword [ebp - 0x2980], eax
test eax, eax
jne 0x4eee51
mov eax, dword [0x6184f0]
cmp dword [ebp - 0x28f4], 8
push 0
mov ecx, dword [eax + 0x2c]
lea eax, [ebp - 0x2908]
cmovae eax, dword [ebp - 0x2908]
push eax
call fcn.004fbfe0
mov eax, dword [0x6184f0]
lea edx, [ebp - 0x2990]
cmp dword [ebp - 0x28f4], 8
push edx
mov ecx, dword [eax + 0x2c]
lea eax, [ebp - 0x2908]
cmovae eax, dword [ebp - 0x2908]
push eax
call fcn.004fc170
jmp 0x4eee59
xor eax, eax
mov dword [ebp - 0x2980], eax
lea eax, [ebp - 0xc80]
push str.WSD_
push eax
call fcn.00570be3
add esp, 8
test eax, eax
jne 0x4eef74
sub esp, 0x18
lea ecx, [ebp - 0xc80]
mov edx, esp
lea edi, [ecx + 2]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4eee90
sub ecx, edi
lea eax, [ebp - 0xc80]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004035d0
mov ecx, dword [ebp - 0x2984]
call fcn.004f0cb0
mov edi, eax
test edi, edi
je 0x4eef7a
cmp di, 0x53
jne 0x4ef445
mov dword [ebp - 0x29a8], edi
mov eax, dword [ebp + 8]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x4edfe2
xor eax, eax
test edi, edi
mov byte [ebp - 0x2974], 1
cmovns edi, eax
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4eef31
test byte [ecx + 0x1c], 1
je 0x4eef31
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5daec4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x5d
call fcn.004018a0
add esp, 0x10
mov edx, dword [ebp - 0x28f4]
cmp edx, 8
jb 0x4ef45c
mov ecx, dword [ebp - 0x2908]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ef452
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ef4a3
jmp 0x4ef452
mov edi, dword [ebp - 0x2980]
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x2980]
push eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x2980], 0
push eax
mov ecx, dword [ecx + 0x2c]
call fcn.004fcc30
cmp dword [ebp - 0x2990], 1
je 0x4eeffe
cmp dword [ebp - 0x2980], 0
je 0x4eeffe
sub esp, 0x18
lea ecx, [ebp - 0x460]
mov edx, esp
lea edi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4eefd3
sub ecx, edi
lea eax, [ebp - 0x460]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004035d0
mov ecx, dword [ebp - 0x2984]
call fcn.004f1060
mov edi, eax
cmp di, 0x53
jne 0x4ef0d7
mov eax, dword [0x6184f0]
push ecx
push str.CBaseInfoResBasicIni::Delete_AddedDriverName
lea ecx, [ebp - 0x2940]
mov edi, dword [eax + 0x2c]
call fcn.0040a480
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ef061
test byte [ecx + 0x1c], 1
je 0x4ef061
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5db828
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x5e
call fcn.00401840
add esp, 0xc
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
jb 0x4ef06c
mov eax, dword [eax]
push eax
push 0
lea eax, [ebp - 0x460]
push eax
push str.AddedDriverList
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 0x293c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ef0ca
test byte [ecx + 0x1c], 1
je 0x4ef0ca
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5db828
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x5f
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2940]
call fcn.0040a570
xor edi, edi
cmp dword [ebp - 0x2998], 0
jne 0x4ef12a
test edi, edi
jne 0x4eeec3
mov eax, dword [ebp - 0x297c]
mov edi, dword [ebp - 0x2988]
cmp eax, 0xa
jne 0x4ef13e
cmp dword [ebp - 0x29a4], 0
jne 0x4ef13e
cmp edi, 2
je 0x4ef10c
cmp edi, 3
jne 0x4ef13e
sub esp, 0x18
lea eax, [ebp - 0x2908]
mov ecx, esp
push eax
call fcn.00402f40
mov ecx, dword [ebp - 0x2984]
call fcn.004f1540
mov edi, eax
test edi, edi
jne 0x4eeec3
mov eax, dword [ebp - 0x297c]
mov edi, dword [ebp - 0x2988]
mov dword [ebp - 0x297c], 0
cmp eax, 0x14
jne 0x4ef332
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x297c]
push eax
lea eax, [ebp - 0x460]
push eax
mov ecx, dword [ecx + 0x2c]
call fcn.004fc690
cmp dword [ebp - 0x297c], 0
jne 0x4ef1d8
cmp edi, 1
je 0x4ef1d8
sub esp, 0x18
lea ecx, [ebp - 0x460]
mov edx, esp
lea edi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ef1a0
sub ecx, edi
lea eax, [ebp - 0x460]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004035d0
mov ecx, dword [ebp - 0x2984]
call fcn.004f1060
mov edi, eax
test edi, edi
jne 0x4eeec3
jmp 0x4ef332
push ecx
push str.CBaseInfoPrinterEx::CheckExistAdditionalDriver
lea ecx, [ebp - 0x2940]
call fcn.0040a480
mov byte [ebp - 4], 0xb
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ef22d
test byte [ecx + 0x1c], 1
je 0x4ef22d
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5daec4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x77
call fcn.00401840
add esp, 0xc
mov edi, 0x80
mov dword [ebp - 0x298c], 0
lea ecx, [ebp - 0x29bc]
mov dword [ebp - 0x2980], edi
call fcn.00443080
push 0
push 0
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x29bc]
call fcn.00446960
mov ecx, dword [0x6184f4]
mov dword [ebp - 0x2994], eax
mov ecx, dword [ecx + 4]
call fcn.0050a840
or eax, dword [ebp - 0x29a0]
mov ecx, dword [ebp - 0x2994]
and ecx, eax
je 0x4ef2b5
lea eax, [ebp - 0x2980]
push eax
lea eax, [ebp - 0x298c]
push eax
push ecx
mov ecx, dword [ebp - 0x2984]
call fcn.004f3600
mov edi, dword [ebp - 0x2980]
mov eax, 0x80
test edi, edi
cmove edi, eax
lea ecx, [ebp - 0x29bc]
call fcn.00443150
mov byte [ebp - 0x293c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4ef308
test byte [ecx + 0x1c], 1
je 0x4ef308
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edi
cmovae eax, dword [0x608f54]
mov edx, 0x5daec4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x78
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2940]
mov byte [ebp - 4], 1
call fcn.0040a570
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0x460]
push dword [ebp - 0x297c]
push eax
mov ecx, dword [ecx + 0x2c]
call fcn.004fc300
cmp dword [ebp - 0x2998], 1
jne 0x4ef36f
push 0
push 0x5c6930
lea ecx, [ebp - 0x2908]
call fcn.004035d0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc80]
push 0x5c6930
push eax
call edi
push 0x5c6930
lea eax, [ebp - 0x870]
push eax
call edi
push 0
mov eax, dword [0x6184f0]
lea edx, [ebp - 0x1090]
push edx
cmp dword [ebp - 0x28f4], 8
lea edx, [ebp - 0xe88]
push edx
push dword [ebp - 0x29b8]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x50]
push 0
push dword [ebp - 0x2990]
mov edi, dword [ebp - 0x29ac]
lea eax, [ebp - 0x2908]
push dword [ebp - 0x29a4]
cmovae eax, dword [ebp - 0x2908]
push edx
push dword [ebp - 0x29b4]
lea edx, [ebp - 0x870]
push dword [ebp - 0x29a0]
push 0
push edx
push dword [ebp - 0x29b0]
lea edx, [ebp - 0xc80]
push edx
push eax
lea eax, [ebp - 0x460]
push eax
push edi
call fcn.004fdf90
mov ecx, dword [ebp - 0x299c]
test edi, edi
lea eax, [ecx + 1]
cmovne eax, ecx
mov dword [ebp - 0x299c], eax
mov eax, dword [0x6184f0]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
js 0x4ef43a
mov edx, dword [ebp - 0x2988]
imul ecx, ecx, 0x413c
cmp dword [eax + 0x14], 0
mov eax, dword [eax + 4]
jne 0x4ef433
mov edi, dword [ebp - 0x29a8]
mov dword [ecx + eax + 0x100018], edx
jmp 0x4eeed3
mov dword [ecx + eax + 0x5c7268], edx
mov edi, dword [ebp - 0x29a8]
jmp 0x4eeed3
mov eax, edi
mov edi, dword [ebp - 0x29a8]
jmp 0x4eeee4
push edx
push ecx
call fcn.0056deb6
add esp, 8
xor eax, eax
mov dword [ebp - 0x28f8], 0
lea ecx, [ebp - 0x2978]
mov dword [ebp - 0x28f4], 7
mov word [ebp - 0x2908], ax
call fcn.0040a570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 4
call fcn.00574908
int3