Function at 0x406f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d1ba3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x6494
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, esp
mov dword [esp + 0x6490], eax
push ebx
push esi
push edi
mov eax, dword [0x51c080]
xor eax, esp
push eax
lea eax, [esp + 0x64a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, 7
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov dword [esp + 0x64b0], ebx
push eax
call fcn.004083f0
test al, al
je 0x406fc7
mov dword [esp + 0x64b0], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x406fbc
mov eax, dword [esp + 0x5c]
push eax
call fcn.004993dd
add esp, 4
mov dword [esp + 0x70], edi
xor eax, eax
jmp 0x407fe6
push 0x200
lea ecx, [esp + 0x5aa0]
push ebx
push ecx
call fcn.004ab450
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
call fcn.00410650
mov byte [esp + 0x64b0], 1
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x406ffe
mov eax, dword [eax + 4]
jmp 0x407001
add eax, 4
push 0xff
push eax
lea eax, [esp + 0x5aa4]
push 0x100
push eax
call fcn.004a9be0
add esp, 0x10
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], esi
jb 0x407036
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
push 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x4dccc0
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x64cc], 2
push 0x52c1fc
mov byte [esp + 0x64d0], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x64b0], 3
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
call fcn.0040f4f0
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], 8
jb 0x4070ae
mov edx, dword [esp + 0x20]
push edx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x407199
push 0x800
lea eax, [esp + 0x5ca0]
push ebx
push eax
call fcn.004ab450
mov eax, dword [esp + 0x68]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x70], esi
jae 0x4070ee
lea eax, [esp + 0x5c]
push 0x3ff
push eax
lea ecx, [esp + 0x5ca4]
push 0x400
push ecx
call fcn.004a9be0
add esp, 0x10
lea edx, [esp + 0x5c9c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [esp + 0x5c9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x5c]
je 0x40717c
cmp dword [esp + 0x70], esi
jae 0x407137
lea eax, [esp + 0x5c]
push eax
push str.Set_destination_directorywith___s_
mov ecx, 0x527b30
call fcn.00449000
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x7c]
mov word [ecx + 4], bx
call fcn.0040f4f0
mov byte [esp + 0x64cc], 4
mov byte [esp + 0x64cc], bl
call fcn.0040f820
jmp 0x407199
cmp dword [esp + 0x70], esi
jae 0x407186
lea eax, [esp + 0x5c]
push eax
push str.the_destination_directory__s__is_invalid_path
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x4dcd6c
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x64cc], 5
push 0x52c1fc
mov byte [esp + 0x64d0], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x64b0], 6
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
call fcn.0040f4f0
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], 8
jb 0x407204
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x407400
push 0x200
lea edx, [esp + 0x58a0]
push ebx
push edx
call fcn.004ab450
mov eax, dword [esp + 0x68]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x70], esi
jae 0x407244
lea eax, [esp + 0x5c]
push eax
push 0x4dcd70
mov ecx, 0x527b30
call fcn.00449000
mov ecx, dword [esp + 0x64]
add esp, 8
cmp dword [esp + 0x70], esi
jae 0x407265
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x589c]
call fcn.00443600
test al, al
je 0x40729e
cmp dword [esp + 0x70], esi
mov eax, dword [esp + 0x5c]
jae 0x407283
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x589c]
push ecx
push eax
push str.Some_characters_in_the_printer_name__s__were_changed_to___s___
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
lea eax, [esp + 0x5a9c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4072b5
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5aa0]
push edx
lea esi, [esp + 0x44]
call fcn.004102a0
mov byte [esp + 0x64b0], 7
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x58b8]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov dword [esp + 0x34], esp
mov word [esi + 4], bx
lea edx, [eax + 2]
jmp 0x407300
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407300
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58bc]
push eax
call fcn.004102a0
mov byte [esp + 0x64cc], 8
lea ecx, [esp + 0x58]
push ecx
mov ecx, 0x527b20
call fcn.0040abb0
mov byte [esp + 0x64cc], 7
mov ecx, eax
call fcn.0040f3a0
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x54], 8
jb 0x40735e
mov edx, dword [esp + 0x40]
push edx
call fcn.004993dd
add esp, 4
lea eax, [esp + 0x5a9c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407382
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x5aa0]
push eax
lea esi, [esp + 0x24]
call fcn.004102a0
mov byte [esp + 0x64b0], 9
lea ecx, [esp + 0x589c]
push ecx
mov edx, esi
push edx
mov ecx, 0x527b20
call fcn.0040abb0
add eax, 0x1604
push eax
push str._s_printer_name_was_change_to___s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], 8
jb 0x4073f3
mov eax, dword [esp + 0x20]
push eax
call fcn.004993dd
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x4dce68
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x64cc], 0xa
push 0x52c1fc
mov byte [esp + 0x64d0], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x64b0], 0xb
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
call fcn.0040f4f0
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], 8
jb 0x40746b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x407720
lea eax, [esp + 0x5a9c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4074a0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5aa0]
push edx
lea esi, [esp + 0x24]
call fcn.004102a0
mov byte [esp + 0x64b0], 0xc
cmp dword [esp + 0x70], 8
mov edx, dword [esp + 0x5c]
jae 0x4074d8
lea edx, [esp + 0x5c]
sub esp, 0x1c
mov esi, esp
mov eax, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x34], esp
mov word [esi + 4], bx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4074f4
sub eax, edi
sar eax, 1
push eax
push edx
call fcn.004102a0
mov byte [esp + 0x64cc], 0xd
lea eax, [esp + 0x38]
push eax
mov ecx, 0x527b20
call fcn.0040abb0
mov byte [esp + 0x64cc], 0xc
mov ecx, eax
call fcn.0040f280
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], 8
jb 0x40754b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
mov eax, 7
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x5a9c]
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407574
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5aa0]
push edx
lea esi, [esp + 0x44]
call fcn.004102a0
mov byte [esp + 0x64b0], 0xe
mov eax, esi
push eax
mov ecx, 0x527b20
call fcn.0040abb0
mov ecx, eax
call fcn.0040f210
mov byte [esp + 0x64b0], bl
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x4075d0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004993dd
add esp, 4
mov eax, 7
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x5a9c]
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407600
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5aa0]
push edx
lea esi, [esp + 0x24]
call fcn.004102a0
mov byte [esp + 0x64b0], 0xf
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x407637
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, 0x527b20
call fcn.0040abb0
add eax, 0x1604
push eax
push 0x4dce6c
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], edi
jb 0x407679
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
mov eax, 7
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x5a9c]
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4076a2
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x5aa0]
push edx
lea esi, [esp + 0x44]
call fcn.004102a0
mov byte [esp + 0x64b0], 0x10
mov eax, esi
push eax
mov ecx, 0x527b20
call fcn.0040abb0
add eax, 0x1604
push eax
push str.Share__s
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x54], edi
jb 0x40770a
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004993dd
add esp, 4
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov edi, 7
push str.TRUE
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x38], esp
push 2
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x4db5b8
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x64d0], 0x11
push 0x52c1fc
mov byte [esp + 0x64d4], bl
lea esi, [esp + 0x40]
call fcn.004116f0
mov byte [esp + 0x64b4], 0x12
cmp dword [eax + 0x18], 8
jb 0x407774
mov eax, dword [eax + 4]
jmp 0x407777
add eax, 4
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
sete byte [esp + 0x17]
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], 8
jb 0x4077a2
mov edx, dword [esp + 0x20]
push edx
call fcn.004993dd
add esp, 4
cmp byte [esp + 0x17], bl
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x4077e7
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x4dd578
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x64cc], 0x13
mov byte [esp + 0x64cc], bl
call fcn.0040f160
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 8
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.SNMPNAME
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x64cc], 0x14
push 0x52c1fc
mov byte [esp + 0x64d0], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x64b0], 0x15
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
call fcn.0040f4f0
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], 8
jb 0x407852
mov eax, dword [esp + 0x20]
push eax
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x40787e
cmp dword [esp + 0x70], 8
mov edx, dword [esp + 0x5c]
jae 0x407874
lea edx, [esp + 0x5c]
mov eax, 0x52c268
call fcn.0040f100
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x4dced4
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x64cc], 0x16
push 0x52c1fc
mov byte [esp + 0x64d0], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x64b0], 0x17
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
call fcn.0040f4f0
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], 8
jb 0x4078e9
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x407cb9
push 0x200
lea edx, [esp + 0x58a0]
push ebx
push edx
call fcn.004ab450
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp dword [esp + 0x70], 8
jae 0x407925
lea eax, [esp + 0x5c]
push 0xff
push eax
lea eax, [esp + 0x58a4]
push 0x100
push eax
call fcn.004a9be0
push 3
lea ecx, [esp + 0x58b0]
push 0x4dced8
push ecx
call fcn.004a98ea
add esp, 0x1c
test eax, eax
je 0x407b6e
push 4
lea edx, [esp + 0x58a0]
push 0x4dcee0
push edx
call fcn.004a98ea
add esp, 0xc
test eax, eax
je 0x407b6e
push 4
lea eax, [esp + 0x58a0]
push str.USB0
push eax
call fcn.004a98ea
add esp, 0xc
test eax, eax
je 0x407b6e
push 2
lea ecx, [esp + 0x58a0]
push 0x4dcef8
push ecx
call fcn.004a98ea
add esp, 0xc
test eax, eax
jne 0x407a87
lea ecx, [esp + 0x589c]
call fcn.00454e30
test al, al
je 0x4079e9
sub esp, 0x1c
lea edx, [esp + 0x74]
mov esi, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0040f4c0
mov byte [esp + 0x64cc], 0x1b
jmp 0x407ca8
lea esi, [esp + 0x74]
call fcn.0040e6b0
push 0x3ff
lea eax, [esp + 0x58a0]
push eax
lea ecx, [esp + 0x4482]
push 0x400
push ecx
call fcn.004a9be0
add esp, 0x10
mov eax, esi
mov edi, 0x52c268
mov dword [esp + 0x4c7c], 4
call fcn.00474f20
test eax, eax
jne 0x407cb9
mov ecx, esi
mov edx, edi
call fcn.00474fc0
test eax, eax
jne 0x407cb9
lea eax, [esp + 0x27a]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407a50
sub eax, edx
sar eax, 1
je 0x407cb9
sub esp, 0x1c
lea edx, [esp + 0x296]
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00411be0
mov byte [esp + 0x64cc], 0x1c
jmp 0x407ca8
lea esi, [esp + 0x74]
call fcn.0040e6b0
push 0xff
lea edx, [esp + 0x58a0]
push edx
lea eax, [esp + 0x4c88]
push 0x100
push eax
call fcn.004a9be0
add esp, 0x10
mov ecx, esi
mov edx, 0x52c268
mov dword [esp + 0x4c7c], 3
call fcn.00474fc0
test eax, eax
jne 0x407cb9
lea eax, [esp + 0x27a]
lea edx, [eax + 2]
jmp 0x407ae0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407ae0
sub eax, edx
sar eax, 1
je 0x407cb9
sub esp, 0x1c
lea edx, [esp + 0x296]
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00411be0
mov byte [esp + 0x64cc], 0x1d
mov byte [esp + 0x64cc], bl
mov ecx, 0x52c1fc
call fcn.004483c0
sub esp, 0x1c
lea edx, [esp + 0x4e9c]
mov eax, esp
mov dword [esp + 0x34], esp
call fcn.00411be0
mov byte [esp + 0x64cc], 0x1e
sub esp, 0x1c
lea edx, [esp + 0x4cb8]
mov eax, esp
mov dword [esp + 0x70], esp
call fcn.00411be0
mov byte [esp + 0x64e8], 0x1f
mov byte [esp + 0x64e8], bl
call fcn.0040e540
jmp 0x407cb9
push 0xf00
mov edi, str.mode
mov eax, str.SEInst_InstallingSearchPrinter
mov byte [esp + 0x1b], bl
call fcn.00443000
add esp, 4
push ebx
xor ecx, ecx
mov edx, 0x52c268
call fcn.00474660
test eax, eax
je 0x407c75
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x64b0], 0x18
push 0x52c268
lea edi, [esp + 0x40]
call fcn.00475570
test eax, eax
je 0x407c4b
mov esi, dword [esp + 0x40]
cmp esi, dword [esp + 0x44]
jbe 0x407bdb
call fcn.004aa300
cmp esi, dword [esp + 0x44]
jb 0x407be2
call fcn.004aa300
mov eax, dword [esi]
mov ecx, dword [0x52c270]
cmp eax, ecx
jge 0x407bf5
mov dword [0x52c274], eax
jmp 0x407bfa
mov eax, dword [0x52c274]
cmp eax, ebx
jl 0x407c13
cmp eax, ecx
jge 0x407c13
push 0x52c274
mov ecx, 0x52c268
call fcn.0040e890
jmp 0x407c18
mov eax, 0x52c278
sub esp, 0x1c
lea edx, [eax + 0x206]
mov eax, esp
mov dword [esp + 0x54], esp
call fcn.00411be0
mov byte [esp + 0x64cc], 0x19
mov byte [esp + 0x64cc], 0x18
mov ecx, 0x52c1fc
call fcn.004483c0
mov byte [esp + 0x17], 1
mov byte [esp + 0x64b0], bl
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x407c63
push eax
call fcn.004993dd
add esp, 4
cmp byte [esp + 0x17], bl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
jne 0x407cb9
cmp dword [esp + 0x70], 8
mov ecx, dword [esp + 0x5c]
jae 0x407c84
lea ecx, [esp + 0x5c]
call fcn.00454e30
test al, al
je 0x407cb9
sub esp, 0x1c
lea ecx, [esp + 0x74]
mov esi, esp
mov dword [esp + 0x54], esp
push ecx
call fcn.0040f4c0
mov byte [esp + 0x64cc], 0x1a
mov byte [esp + 0x64cc], bl
mov ecx, 0x52c1fc
call fcn.004483c0
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x54], esp
push 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x4dcf00
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x64cc], 0x20
push 0x52c1fc
mov byte [esp + 0x64d0], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x64b0], 0x21
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
call fcn.0040f4f0
mov byte [esp + 0x64b0], bl
mov edi, 8
cmp dword [esp + 0x34], edi
jb 0x407d2c
mov edx, dword [esp + 0x20]
push edx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x407d5c
push 1
mov edi, str.UPDInstallMode
mov eax, str.SEInst_InstallingSetup
call fcn.00443000
add esp, 4
mov edi, 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x54], esp
push 2
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x4dcf08
mov word [esi + 4], bx
call fcn.004102a0
mov byte [esp + 0x64cc], 0x22
push 0x52c1fc
mov byte [esp + 0x64d0], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x64b0], 0x23
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
call fcn.0040f4f0
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], edi
jb 0x407dca
mov eax, dword [esp + 0x20]
push eax
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x407df9
push ebx
mov edi, str.UPDInstallMode
mov eax, str.SEInst_InstallingSetup
call fcn.00443000
add esp, 4
mov edi, 8
sub esp, 0x1c
mov edx, 0x4dcf10
mov eax, esp
mov dword [esp + 0x54], esp
call fcn.00411be0
mov byte [esp + 0x64cc], 0x24
push 0x52c1fc
mov byte [esp + 0x64d0], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x64b0], 0x25
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
call fcn.0040f4f0
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], edi
jb 0x407e57
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x407f19
push 0x200
lea edx, [esp + 0x58a0]
push ebx
push edx
mov dword [esp + 0x24], 0x100
call fcn.004ab450
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x58a0]
push ecx
call sub.WINSPOOL.DRV_Ordinal_203
test eax, eax
jne 0x407ebc
push 0x200
lea edx, [esp + 0x58a0]
push ebx
push edx
call fcn.004ab450
add esp, 0xc
cmp dword [esp + 0x70], edi
mov ecx, dword [esp + 0x5c]
jae 0x407eca
lea ecx, [esp + 0x5c]
call fcn.004541f0
test al, al
je 0x407f19
lea eax, [esp + 0x589c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407ee0
sub eax, edx
sar eax, 1
je 0x407f19
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x407eff
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x58a0]
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x407f19
call fcn.00454a60
sub esp, 0x1c
mov edx, str.SERVER
mov eax, esp
mov dword [esp + 0x54], esp
call fcn.00411be0
mov byte [esp + 0x64cc], 0x26
push 0x52c1fc
mov byte [esp + 0x64d0], bl
lea esi, [esp + 0x3c]
call fcn.004116f0
mov byte [esp + 0x64b0], 0x27
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x60]
call fcn.0040f4f0
mov byte [esp + 0x64b0], bl
cmp dword [esp + 0x34], edi
jb 0x407f77
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004993dd
add esp, 4
cmp dword [esp + 0x6c], ebx
mov esi, 7
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x407fbf
cmp dword [esp + 0x70], edi
mov edx, dword [esp + 0x5c]
jae 0x407f9d
lea edx, [esp + 0x5c]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x54], esp
call fcn.00411be0
mov byte [esp + 0x64cc], 0x28
mov byte [esp + 0x64cc], bl
call fcn.0040e490
mov dword [esp + 0x64b0], 0xffffffff
cmp dword [esp + 0x70], edi
jb 0x407fdd
mov edx, dword [esp + 0x5c]
push edx
call fcn.004993dd
add esp, 4
mov dword [esp + 0x70], esi
mov eax, 1
mov word [esp + 0x5c], bx
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x64a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6490]
xor ecx, esp
call fcn.004a998e
mov esp, ebp
pop ebp
ret 4