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

Disassembly:
push 0x44
mov eax, 0x4a0344
call fcn.00454d9d
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x40], esi
cmp dword [ebp + 8], ebx
je 0x4073d8
push 0x4c6540
lea ecx, [ebp - 0x38]
call fcn.0040cc78
mov eax, dword [ebp + 0xc]
add eax, 3
mov dword [ebp - 4], ebx
cmp eax, 0x15
ja case.0x406f89.1
movzx eax, byte [eax + 0x40740b]
jmp dword [eax*4 + 0x4073e3]
push 0xde
lea ecx, [ebp - 0x38]
call fcn.00402b46
push dword [ebp - 0x38]
push dword [esi + 0x15c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp case.0x406f89.1
push 5
push dword [esi + 0x194]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xdf
lea ecx, [ebp - 0x38]
call fcn.00402b46
push dword [ebp - 0x38]
lea eax, [esi + 0x190]
push eax
call fcn.00402ba2
push 1
push ebx
push dword [esi + 0x194]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x406f89.1
push 0xe4
lea ecx, [ebp - 0x38]
call fcn.00402b46
push dword [ebp - 0x38]
lea eax, [esi + 0x190]
push eax
call fcn.00402ba2
push 1
push ebx
push dword [esi + 0x194]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0xe2
lea ecx, [ebp - 0x38]
call fcn.00402b46
push dword [ebp - 0x38]
lea edi, [esi + 0x15c]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push 0x1f4
push 0xd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x40707e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x40706c
and eax, 0xffff
or eax, 0x80070000
push 0x4af1b0
push ebx
push eax
push dword [esi + 0x35c]
call fcn.00418e71
mov byte [esi + 0x318], 1
jmp case.0x406f89.1
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 7
call fcn.00407fc5
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00407472
test al, al
je 0x407112
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4070b7
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x407112
push ebx
push 0x40
push 0x40
push 1
push 0x65
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x30c], eax
cmp eax, ebx
je 0x40710b
push ebx
add esi, 0x1ec
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00446ad9
mov byte [ebp - 4], 2
call fcn.0040df08
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00437b63
mov esi, dword [ebp - 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 0x194]
call edi
push ebx
push dword [esi + 0x2c8]
call edi
push ebx
push 0x64
push 0x402
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x4af248
push dword [esi + 0x15c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [esi + 0x310]
lea eax, [edi + 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040efbb
mov al, byte [edi + 0x25]
mov byte [ebp - 0x39], al
cmp byte [ebp - 0x44], bl
je 0x40717c
mov ecx, dword [ebp - 0x48]
call fcn.0040e56f
cmp byte [ebp - 0x39], bl
jne 0x4071b1
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x310]
call fcn.00411c72
jmp 0x4071b1
push 5
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00407ab4
jmp case.0x406f89.1
push 0xee
lea ecx, [ebp - 0x38]
call fcn.00402b46
movzx eax, byte [esi + 0x358]
push dword [ebp - 0x38]
neg eax
sbb eax, eax
lea edi, [esi + 0x15c]
push dword [edi]
and eax, 0xffffff
mov dword [esi + 0x180], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x2a
pop eax
mov ecx, 0x169
call fcn.00408503
lea eax, [esi + 0x204]
call fcn.0040ea43
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 0x208]
call edi
mov ebx, dword [esi + 0x310]
call fcn.00412087
push 0
push dword [esi + 0x194]
call edi
push 0xef
lea ecx, [ebp - 0x38]
call fcn.00402b46
push dword [ebp - 0x38]
lea ebx, [esi + 0x2c4]
call fcn.00405b20
push 5
push dword [esi + 0x2c8]
call edi
jmp case.0x406f89.1
push pe_nt_image_headers32
lea ecx, [ebp - 0x38]
call fcn.00402b46
push dword [ebp - 0x38]
lea edi, [esi + 0x15c]
push dword [edi]
mov dword [esi + 0x180], ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [esi + 0x204]
call fcn.0040ea43
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 0x208]
call edi
push ebx
push dword [esi + 0x194]
call edi
push 0xdf
lea ecx, [ebp - 0x38]
call fcn.00402b46
push dword [ebp - 0x38]
lea eax, [esi + 0x190]
push eax
call fcn.00402ba2
push 5
push dword [esi + 0x194]
call edi
mov ebx, dword [esi + 0x310]
call fcn.00412087
jmp case.0x406f89.1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 0x194]
call edi
push ebx
push dword [esi + 0x2c]
call edi
lea ecx, [esi + 0x204]
call fcn.0040e96d
push 5
push dword [esi + 0x208]
call edi
push 0xdd
lea ecx, [ebp - 0x38]
call fcn.00402b46
push dword [ebp - 0x38]
push dword [esi + 0x15c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esi + 0x180], 0x7700
push 1
push dword [esi + 0x2b4]
push 0x30
push dword [esi + 0x15c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push dword [esi + 0x15c]
jmp 0x406fe4
lea eax, [esi + 0x204]
call fcn.0040ea43
push ebx
push dword [esi + 0x208]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xdb
lea ecx, [ebp - 0x38]
call fcn.00402b46
push dword [ebp - 0x38]
xor eax, eax
cmp byte [esi + 0x358], bl
push dword [esi + 0x15c]
sete al
dec eax
and eax, 0xff88ff
add eax, 0x7700
mov dword [esi + 0x180], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x40734c
lea eax, [esi + 0x204]
call fcn.0040ea43
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401395
xor eax, eax
call fcn.00454df9
ret 8