Function at 0x49d090
Capabilities:
Copy file
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x503073
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1d4c
call fcn.004b4db0
mov eax, dword [0x6306b0]
xor eax, esp
mov dword [esp + 0x1d48], eax
push ebx
push esi
push edi
mov eax, dword [0x6306b0]
xor eax, esp
push eax
lea eax, [esp + 0x1d60]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x54], 2
mov dword [esp + 0x58], edi
je 0x49d10a
mov eax, 3
mov ecx, dword [esp + 0x1d60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d48]
xor ecx, esp
call fcn.004b4b34
mov esp, ebp
pop ebp
ret
push 0x410
lea eax, [esp + 0x928]
push 0
push eax
mov dword [esp + 0x78], 1
call fcn.004b4de0
push 0x410
lea ecx, [esp + 0x524]
push 0
push ecx
call fcn.004b4de0
push 0x410
lea edx, [esp + 0x1160]
push 0
push edx
call fcn.004b4de0
add esp, 0x24
call fcn.004a523f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49d16b
push 0x80004005
call fcn.00403520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x34], ebx
mov ecx, 0x631bd8
mov dword [esp + 0x1d68], 0
call fcn.00403bb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x1554]
push ecx
push str.TEMPPATH
mov ecx, eax
call edx
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x400
or eax, ecx
jge 0x49d1d5
push 0x400
lea ecx, [esp + 0x38]
call fcn.004052f0
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x1554]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test eax, eax
jne 0x49d219
lea eax, [ebx - 0x10]
mov dword [esp + 0x1d68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49d20f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 4
jmp 0x49d0e6
test ebx, ebx
jne 0x49d221
xor eax, eax
jmp 0x49d23b
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49d226
sub eax, edx
sar eax, 1
js 0x49e513
cmp eax, dword [ebx - 8]
jg 0x49e513
push 1
lea ecx, [esp + 0x4c]
push ecx
mov dword [ebx - 0xc], eax
lea ecx, [esp + 0x3c]
mov word [ebx + eax*2], 0
call fcn.00422360
push 0x573024
push eax
mov byte [esp + 0x1d70], 1
call fcn.0049a230
mov byte [esp + 0x47], al
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x1d68], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49d29f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x3f], 0
je 0x49d2b8
push 0x573024
lea ecx, [esp + 0x38]
call fcn.004478a0
mov ebx, dword [esp + 0x34]
call fcn.004a523f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49d2d2
push 0x80004005
call fcn.00403520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x1d68], 2
jge 0x49d310
push 0x104
lea ecx, [esp + 0x28]
call fcn.004052f0
mov esi, dword [esp + 0x24]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x49d374
add esi, 0xfffffff0
mov byte [esp + 0x1d68], al
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49d343
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0xfffffff0
mov dword [esp + 0x1d68], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49d36a
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, 5
jmp 0x49d0e6
test esi, esi
jne 0x49d37c
xor eax, eax
jmp 0x49d396
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49d381
sub eax, edx
sar eax, 1
js 0x49e513
cmp eax, dword [esi - 8]
jg 0x49e513
push 1
lea ecx, [esp + 0x4c]
push ecx
mov dword [esi - 0xc], eax
lea ecx, [esp + 0x2c]
mov word [esi + eax*2], 0
call fcn.00422360
push 0x573024
push eax
mov byte [esp + 0x1d70], 3
call fcn.0049a230
mov bl, al
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x1d68], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49d3f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x49d40a
push 0x573024
lea ecx, [esp + 0x28]
call fcn.004478a0
call fcn.004a523f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49d424
push 0x80004005
call fcn.00403520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x1d68], 4
call fcn.004a523f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49d456
push 0x80004005
call fcn.00403520
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 + 0x1d68], 5
call fcn.004a523f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49d488
push 0x80004005
call fcn.00403520
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 + 0x1d68], 6
call fcn.004a523f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49d4ba
push 0x80004005
call fcn.00403520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
mov byte [esp + 0x1d68], 7
call fcn.004a523f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x49d4ec
push 0x80004005
call fcn.00403520
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x54], eax
mov ecx, 0x631bd8
mov byte [esp + 0x1d68], 8
call fcn.00403bc0
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 + 0x230]
call eax
cmp eax, 1
mov dword [esp + 0x8c], eax
lea ecx, [esp + 0x44]
jne 0x49d53a
push str.Standard_TCP_IP_Port
jmp 0x49d543
test eax, eax
jne 0x49d55b
push str.LPR_Port
call fcn.0040b300
push 0x56c8cc
lea ecx, [esp + 0x2c]
call fcn.0040b300
jmp 0x49d9ad
push str.Canon_LPR_Port
call fcn.0040b300
push 0x56c8cc
lea ecx, [esp + 0x2c]
call fcn.0040b300
push str.CLPR
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00411180
push 0x5684d8
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x1d80], 9
call fcn.00411180
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], 0xb
call fcn.004052d0
push str.CLPRMon.dll
lea ecx, [esp + 0x50]
call fcn.0040b300
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004110c0
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x1d80], 0xc
call fcn.004110c0
add esp, 0x18
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
push ecx
mov bl, 0xd
push edx
mov byte [esp + 0x1d74], bl
call esi
push str.cl1213.oim
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d6c], 0xe
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
push str.cl1213.oim
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d6c], 0xf
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
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.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d6c], 0x10
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
push str.clcanon.oim
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d6c], 0x11
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
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.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d6c], 0x12
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
push str.cloim.dll
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d6c], 0x13
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
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.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d6c], 0x14
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
push str.clsnmp.dll
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d6c], 0x15
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
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.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d6c], 0x16
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
push str.clsrvc.dll
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d6c], 0x17
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
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.00411180
add esp, 0xc
mov byte [esp + 0x1d68], 0x18
push eax
lea ecx, [esp + 0x1c]
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
push str.cltrans.dll
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d6c], 0x19
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
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.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d6c], 0x1a
call fcn.00411260
lea ecx, [esp + 0x14]
mov byte [esp + 0x1d68], bl
call fcn.004052d0
push str.CLPRMon.ini
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00411180
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d6c], 0x1b
call fcn.00411260
lea ecx, [esp + 0x14]
call fcn.004052d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
push ecx
push edx
call esi
lea ecx, [esp + 0x1c]
call fcn.004052d0
lea ecx, [esp + 0x18]
call fcn.004052d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d68], 8
call fcn.004052d0
mov eax, dword [edi + 0x58]
push str.CreatePort
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esp + 0x80], eax
jne 0x49da10
lea ecx, [esp + 0x54]
call fcn.004052d0
lea ecx, [esp + 0x48]
call fcn.004052d0
lea ecx, [esp + 0x4c]
call fcn.004052d0
lea ecx, [esp + 0x28]
call fcn.004052d0
lea ecx, [esp + 0x44]
call fcn.004052d0
lea ecx, [esp + 0x24]
call fcn.004052d0
lea ecx, [esp + 0x34]
call fcn.004052d0
mov eax, 2
jmp 0x49d0e6
lea ecx, [esp + 0xb0]
call fcn.004997e0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1d70], 0x1c
call fcn.00499890
mov ecx, 0x631bd8
call fcn.00403bb0
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 + 0xb8]
xor esi, esi
test edi, edi
mov dword [esp + 0x2c], esi
jle 0x49db01
mov ebx, dword [esp + 0xb4]
mov edi, edi
test esi, esi
jl 0x49dbcd
cmp esi, edi
jge 0x49dbcd
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebx + ecx*4]
mov ecx, 0x631bd8
call fcn.00403bb0
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 + 0x828]
push ecx
lea ecx, [esi + 0x418]
push ecx
lea ecx, [esi + 8]
push ecx
push 0
mov ecx, eax
call edx
mov ecx, 0x631bd8
call fcn.00403bb0
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 + 0x2c], 1
push esi
call fcn.004a37b7
mov esi, dword [esp + 0x30]
add esp, 4
cmp edi, esi
jg 0x49da70
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xb8]
call fcn.00499890
mov ecx, dword [esp + 0x58]
xor eax, eax
cmp dword [ecx + 0x14], eax
mov dword [esp + 0x18], eax
jg 0x49dbd8
test esi, esi
jle 0x49db7b
lea ecx, [esp + 0x40]
call fcn.004053d0
push esi
lea eax, [esp + 0x44]
push 0x562c08
push eax
mov byte [esp + 0x1d74], 0x29
call fcn.00407e50
add esp, 0xc
mov ecx, 0x631bd8
call fcn.00403bb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
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.004052d0
lea ecx, [esp + 0xb0]
call fcn.00499800
lea ecx, [esp + 0x54]
call fcn.004052d0
lea ecx, [esp + 0x48]
call fcn.004052d0
lea ecx, [esp + 0x4c]
call fcn.004052d0
lea ecx, [esp + 0x28]
call fcn.004052d0
lea ecx, [esp + 0x44]
call fcn.004052d0
lea ecx, [esp + 0x24]
call fcn.004052d0
lea ecx, [esp + 0x34]
call fcn.004052d0
xor eax, eax
jmp 0x49d0e6
jmp fcn.004a38b0
mov eax, dword [esp + 0x18]
mov ecx, edx
test eax, eax
jl 0x49dbcd
cmp eax, dword [ecx + 0x14]
jge 0x49dbcd
mov ecx, dword [ecx + 0x10]
mov ebx, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
lea edx, [ebx + 0xc30]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x8c], ebx
call fcn.0041b010
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x1d68], 0x1d
jne 0x49dc63
lea ecx, [ebx + 0x820]
push ecx
lea ecx, [esp + 0x94]
call fcn.0041b010
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1d6c], 0x1e
call fcn.00411260
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
mov byte [esp + 0x1d68], 0x1d
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49dc63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx + 0x410]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x54], eax
call fcn.0041b010
lea esi, [ebx + 0x208]
xor edi, edi
cmp esi, edi
mov byte [esp + 0x1d68], 0x1f
jne 0x49dc8f
xor eax, eax
jmp 0x49dca3
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49dc94
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.0040b0c0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x88]
push 0x568f90
push edx
call fcn.00441ee0
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1d6c], 0x20
call fcn.00411260
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
mov byte [esp + 0x1d68], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49dd05
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.0041b010
add ebx, 0x820
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1d6c], 0x21
call fcn.0041b010
push 0x5651b0
mov byte [esp + 0x1d6c], 0x22
call fcn.00402dd0
add esp, 4
test eax, eax
jne 0x49ddf1
push 0x565dac
call fcn.00402dd0
add esp, 4
test eax, eax
jne 0x49ddf1
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00410fa0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [0x631cc8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
cmp eax, edi
jne 0x49de54
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00410fa0
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [0x631cc8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
add esp, 4
call eax
cmp eax, edi
jne 0x49de54
add dword [esp + 0x18], 1
lea ecx, [esp + 0x38]
call fcn.004052d0
lea ecx, [esp + 0x1c]
call fcn.004052d0
lea ecx, [esp + 0x30]
call fcn.004052d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d68], 0x1c
call fcn.004052d0
jmp 0x49e4f4
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00410fa0
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [0x631cc8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 4
call eax
cmp eax, edi
jne 0x49de28
add dword [esp + 0x18], 1
jmp 0x49e454
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00410fa0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [0x631cc8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
jmp 0x49dd80
cmp dword [esp + 0x18], 0x12c
jl 0x49defe
call fcn.004a523f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x49d161
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x5c]
push str._LIMIT_OVER____________s_:__s___s_
push ecx
mov byte [esp + 0x1d7c], 0x23
call fcn.00407e50
add esp, 0x14
mov ecx, 0x631bd8
call fcn.00403be0
mov esi, dword [esp + 0x50]
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 + 0x1d68], 0x22
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e454
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49e454
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a37b2
mov ebx, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push 0xffffffffffffffff
push eax
add ecx, 1
push ecx
push ebx
call fcn.004b8c81
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 0xc]
push 0x40e
lea ecx, [esp + 0xd4e]
push edi
mov word [ebx + eax*2], di
push ecx
mov word [esp + 0xd54], di
call fcn.004b4de0
push 0x206
lea edx, [esp + 0x332]
push edi
push edx
mov word [esp + 0x338], di
call fcn.004b4de0
push 0x206
lea eax, [esp + 0x136]
push edi
push eax
mov word [esp + 0x13c], di
call fcn.004b4de0
add esp, 0x38
mov ecx, 0x631bd8
call fcn.00403bc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x148]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x314]
push ecx
lea ecx, [esp + 0xd40]
push ecx
mov ecx, dword [esp + 0x68]
mov ecx, dword [ecx + 0x5c]
push ecx
mov ecx, dword [esp + 0x64]
push ebx
push ecx
mov ecx, eax
call edx
lea eax, [esp + 0xd34]
push eax
lea ecx, [esp + 0x48]
call fcn.0040b300
lea ecx, [esp + 0x30c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040b300
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x58]
call fcn.0040b300
mov esi, dword [esp + 0x44]
mov eax, dword [esi - 0xc]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, edi
mov dword [esp + 0x70], eax
je 0x49e50e
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, edi
mov dword [esp + 0x60], eax
je 0x49e50e
mov eax, dword [esp + 0x54]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x49e50e
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x94], vtable.CPortMonitorsWITool.0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1d68], 0x24
call fcn.00447bf0
push edi
lea ecx, [esp + 0x98]
mov byte [esp + 0x1d6c], 0x25
call fcn.0049f1f0
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x9c]
call fcn.00454fc0
test eax, eax
je 0x49e137
cmp dword [esp + 0xe0], 8
mov eax, dword [esp + 0xcc]
jae 0x49e0e8
lea eax, [esp + 0xcc]
mov ecx, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49e116
cmp dx, di
je 0x49e112
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49e116
add eax, 4
add ecx, 4
cmp dx, di
jne 0x49e0f0
xor eax, eax
jmp 0x49e11b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x49e17d
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x9c]
call fcn.00455070
test eax, eax
jne 0x49e0d0
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x8c]
cmp eax, 1
mov dword [esp + 0x74], esi
je 0x49e161
cmp eax, edi
mov dword [esp + 0x78], str.Windows_4.0
jne 0x49e165
mov dword [esp + 0x78], edi
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x74]
push eax
push 2
push edi
mov dword [esp + 0x88], edx
call sub.WINSPOOL.DRV_AddMonitorW
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x78]
push eax
push ecx
push ebx
push edx
call dword [esp + 0x98]
mov eax, dword [esp + 0x7c]
add esp, 0x18
push eax
lea ecx, [esp + 0x44]
call fcn.0041b010
lea ecx, [esp + 0x40]
push 0x564b74
push ecx
mov byte [esp + 0x1d70], 0x26
call fcn.0049a230
add esp, 8
test al, al
je 0x49e3e4
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x928]
push 0x208
push eax
call fcn.004b5b6f
mov esi, dword [esp + 0x2c]
mov ecx, 0x104
lea edi, [esp + 0x520]
push str.LIPS4
rep movsd dword es:[edi], dword [esi]
call fcn.00402dd0
add esp, 0x10
test eax, eax
je 0x49e248
mov ecx, 0x631bd8
call fcn.00403bc0
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 + 0xc8], esp
push edx
mov esi, eax
call fcn.00411010
mov eax, dword [esi]
mov edx, dword [eax + 0x2e4]
lea ecx, [esp + 0x928]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x5c]
call fcn.004053d0
mov ecx, 0x631bd8
mov byte [esp + 0x1d68], 0x27
call fcn.00403be0
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x518]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x5c]
cmp dword [eax - 0xc], 0
jle 0x49e293
push eax
push 0x208
lea eax, [esp + 0x51c]
push eax
jmp 0x49e2a8
lea ecx, [esp + 0x924]
push ecx
push 0x208
lea edx, [esp + 0x51c]
push edx
call fcn.004b5b6f
mov ecx, dword [esp + 0x94]
add esp, 0xc
add ecx, 0x1860
lea eax, [esp + 0x514]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49e2ea
test dx, dx
je 0x49e2e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49e2ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x49e2c4
xor eax, eax
jmp 0x49e2ef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49e30d
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x518]
push 0x208
push ecx
call fcn.004b5b6f
add esp, 0xc
mov ecx, 0x631bd8
call fcn.00403bc0
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 + 0x1144]
push ecx
lea ecx, [esp + 0x518]
push ecx
mov ecx, eax
call edx
lea ecx, [esp + 0x68]
call fcn.004053d0
mov ecx, 0x631bd8
mov byte [esp + 0x1d68], 0x28
call fcn.00403be0
mov edx, dword [esp + 0x68]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xb0]
call eax
add esp, 8
mov ecx, 0x631bd8
call fcn.00403bb0
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 + 0x116c]
push ecx
lea ecx, [esp + 0x950]
push ecx
push 0
mov ecx, eax
call edx
mov ecx, 0x631bd8
call fcn.00403bb0
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 + 0x2c], 1
lea ecx, [esp + 0x68]
call fcn.004052d0
lea ecx, [esp + 0x5c]
call fcn.004052d0
mov ecx, dword [esp + 0x70]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov edx, dword [esp + 0x60]
push edx
call esi
mov eax, dword [esp + 0x64]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
push ebx
call fcn.004a37b7
mov eax, dword [esp + 0x44]
add dword [esp + 0x1c], 1
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x1d68], 0x25
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49e43c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc8]
call fcn.00441c40
lea ecx, [esp + 0x94]
call fcn.004597f0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x1d68], 0x21
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e47c
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 + 0x1d68], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e4a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x1d68], 0x1d
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e4cc
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 + 0x1d68], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49e4f4
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 0x49dbd2
mov esi, dword [esp + 0x2c]
jmp 0x49db24
jmp fcn.00405000
push 0x80070057
call fcn.00403520
int3