Function at 0x4267a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0e11
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x65a000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x230], 0
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
xor edi, edi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x29c], edi
call fcn.00428d10
push dword [ebp + 8]
call fcn.00457810
push 0x10
call fcn.00481635
mov esi, eax
add esp, 4
test esi, esi
je 0x426822
mov eax, dword [ebp + 0x18]
mov dword [esi], eax
mov dword [esi + 0xc], edi
mov dword [esi + 4], edi
jmp 0x426824
xor esi, esi
push 0
push 0
push 0x800c
push dword [esi]
mov dword [0x6faff4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x426875
push 0
push 4
push 0
push 0
push esi
push 0x415a40
mov dword [esi + 4], eax
call fcn.0048babd
mov dword [esi + 0xc], eax
mov dword [eax + 0x28], edi
mov eax, dword [esi + 0xc]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 3
xor eax, eax
push 0x60e1b0
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x2a8], edi
mov word [ebp - 0x2b8], ax
call fcn.004058d0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 1
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00406e30
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2a4], 8
jb 0x4268db
push dword [ebp - 0x2b8]
call fcn.0048166b
add esp, 4
mov esi, dword [ebp + 0xc]
xor eax, eax
mov word [ebp - 0x2b8], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x2a8], 0
cmp esi, eax
je 0x426ee3
mov ebx, dword [esi]
mov dword [ebp - 0x2a0], ebx
test ebx, ebx
je 0x426e98
mov eax, dword [ebx]
mov dword [ebp - 0x298], 0
mov edi, dword [eax + 4]
mov ecx, edi
mov eax, str.EID_
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x426956
test dx, dx
je 0x426952
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x426956
add eax, 4
add ecx, 4
test dx, dx
jne 0x426930
xor eax, eax
jmp 0x42695b
sbb eax, eax
or eax, 1
test eax, eax
je 0x426a6e
push edi
call fcn.00464560
test eax, eax
jne 0x426a6e
mov eax, dword [ebx]
mov dword [ebp - 0x298], 1
mov edx, dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
cmp word [edx], ax
jne 0x4269a6
xor ecx, ecx
jmp 0x4269bf
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x4269b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4269b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x22c]
call fcn.004058d0
mov byte [ebp - 4], 4
push 0xb
xor eax, eax
push str.InstDrvName
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
call fcn.004058d0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 5
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407490
cmp dword [ebp - 0x27c], 8
jb 0x426a36
push dword [ebp - 0x290]
call fcn.0048166b
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x218], 8
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
jb 0x426a6e
push dword [ebp - 0x22c]
call fcn.0048166b
add esp, 4
cmp dword [ebp + 8], 0
je 0x426b0d
mov eax, dword [ebx]
mov edx, dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
cmp word [edx], ax
jne 0x426aa3
xor ecx, ecx
jmp 0x426abf
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x426ab0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426ab0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x22c]
call fcn.004058d0
push ecx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 6
call fcn.00450950
mov edi, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x218], 8
mov dword [ebp - 0x29c], edi
jb 0x426b86
push dword [ebp - 0x22c]
call fcn.0048166b
add esp, 4
jmp 0x426b86
cmp dword [ebp - 0x298], 0
je 0x426b80
mov eax, dword [ebx]
mov edx, dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
cmp word [edx], ax
jne 0x426b41
xor ecx, ecx
jmp 0x426b55
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426b46
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x22c]
call fcn.004058d0
push 0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 7
call fcn.0044fd00
jmp 0x426ae4
mov edi, dword [ebp - 0x29c]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, str.EID_
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x426bb6
test dx, dx
je 0x426bb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x426bb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x426b90
xor eax, eax
jmp 0x426bbb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x426cf6
push 0x12
push str.MAKE_WSPTLIST_PATH
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], eax
mov word [ebp - 0x22c], ax
call fcn.004058d0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 8
mov ecx, dword [0x6fb00c]
push eax
call fcn.004534f0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x218], 8
jb 0x426c24
push dword [ebp - 0x22c]
call fcn.0048166b
add esp, 4
push 0x14
xor eax, eax
push str.CHECK_WSPTLIST_FILES
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
call fcn.004058d0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 9
call fcn.00456360
cmp eax, 1
sete bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x218], 8
jb 0x426c8b
push dword [ebp - 0x22c]
call fcn.0048166b
add esp, 4
test bl, bl
je 0x426cf0
push 0x12
xor eax, eax
push str.COPY_WSPTLIST_FILE
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
call fcn.004058d0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 0xa
call fcn.004545e0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x218], 8
jb 0x426cf0
push dword [ebp - 0x22c]
call fcn.0048166b
add esp, 4
mov ebx, dword [ebp - 0x2a0]
test edi, edi
jne 0x426d07
cmp dword [ebp - 0x298], 1
je 0x426ea5
mov ecx, dword [ebp - 0x294]
call fcn.00428460
test eax, eax
je 0x426ea5
mov eax, dword [ebx]
mov edx, dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [edx], ax
jne 0x426d45
xor ecx, ecx
jmp 0x426d5f
mov ecx, edx
lea edi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426d50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.004058d0
push 7
push str..SELECT
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xb
call fcn.004057a0
mov ecx, dword [0x6fb010]
push 1
lea eax, [ebp - 0x248]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407870
cmp dword [ebp - 0x298], 1
jne 0x426e57
mov eax, dword [ebx]
mov edx, dword [eax + 4]
cmp word [edx], 0
jne 0x426db5
xor ecx, ecx
jmp 0x426dcf
mov ecx, edx
lea edi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426dc0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.004058d0
push 8
push str..APPNAME
lea ecx, [ebp - 0x248]
call fcn.004057a0
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ecx + 0xc]
call fcn.00406e30
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x278]
push eax
mov ecx, 0x6fb108
mov byte [ebp - 4], 0xc
call fcn.00405440
cmp dword [ebp - 0x264], 8
jb 0x426e3a
push dword [ebp - 0x278]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x234], 8
jb 0x426e72
push dword [ebp - 0x248]
call fcn.0048166b
add esp, 4
mov edi, dword [ebp - 0x29c]
xor eax, eax
mov word [ebp - 0x248], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
add esi, 4
cmp esi, eax
jne 0x426906
jmp 0x426edd
mov eax, dword [ebp - 0x294]
mov dword [eax + 0x554], 0
mov eax, dword [ebx]
push dword [eax + 4]
push str.CDlgDriverInstall::DriverInstall__Driver_Install_Failed___App:_s
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
mov ebx, dword [ebp - 0x294]
mov esi, dword [0x6faff4]
test esi, esi
je 0x426f5b
cmp dword [esi + 0xc], 0
je 0x426f48
mov eax, dword [esi + 4]
test eax, eax
je 0x426f01
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc]
push 0xffffffffffffffff
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x426f24
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x426f32
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
test eax, eax
je 0x426f48
push 0
push 0
push 0x800e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.0048166b
add esp, 4
mov dword [0x6faff4], 0
cmp dword [ebx + 0x554], 1
jne 0x427067
push 3
xor eax, eax
push 0x60e1b0
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
call fcn.004058d0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0xd
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00406e30
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x27c], 8
jb 0x426fd2
push dword [ebp - 0x290]
call fcn.0048166b
add esp, 4
xor eax, eax
push 0x1a
push str.REGIST_INSTALL_DEVICE_INFO
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], eax
mov word [ebp - 0x22c], ax
call fcn.004058d0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x10
mov ecx, dword [0x6fb00c]
push eax
call fcn.004534f0
cmp dword [ebp - 0x218], 8
jb 0x42704c
push dword [ebp - 0x22c]
call fcn.0048166b
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x234], 8
jb 0x427067
push dword [ebp - 0x248]
call fcn.0048166b
add esp, 4
mov ecx, ebx
call fcn.00427da0
cmp dword [ebx + 0x554], 1
jne 0x4270d2
push 8
xor eax, eax
push str.SelectIF
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
call fcn.004058d0
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x230], 1
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ecx + 0xc]
call fcn.004072c0
cmp eax, 3
je 0x4270d2
mov bl, 1
jmp 0x4270d4
xor bl, bl
mov dword [ebp - 4], 3
test byte [ebp - 0x230], 1
je 0x4270fb
cmp dword [ebp - 0x218], 8
jb 0x4270fb
push dword [ebp - 0x22c]
call fcn.0048166b
add esp, 4
test bl, bl
je 0x4274e1
mov ebx, dword [ebp - 0x294]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004839b4
push 0x3fd
push 0
push 0x812e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427143
push 0
mov ecx, ebx
call fcn.00488df9
push 0xa
xor eax, eax
push str.IP_ADDRESS
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
call fcn.004058d0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0x12
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ecx + 0xc]
call fcn.00406e30
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x27c], 8
jb 0x4271ad
push dword [ebp - 0x290]
call fcn.0048166b
add esp, 4
xor eax, eax
push 0xd
push str.IP_SELECT_TAB
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x2a8], eax
mov word [ebp - 0x2b8], ax
call fcn.004058d0
mov byte [ebp - 4], 0x15
mov ecx, dword [0x6fb010]
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ecx + 0xc]
call fcn.004072c0
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x2a4], 8
mov esi, eax
jb 0x427229
push dword [ebp - 0x2b8]
call fcn.0048166b
add esp, 4
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
push esi
call fcn.004584a0
test eax, eax
jne 0x42726c
mov ecx, dword [0x6fb018]
mov dword [ebx + 0x554], eax
mov ecx, dword [ecx + 0x44]
push eax
call fcn.00488df9
push str.CDlgDriverInstall::DriverInstall__IsEnablePrinter____FALSE
call fcn.00415fc0
jmp 0x4274ca
push 0xb
xor eax, eax
push str.InstDrvName
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x2a8], 0
mov word [ebp - 0x2b8], ax
call fcn.004058d0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x16
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ecx + 0xc]
call fcn.00406e30
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x2a4], 8
jb 0x4272d6
push dword [ebp - 0x2b8]
call fcn.0048166b
add esp, 4
push 4
xor eax, eax
push str._LAN
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x2a4], 7
mov dword [ebp - 0x2a8], 0
mov word [ebp - 0x2b8], ax
call fcn.004057a0
push 0xb
xor eax, eax
push str.InstDrvName
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
call fcn.004058d0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x19
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ecx + 0xc]
call fcn.00407490
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x27c], 8
jb 0x42736f
push dword [ebp - 0x290]
call fcn.0048166b
add esp, 4
push 0x6183b8
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x230], 1
call fcn.004051f0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00451670
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x27c], 8
mov edi, eax
jb 0x4273c4
push dword [ebp - 0x290]
call fcn.0048166b
add esp, 4
cmp edi, 1
jne 0x4273ef
mov ecx, ebx
call fcn.00428460
cmp eax, edi
jne 0x4273ef
push 7
push str.SUCCESS
mov ecx, 0x6fb1b0
call fcn.004058d0
call fcn.00462a20
jmp 0x427471
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
mov dword [ebx + 0x554], 0
call fcn.005a7690
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp - 0x230]
push str.FAIL_0x_08x
push 0xffffffffffffffff
push 0x100
push eax
call fcn.005a4e29
add esp, 0x14
cmp word [ebp - 0x214], 0
jne 0x427446
xor ecx, ecx
jmp 0x42745f
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427450
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x214]
push eax
mov ecx, 0x6fb1b0
call fcn.004058d0
mov eax, dword [0x6fb018]
mov eax, dword [eax + 0x44]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x427496
mov ecx, dword [0x6fb018]
push 0
mov ecx, dword [ecx + 0x44]
call fcn.00488df9
cmp dword [ebp - 0x234], 8
jb 0x4274ad
push dword [ebp - 0x248]
call fcn.0048166b
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp dword [ebp - 0x218], 8
jb 0x4274e1
push dword [ebp - 0x22c]
call fcn.0048166b
add esp, 4
cmp dword [ebp - 0x24c], 8
jb 0x4274f8
push dword [ebp - 0x260]
call fcn.0048166b
add esp, 4
xor eax, eax
mov word [ebp - 0x260], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
test eax, eax
je 0x427525
push eax
call fcn.0048166b
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a4646
mov esp, ebp
pop ebp
ret 0x14