Function at 0x49c670
Capabilities:
Copy file
Get common file path
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x504e95
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1ca4
call fcn.004b8eb0
mov eax, dword [0x630ddc]
xor eax, esp
mov dword [esp + 0x1ca0], eax
push ebx
push esi
push edi
mov eax, dword [0x630ddc]
xor eax, esp
push eax
lea eax, [esp + 0x1cb8]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x54], 2
mov dword [esp + 0x58], edi
je 0x49c6ea
mov eax, 3
mov ecx, dword [esp + 0x1cb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1ca0]
xor ecx, esp
call fcn.004b6bdf
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [esp + 0xe88]
push 0
push eax
call fcn.004b79d0
push 0x208
lea ecx, [esp + 0x88c]
push 0
push ecx
call fcn.004b79d0
push 0x208
lea edx, [esp + 0x16c0]
push 0
push edx
call fcn.004b79d0
push 0x41c
lea eax, [esp + 0x184]
push 0
push eax
call fcn.004b79d0
add esp, 0x30
call fcn.004a720f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49c757
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
mov ecx, 0x6322f8
mov dword [esp + 0x1cc0], 0
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x18ac]
push ecx
push str.TEMPPATH
mov ecx, eax
call edx
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x49c7c1
push 0x400
lea ecx, [esp + 0x40]
call fcn.004054a0
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x18ac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
jne 0x49c805
lea eax, [esi - 0x10]
mov dword [esp + 0x1cc0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49c7fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 4
jmp 0x49c6c6
test esi, esi
jne 0x49c80d
xor eax, eax
jmp 0x49c823
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x49c812
sub eax, edx
js 0x49e40c
cmp eax, dword [esi - 8]
jg 0x49e40c
push 1
lea ecx, [esp + 0x54]
push ecx
mov dword [esi - 0xc], eax
lea ecx, [esp + 0x44]
mov byte [eax + esi], 0
call fcn.004217d0
mov eax, dword [eax]
push 0x56f620
push eax
call fcn.004b7752
add esp, 8
test eax, eax
mov eax, dword [esp + 0x50]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49c878
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x49c88e
push 0x56f620
lea ecx, [esp + 0x40]
call fcn.0042c000
mov esi, dword [esp + 0x3c]
call fcn.004a720f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49c8a8
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x1cc0], 1
jge 0x49c8e6
push 0x104
lea ecx, [esp + 0x30]
call fcn.004054a0
mov ebx, dword [esp + 0x2c]
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x49c94a
add ebx, 0xfffffff0
mov byte [esp + 0x1cc0], al
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49c919
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add esi, 0xfffffff0
mov dword [esp + 0x1cc0], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49c940
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, 5
jmp 0x49c6c6
test ebx, ebx
jne 0x49c952
xor eax, eax
jmp 0x49c968
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x49c957
sub eax, edx
js 0x49e40c
cmp eax, dword [ebx - 8]
jg 0x49e40c
push 1
lea ecx, [esp + 0x54]
push ecx
mov dword [ebx - 0xc], eax
lea ecx, [esp + 0x34]
mov byte [eax + ebx], 0
call fcn.004217d0
mov eax, dword [eax]
push 0x56f620
push eax
call fcn.004b7752
add esp, 8
test eax, eax
mov eax, dword [esp + 0x50]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49c9bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x49c9cf
push 0x56f620
lea ecx, [esp + 0x30]
call fcn.0042c000
call fcn.004a720f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49c9e9
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x1cc0], 2
call fcn.004a720f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49ca1b
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x1cc0], 3
call fcn.004a720f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49ca4d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1cc0], 4
call fcn.004a720f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49ca7f
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0x1cc0], 5
call fcn.004a720f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49cab1
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, 0x6322f8
mov byte [esp + 0x1cc0], 6
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x22c]
call eax
cmp eax, 1
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x38]
jne 0x49cafc
push str.Standard_TCP_IP_Port
jmp 0x49cb05
test eax, eax
jne 0x49cb1d
push str.LPR_Port
call fcn.00408b30
push 0x572114
lea ecx, [esp + 0x2c]
call fcn.00408b30
jmp 0x49cf6f
push str.Canon_LPR_Port
call fcn.00408b30
push 0x572114
lea ecx, [esp + 0x2c]
call fcn.00408b30
push str.CLPR
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00410910
push 0x56f620
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x1cd8], 7
call fcn.00410910
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], 9
call fcn.00405600
push str.CLPRMon.dll
lea ecx, [esp + 0x50]
call fcn.00408b30
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00410850
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x1cd8], 0xa
call fcn.00410850
add esp, 0x18
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 1
push ecx
mov bl, 0xb
push edx
mov byte [esp + 0x1ccc], bl
call esi
push str.cl1213.oim
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1cc4], 0xc
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
push str.cl1213.oim
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1cc4], 0xd
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call esi
push str.clcanon.oim
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1cc4], 0xe
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
push str.clcanon.oim
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1cc4], 0xf
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call esi
push str.cloim.dll
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1cc4], 0x10
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
push str.cloim.dll
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1cc4], 0x11
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call esi
push str.clsnmp.dll
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1cc4], 0x12
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
push str.clsnmp.dll
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1cc4], 0x13
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call esi
push str.clsrvc.dll
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1cc4], 0x14
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
push str.clsrvc.dll
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1cc4], 0x15
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call esi
push str.cltrans.dll
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410910
add esp, 0xc
mov byte [esp + 0x1cc0], 0x16
push eax
lea ecx, [esp + 0x1c]
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
push str.cltrans.dll
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1cc4], 0x17
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call esi
push str.CLPRMon.ini
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1cc4], 0x18
call fcn.004109f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1cc0], bl
call fcn.00405600
push str.CLPRMon.ini
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1cc4], 0x19
call fcn.004109f0
lea ecx, [esp + 0x14]
call fcn.00405600
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call esi
lea ecx, [esp + 0x1c]
call fcn.00405600
lea ecx, [esp + 0x18]
call fcn.00405600
lea ecx, [esp + 0x20]
mov byte [esp + 0x1cc0], 6
call fcn.00405600
mov eax, dword [edi + 0x58]
push str.CreatePort
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esp + 0xc0], eax
jne 0x49cfd2
lea ecx, [esp + 0x24]
call fcn.00405600
lea ecx, [esp + 0x50]
call fcn.00405600
lea ecx, [esp + 0x4c]
call fcn.00405600
lea ecx, [esp + 0x28]
call fcn.00405600
lea ecx, [esp + 0x38]
call fcn.00405600
lea ecx, [esp + 0x2c]
call fcn.00405600
lea ecx, [esp + 0x3c]
call fcn.00405600
mov eax, 2
jmp 0x49c6c6
lea ecx, [esp + 0x108]
call fcn.00498eb0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x110]
mov byte [esp + 0x1cc8], 0x1a
call fcn.00498f30
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push 0
call eax
mov edi, dword [esp + 0x110]
xor esi, esi
test edi, edi
mov dword [esp + 0x30], esi
jle 0x49d0c1
mov ebx, dword [esp + 0x10c]
test esi, esi
jl 0x49d1be
cmp esi, edi
jge 0x49d1be
mov ecx, dword [esp + 0x30]
mov esi, dword [ebx + ecx*4]
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
push 0
mov edx, dword [eax]
push 0
push 0
mov edx, dword [edx + 0x40]
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea ecx, [esi + 0x418]
push ecx
lea ecx, [esi + 0x210]
push ecx
lea ecx, [esi + 8]
push ecx
push 0
mov ecx, eax
call edx
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
push 1
call eax
add dword [esp + 0x30], 1
push esi
call fcn.004a5792
mov esi, dword [esp + 0x34]
add esp, 4
cmp edi, esi
jg 0x49d030
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x110]
call fcn.00498f30
mov ecx, dword [esp + 0x58]
cmp dword [ecx + 0x14], 0
mov dword [esp + 0x18], 0
jle 0x49e363
jmp 0x49d0f0
mov eax, dword [esp + 0x18]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jl 0x49d1be
mov ecx, dword [esp + 0x58]
cmp eax, dword [ecx + 0x14]
jge 0x49d1be
mov edx, dword [ecx + 0x10]
mov edi, dword [edx + eax*4]
lea eax, [edx + eax*4]
lea eax, [edi + 0x618]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0xcc], edi
call fcn.0041a6c0
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 0xc], 0
mov byte [esp + 0x1cc0], 0x1b
jne 0x49d191
lea edx, [edi + 0x410]
push edx
lea ecx, [esp + 0xb0]
call fcn.0041a6c0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1cc4], 0x1c
call fcn.004109f0
mov eax, dword [esp + 0xac]
add eax, 0xfffffff0
mov byte [esp + 0x1cc0], 0x1b
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49d191
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi + 0x208]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0xd4], eax
call fcn.0041a6c0
lea esi, [edi + 0x104]
test esi, esi
mov byte [esp + 0x1cc0], 0x1d
jne 0x49d1c3
xor eax, eax
jmp 0x49d1d3
jmp fcn.004a5890
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x49d1c8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00408860
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x98]
push 0x572bc4
push edx
call fcn.00440630
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1cc4], 0x1e
call fcn.004109f0
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
mov byte [esp + 0x1cc0], 0x1d
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49d235
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x20]
call fcn.0041a6c0
add edi, 0x410
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x1cc4], 0x1f
call fcn.0041a6c0
push 0x56c6d8
mov byte [esp + 0x1cc4], 0x20
call fcn.004030c0
add esp, 4
test eax, eax
jne 0x49d321
push 0x56d164
call fcn.004030c0
add esp, 4
test eax, eax
jne 0x49d321
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
call fcn.00410740
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [0x6323e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x49d384
mov eax, dword [esp + 0x44]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
call fcn.00410740
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [0x6323e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
add esp, 4
call eax
test eax, eax
jne 0x49d384
add dword [esp + 0x18], 1
lea ecx, [esp + 0x44]
call fcn.00405600
lea ecx, [esp + 0x1c]
call fcn.00405600
lea ecx, [esp + 0x20]
call fcn.00405600
lea ecx, [esp + 0x34]
mov byte [esp + 0x1cc0], 0x1a
call fcn.00405600
jmp 0x49e34e
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
call fcn.00410740
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [0x6323e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 4
call eax
test eax, eax
jne 0x49d358
add dword [esp + 0x18], 1
jmp 0x49e2ae
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
call fcn.00410740
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [0x6323e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
jmp 0x49d2b0
cmp dword [esp + 0x18], 0x12c
jl 0x49d42e
call fcn.004a720f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x49c74d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x60]
push str._LIMIT_OVER____________s_:__s___s_
push ecx
mov byte [esp + 0x1cd4], 0x21
call fcn.00407c00
add esp, 0x14
mov ecx, 0x6322f8
call fcn.00403e20
mov esi, dword [esp + 0x54]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0xb0]
call eax
add dword [esp + 0x20], 1
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0x1cc0], 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e2ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49e2ae
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add eax, 1
push eax
call fcn.004a5797
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push 0xffffffffffffffff
push eax
add ecx, 1
push ecx
push esi
mov dword [esp + 0x28], esi
call fcn.004bb84a
mov edx, dword [esp + 0x30]
mov eax, dword [edx - 0xc]
mov byte [eax + esi], 0
mov eax, dword [esp + 0x90]
add esp, 0x14
test eax, eax
jne 0x49d6e1
push 0x80
push eax
lea eax, [esp + 0x804]
push eax
call fcn.004b79d0
push 0x208
lea ecx, [esp + 0x12a4]
push 0
push ecx
call fcn.004b79d0
push 0x80
lea edx, [esp + 0x698]
push 0
push edx
call fcn.004b79d0
add esp, 0x24
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0xa84]
push ecx
push str.TEMPPATH
mov ecx, eax
call edx
push str.Envini.INI
lea eax, [esp + 0xa88]
push 0x400
push eax
call fcn.004b81f7
add esp, 0xc
mov ecx, 0x6322f8
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
push ecx
lea ecx, [esp + 0x1298]
push ecx
mov ecx, eax
call edx
lea eax, [esp + 0xa84]
push eax
push 0x80
lea ecx, [esp + 0x684]
push ecx
push 0x56ab79
push str.Device_Queue_Name
lea edx, [esp + 0x12a8]
push edx
call ebx
cmp byte [esp + 0x67c], 0
je 0x49d563
lea eax, [esp + 0x67c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00408b30
lea ecx, [esp + 0xa84]
push ecx
push 0x80
lea edx, [esp + 0x804]
push edx
push 0x56ab79
push str.ProtocolType
lea eax, [esp + 0x12a8]
push eax
call ebx
cmp byte [esp + 0x7fc], 0
je 0x49de8c
lea ecx, [esp + 0x7fc]
push ecx
lea ecx, [esp + 0x6c]
call fcn.0041a6c0
mov edx, dword [esp + 0x68]
push str.9100
push edx
mov byte [esp + 0x1cc8], 0x22
call fcn.004b7ea5
add esp, 8
test eax, eax
jne 0x49d638
push str.porttype
lea ecx, [esp + 0x9c]
call fcn.0041a6c0
push str.9100
push eax
lea eax, [esp + 0xec]
push eax
mov byte [esp + 0x1ccc], 0x23
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc4], 0x24
call fcn.004109f0
lea ecx, [esp + 0xe4]
call fcn.00405600
lea ecx, [esp + 0x98]
call fcn.00405600
lea ecx, [esp + 0x68]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
mov ecx, dword [esp + 0x68]
push str.LPR_ON
push ecx
call fcn.004b7ea5
add esp, 8
test eax, eax
jne 0x49d6bd
push str.bytecount
lea ecx, [esp + 0xec]
call fcn.0041a6c0
push str.true
push eax
lea edx, [esp + 0xe0]
push edx
mov byte [esp + 0x1ccc], 0x25
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc4], 0x26
call fcn.004109f0
lea ecx, [esp + 0xd8]
call fcn.00405600
lea ecx, [esp + 0xe8]
call fcn.00405600
lea ecx, [esp + 0x68]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
push 0x56ab79
lea ecx, [esp + 0x28]
call fcn.00408b30
lea ecx, [esp + 0x68]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
cmp eax, 1
jne 0x49dc1e
mov ecx, 0x6322f8
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x218]
lea ecx, [esp + 0x15c]
push ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 0x5c]
push esi
push ecx
mov ecx, eax
call edx
test eax, eax
je 0x49d917
lea eax, [esp + 0x368]
push eax
lea ecx, [esp + 0x60]
call fcn.0041a6c0
mov ecx, dword [esp + 0x5c]
push 0x572110
push ecx
mov byte [esp + 0x1cc8], 0x27
call fcn.004b7ea5
add esp, 8
test eax, eax
jne 0x49d82f
cmp dword [esp + 0x570], 0x238c
jne 0x49d7c5
push str.porttype
lea ecx, [esp + 0xd0]
call fcn.0041a6c0
push str.9100
push eax
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x1ccc], 0x28
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc4], 0x29
call fcn.004109f0
lea ecx, [esp + 0xa4]
call fcn.00405600
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1cc0], 0x27
call fcn.00405600
jmp 0x49d7d3
push 0x56ab79
lea ecx, [esp + 0x28]
call fcn.00408b30
lea eax, [esp + 0x46c]
push eax
lea ecx, [esp + 0x84]
call fcn.0041a6c0
mov ecx, dword [esp + 0x80]
cmp dword [ecx - 0xc], 0
mov byte [esp + 0x1cc0], 0x2a
lea ecx, [esp + 0x28]
je 0x49d819
lea edx, [esp + 0x46c]
push edx
call fcn.00408b30
lea ecx, [esp + 0x80]
jmp 0x49d8fc
push str.9100
call fcn.00408b30
lea ecx, [esp + 0x80]
jmp 0x49d8fc
mov eax, dword [esp + 0x5c]
push 0x5720f8
push eax
call fcn.004b7ea5
add esp, 8
test eax, eax
jne 0x49d901
cmp byte [esp + 0x575], 1
jne 0x49d8b6
push str.bytecount
lea ecx, [esp + 0xe4]
call fcn.0041a6c0
push str.true
push eax
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0x1ccc], 0x2b
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc4], 0x2c
call fcn.004109f0
lea ecx, [esp + 0x90]
call fcn.00405600
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1cc0], 0x27
call fcn.00405600
jmp 0x49d8c4
push 0x56ab79
lea ecx, [esp + 0x28]
call fcn.00408b30
lea edx, [esp + 0x46c]
push edx
lea ecx, [esp + 0x78]
call fcn.0041a6c0
mov eax, dword [esp + 0x74]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x1cc0], 0x2d
je 0x49d8f8
lea ecx, [esp + 0x46c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00408b30
lea ecx, [esp + 0x74]
call fcn.00405600
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
push 0x80
lea edx, [esp + 0x780]
push 0
push edx
call fcn.004b79d0
push 0x208
lea eax, [esp + 0x14ac]
push 0
push eax
call fcn.004b79d0
push 0x80
lea ecx, [esp + 0x598]
push 0
push ecx
call fcn.004b79d0
add esp, 0x24
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0xa84]
push ecx
push str.TEMPPATH
mov ecx, eax
call edx
push str.Envini.INI
lea eax, [esp + 0xa88]
push 0x400
push eax
call fcn.004b81f7
add esp, 0xc
mov ecx, 0x6322f8
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
push ecx
lea ecx, [esp + 0x14a0]
push ecx
mov ecx, eax
call edx
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x44]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, 0x6322f8
mov esi, eax
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x44]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
lea ecx, [esp + 0xa84]
push ecx
push 0x80
lea edx, [esp + 0x584]
push edx
push esi
mov edi, eax
push str.Device_Queue_Name
lea eax, [esp + 0x14b0]
push eax
call ebx
cmp byte [esp + 0x57c], 0
je 0x49da3e
lea ecx, [esp + 0x57c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00408b30
lea edx, [esp + 0xa84]
push edx
push 0x80
lea eax, [esp + 0x784]
push eax
push edi
push str.ProtocolType
lea ecx, [esp + 0x14b0]
push ecx
call ebx
cmp byte [esp + 0x77c], 0
je 0x49dbb8
lea edx, [esp + 0x77c]
push edx
lea ecx, [esp + 0x64]
call fcn.0041a6c0
mov eax, dword [esp + 0x60]
push str.9100
push eax
mov byte [esp + 0x1cc8], 0x2e
call fcn.004b7ea5
add esp, 8
test eax, eax
jne 0x49db0f
push str.porttype
lea ecx, [esp + 0xd8]
call fcn.0041a6c0
push str.9100
push eax
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x1ccc], 0x2f
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc4], 0x30
call fcn.004109f0
lea ecx, [esp + 0xb4]
call fcn.00405600
lea ecx, [esp + 0xd4]
call fcn.00405600
lea ecx, [esp + 0x60]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
mov edx, dword [esp + 0x60]
push str.LPR_ON
push edx
call fcn.004b7ea5
add esp, 8
test eax, eax
jne 0x49db94
push str.bytecount
lea ecx, [esp + 0xe0]
call fcn.0041a6c0
push str.true
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x1ccc], 0x31
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc4], 0x32
call fcn.004109f0
lea ecx, [esp + 0xbc]
call fcn.00405600
lea ecx, [esp + 0xdc]
call fcn.00405600
lea ecx, [esp + 0x60]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
push 0x56ab79
lea ecx, [esp + 0x28]
call fcn.00408b30
lea ecx, [esp + 0x60]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
push str.bytecount
lea ecx, [esp + 0xa0]
call fcn.0041a6c0
push str.true
push eax
lea ecx, [esp + 0xcc]
push ecx
mov byte [esp + 0x1ccc], 0x33
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc4], 0x34
call fcn.004109f0
lea ecx, [esp + 0xc4]
call fcn.00405600
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
push 0x80
lea edx, [esp + 0x700]
push 0
push edx
call fcn.004b79d0
push 0x208
lea eax, [esp + 0x109c]
push 0
push eax
call fcn.004b79d0
push 0x80
lea ecx, [esp + 0x618]
push 0
push ecx
call fcn.004b79d0
add esp, 0x24
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0xa84]
push ecx
push str.TEMPPATH
mov ecx, eax
call edx
push str.Envini.INI
lea eax, [esp + 0xa88]
push 0x400
push eax
call fcn.004b81f7
add esp, 0xc
mov ecx, 0x6322f8
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
push ecx
lea ecx, [esp + 0x1090]
push ecx
mov ecx, eax
call edx
lea eax, [esp + 0xa84]
push eax
push 0x80
lea ecx, [esp + 0x604]
push ecx
push 0x56ab79
push str.Device_Queue_Name
lea edx, [esp + 0x10a0]
push edx
call ebx
cmp byte [esp + 0x5fc], 0
lea ecx, [esp + 0x28]
je 0x49dd0a
lea eax, [esp + 0x5fc]
push eax
jmp 0x49dd0f
push 0x572114
call fcn.00408b30
lea ecx, [esp + 0xa84]
push ecx
push 0x80
lea edx, [esp + 0x704]
push edx
push 0x56ab79
push str.ProtocolType
lea eax, [esp + 0x10a0]
push eax
call ebx
cmp byte [esp + 0x6fc], 0
je 0x49de8c
lea ecx, [esp + 0x6fc]
push ecx
lea ecx, [esp + 0x68]
call fcn.0041a6c0
mov edx, dword [esp + 0x64]
push str.9100
push edx
mov byte [esp + 0x1cc8], 0x35
call fcn.004b7ea5
add esp, 8
test eax, eax
jne 0x49dde9
push str.porttype
lea ecx, [esp + 0xac]
call fcn.0041a6c0
push str.9100
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0x1ccc], 0x36
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc4], 0x37
call fcn.004109f0
lea ecx, [esp + 0xa0]
call fcn.00405600
lea ecx, [esp + 0xa8]
call fcn.00405600
lea ecx, [esp + 0x64]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
mov ecx, dword [esp + 0x64]
push str.LPR_ON
push ecx
call fcn.004b7ea5
add esp, 8
test eax, eax
jne 0x49de6b
push str.bytecount
lea ecx, [esp + 0xbc]
call fcn.0041a6c0
push str.true
push eax
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0x1ccc], 0x38
call fcn.00410910
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1cc4], 0x39
call fcn.004109f0
lea ecx, [esp + 0xb0]
call fcn.00405600
lea ecx, [esp + 0xb8]
call fcn.00405600
lea ecx, [esp + 0x64]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
push 0x56ab79
lea ecx, [esp + 0x28]
call fcn.00408b30
lea ecx, [esp + 0x64]
mov byte [esp + 0x1cc0], 0x20
call fcn.00405600
jmp 0x49de9a
push 0x56ab79
lea ecx, [esp + 0x28]
call fcn.00408b30
lea ecx, [esp + 0x38]
call fcn.004991c0
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.004991c0
mov edi, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], edi
call fcn.004991c0
xor esi, esi
mov dword [esp + 0x54], eax
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
mov dword [esp + 0xec], vtable.CPortMonitorsWITool.0
lea ecx, [esp + 0x120]
mov byte [esp + 0x1cc0], 0x3a
call fcn.00446030
push esi
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1cc4], 0x3b
call fcn.0049f070
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0xf4]
call fcn.00450660
test eax, eax
mov esi, dword [esp + 0x38]
je 0x49df7e
jmp 0x49df40
cmp dword [esp + 0x138], 0x10
mov eax, dword [esp + 0x124]
jae 0x49df58
lea eax, [esp + 0x124]
push esi
push eax
call fcn.004b7752
add esp, 8
test eax, eax
je 0x49dfdb
lea ecx, [esp + 0x120]
push ecx
lea ecx, [esp + 0xf4]
call fcn.00450710
test eax, eax
jne 0x49df40
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x7c]
cmp eax, 1
mov dword [esp + 0x84], esi
je 0x49dfb4
test eax, eax
mov dword [esp + 0x88], str.Windows_4.0
jne 0x49dfbf
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x84]
push eax
push 2
push 0
mov dword [esp + 0x98], edx
call sub.WINSPOOL.DRV_AddMonitorA
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x78]
push ecx
push edx
push edi
push eax
push ebx
call dword [esp + 0xd4]
mov ecx, dword [esp + 0x8c]
add esp, 0x14
push ecx
lea ecx, [esp + 0x44]
call fcn.00419d70
mov edx, dword [esp + 0x40]
push 0x56ab79
push edx
mov byte [esp + 0x1cc8], 0x3c
call fcn.004b7752
add esp, 8
test eax, eax
setne al
test al, al
je 0x49e242
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xe88]
push 0x208
push ecx
call fcn.004b8268
mov esi, dword [esp + 0x40]
mov ecx, 0x82
lea edi, [esp + 0x888]
push str.LIPS4
rep movsd dword es:[edi], dword [esi]
call fcn.004030c0
add esp, 0x10
test eax, eax
je 0x49e0a5
mov ecx, 0x6322f8
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x120], esp
push edx
mov esi, eax
call fcn.004107b0
mov eax, dword [esi]
mov edx, dword [eax + 0x2dc]
lea ecx, [esp + 0xe88]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x6c]
call fcn.004055d0
mov ecx, 0x6322f8
mov byte [esp + 0x1cc0], 0x3d
call fcn.00403e20
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x880]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x6c]
cmp dword [eax - 0xc], 0
jle 0x49e0f0
push eax
push 0x208
lea eax, [esp + 0x884]
push eax
jmp 0x49e105
lea ecx, [esp + 0xe84]
push ecx
push 0x208
lea edx, [esp + 0x884]
push edx
call fcn.004b8268
mov ecx, dword [esp + 0xd4]
add esp, 0xc
add ecx, 0xc30
lea eax, [esp + 0x87c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x49e141
test dl, dl
je 0x49e13d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x49e141
add eax, 2
add ecx, 2
test dl, dl
jne 0x49e121
xor eax, eax
jmp 0x49e146
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49e167
mov eax, dword [esp + 0xd0]
push eax
lea ecx, [esp + 0x880]
push 0x208
push ecx
call fcn.004b8268
add esp, 0xc
mov ecx, 0x6322f8
call fcn.00403e00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x214]
lea ecx, [esp + 0x16a4]
push ecx
lea ecx, [esp + 0x880]
push ecx
mov ecx, eax
call edx
lea ecx, [esp + 0x70]
call fcn.004055d0
mov ecx, 0x6322f8
mov byte [esp + 0x1cc0], 0x3e
call fcn.00403e20
mov edx, dword [esp + 0x70]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xb0]
call eax
add esp, 8
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x40]
push 0
mov edx, dword [eax]
push 0
push 0
mov edx, dword [edx + 0x40]
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x16cc]
push ecx
lea ecx, [esp + 0xeb0]
push ecx
push 0
mov ecx, eax
call edx
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
push 1
call eax
add dword [esp + 0x30], 1
lea ecx, [esp + 0x70]
call fcn.00405600
lea ecx, [esp + 0x6c]
call fcn.00405600
mov edi, dword [esp + 0x48]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x78]
push ecx
call esi
mov edx, dword [esp + 0x54]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call fcn.004a5792
mov eax, dword [esp + 0x44]
add dword [esp + 0x1c], 1
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x1cc0], 0x3b
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e296
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x120]
call fcn.00440180
lea ecx, [esp + 0xec]
call fcn.00455830
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x1cc0], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e2d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x1cc0], 0x1d
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e2fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1cc0], 0x1b
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e326
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x1cc0], 0x1a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e34e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
cmp dword [edx + 0x14], ecx
jg 0x49d0f0
mov esi, dword [esp + 0x30]
test esi, esi
jle 0x49e3ba
lea ecx, [esp + 0x40]
call fcn.004055d0
push esi
lea eax, [esp + 0x44]
push 0x56aad4
push eax
mov byte [esp + 0x1ccc], 0x3f
call fcn.00407c00
add esp, 0xc
mov ecx, 0x6322f8
call fcn.00403df0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ecx
push str.InstallPrinterCount
mov ecx, eax
call edx
lea ecx, [esp + 0x40]
call fcn.00405600
lea ecx, [esp + 0x108]
call fcn.00498ed0
lea ecx, [esp + 0x24]
call fcn.00405600
lea ecx, [esp + 0x50]
call fcn.00405600
lea ecx, [esp + 0x4c]
call fcn.00405600
lea ecx, [esp + 0x28]
call fcn.00405600
lea ecx, [esp + 0x38]
call fcn.00405600
lea ecx, [esp + 0x2c]
call fcn.00405600
lea ecx, [esp + 0x3c]
call fcn.00405600
xor eax, eax
jmp 0x49c6c6
push 0x80070057
call fcn.00401090
int3