Function at 0x1004cd37
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push 0xc4
mov eax, 0x1008c440
call fcn.10075620
mov ebx, ecx
mov dword [ebp - 0xbc], ebx
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x23d
push edi
call esi
push eax
lea ecx, [ebx + 0x100]
call fcn.1007131d
push 0x235
push dword [ebx + 4]
call esi
push eax
lea ecx, [ebx + 0x178]
call fcn.1007131d
xor eax, eax
push eax
mov esi, 0x8f5c
push esi
call fcn.1004d97f
pop ecx
pop ecx
test eax, eax
je 0x1004cda2
push esi
push eax
lea ecx, [ebx + 0x1f0]
call fcn.1004dac7
lea esi, [ebx + 0x1f4]
push 0x104
mov ecx, esi
call fcn.10011fed
push 0x104
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1004db11
mov eax, dword [0x100ee9b4]
push 0
dec eax
je 0x1004cde7
dec eax
je 0x1004cde0
mov esi, 0x9150
jmp 0x1004cdec
mov esi, 0x9152
jmp 0x1004cdec
mov esi, 0x9151
push esi
call fcn.1004d97f
pop ecx
pop ecx
test eax, eax
je 0x1004ce05
push esi
push eax
lea ecx, [ebx + 0x1f8]
call fcn.1004dac7
mov ecx, ebx
call fcn.1004c9aa
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004ce30
push 1
push esi
push 0x28
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x2be
push dword [ebx + 4]
call edi
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [ebx + 4]
call edi
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x100ee9b8], 0
jne 0x1004ce93
push 9
push dword [ebx + 4]
call edi
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x104]
call dword [sym.imp.USER32.dll_ShowWindow]
xor ebx, ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc4], ebx
mov edi, ebx
mov dword [ebp - 0xb4], ebx
push ebx
xor eax, eax
push 0x100b7650
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.100040be
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.1004d8b8
mov eax, dword [0x100ee074]
mov byte [ebp - 4], 2
mov esi, dword [eax + edi*8 + 4]
mov esi, dword [esi]
cmp esi, dword [eax + edi*8 + 4]
je 0x1004d15a
cmp dword [esi + 0x12c], 0
je 0x1004d15a
mov edi, dword [esi + 0x128]
mov edi, dword [edi]
mov dword [ebp - 0xb8], edi
jmp 0x1004cfc1
push 5
push 0x100b7ef0
call fcn.100779cf
add edi, 0x10
pop ecx
cmp dword [edi + 0x14], 8
pop ecx
jb 0x1004cf41
mov ecx, dword [edi]
jmp 0x1004cf43
mov ecx, edi
push eax
push str.USB_
push ecx
call fcn.100785c2
add esp, 0xc
test eax, eax
je 0x1004cf83
push 0xa
push 0x100b7f08
call fcn.100779cf
cmp dword [edi + 0x14], 8
pop ecx
pop ecx
jb 0x1004cf6e
mov ecx, dword [edi]
jmp 0x1004cf70
mov ecx, edi
push eax
push str.USBPRINT_
push ecx
call fcn.100785c2
add esp, 0xc
test eax, eax
jne 0x1004cfb0
push edi
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004dcb5
cmp dword [edi + 0x14], 8
jb 0x1004cf9b
mov edi, dword [edi]
push edi
push str.itDevID__data__
push 0x100b7814
push 4
call fcn.1000a07f
add esp, 0x10
lea ecx, [ebp - 0xb8]
call fcn.10011d9e
mov edi, dword [ebp - 0xb8]
cmp edi, dword [esi + 0x128]
jne 0x1004cf26
cmp dword [ebp - 0x48], 0
lea ecx, [ebp - 0xac]
jne 0x1004cff7
call fcn.1004b49c
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.10003d41
mov edi, dword [ebp - 0xb4]
jmp 0x1004d173
lea eax, [esi + 0x38]
cmp ecx, eax
je 0x1004d00d
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0xac]
call fcn.10004004
lea eax, [esi + 0x50]
lea ecx, [ebp - 0x94]
cmp ecx, eax
je 0x1004d023
push 0xffffffffffffffff
push ebx
push eax
call fcn.10004004
mov eax, dword [ebp - 0xb4]
imul eax, eax, 0x14
lea edi, [eax + str.PRINT]
cmp word [edi], bx
jne 0x1004d03b
mov eax, ebx
jmp 0x1004d042
push edi
call fcn.10074c74
pop ecx
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.100040be
lea eax, [esi + 0x68]
lea ecx, [ebp - 0x7c]
cmp ecx, eax
je 0x1004d05f
push 0xffffffffffffffff
push ebx
push eax
call fcn.10004004
add esi, 0xf8
lea eax, [ebp - 0x64]
cmp eax, esi
je 0x1004d077
push 0xffffffffffffffff
push ebx
push esi
mov ecx, eax
call fcn.10004004
push 8
pop esi
cmp dword [ebp - 0x98], esi
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push eax
push str.pnpInfo.driver_desc.data__
push 0x100b784c
push 4
pop edi
push edi
mov dword [ebp - 0x2c], ebx
call fcn.1000a07f
cmp dword [ebp - 0x80], esi
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push str.pnpInfo.inf_file.data__
push 0x100b7880
push edi
call fcn.1000a07f
cmp dword [ebp - 0x30], esi
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.pnpInfo.sFunction.data__
push 0x100b78b8
push edi
call fcn.1000a07f
cmp dword [ebp - 0x68], esi
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
push eax
push str.pnpInfo.inf_class.data__
push 0x100b78f0
push edi
call fcn.1000a07f
add esp, 0x40
cmp dword [ebp - 0x50], esi
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
push str.pnpInfo.src_path.data__
push str.CPnPWaitDlg::OnInitDialog
push edi
call fcn.1000a07f
mov edi, dword [ebp - 0xb4]
add esp, 0x10
test edi, edi
jne 0x1004d148
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
add eax, 0x10
cmp dword [eax + 0x14], esi
jb 0x1004d135
mov eax, dword [eax]
push eax
push 0x104
push 0x100eac9c
call fcn.10077973
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xc8]
call fcn.1004dce3
lea ecx, [ebp - 0xac]
call fcn.1004b49c
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.10003d41
inc edi
mov dword [ebp - 0xb4], edi
cmp edi, 2
jle 0x1004cec0
mov ebx, dword [ebp - 0xbc]
lea eax, [ebp - 0xc8]
add ebx, 0x214
push eax
mov ecx, ebx
call fcn.1004ad42
push 0x100b7940
mov ecx, 0x100ee070
call fcn.10012e4e
push eax
lea ecx, [ebp - 0xb0]
call fcn.1004d84f
mov eax, dword [ebp - 0xb0]
xor esi, esi
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], esi
je 0x1004d20c
push str.___VAL_DETECTTIMEOUT___
lea ecx, [ebp - 0xb0]
call fcn.1004da4a
test eax, eax
je 0x1004d20c
push 0x100b79a0
lea ecx, [ebp - 0xb0]
call fcn.1004da4a
test eax, eax
jne 0x1004d1f4
push esi
jmp 0x1004d205
push dword [ebp - 0xb0]
call fcn.10078bfd
pop ecx
test eax, eax
je 0x1004d20c
push eax
mov ecx, ebx
call fcn.1004b0a0
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff0
call fcn.1001205d
lea ecx, [ebp - 0xc8]
call fcn.1004b9d3
xor eax, eax
inc eax
call fcn.100755cf
ret