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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0x113
push esi
push edi
mov edi, ecx
ja 0x40ea54
je 0x40e9ea
cmp ebx, 0xf
je 0x40e92d
cmp ebx, 0x2b
je 0x40e8b9
cmp ebx, 0x111
jne 0x40eade
movzx eax, word [ebp + 0xc]
sub eax, 0x6a
je 0x40e899
sub eax, 4
je 0x40e879
sub eax, 0x1b
jne 0x40ea9b
mov esi, edi
call fcn.0040e740
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret 0xc
mov esi, edi
call fcn.0040e6e0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret 0xc
mov esi, edi
call fcn.0040e7c0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x140]
lea ebx, [edi + 0x13c]
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, dword [ebp + 0xc]
jne 0x40e8e1
mov esi, dword [ebp + 0x10]
mov ecx, ebx
call fcn.0040e1b0
test eax, eax
jne 0x40e911
mov ecx, dword [edi + 0x154]
lea ebx, [edi + 0x150]
push 0xfffffffffffffff4
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, dword [ebp + 0xc]
jne 0x40eadb
mov esi, dword [ebp + 0x10]
mov eax, ebx
call fcn.0040e040
test eax, eax
je 0x40eadb
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret 0xc
push 0x40
lea edx, [esp + 0x24]
push 0
push edx
call fcn.00449450
mov ecx, dword [edi + 4]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [edi + 0x108]
mov esi, eax
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x7e
lea eax, [esp + 0x66]
push 0
push eax
mov word [esp + 0x6c], 0
call fcn.00449450
mov edx, dword [edi + 4]
add esp, 0xc
push 0x40
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, 0x32
push 1
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x20], 0xe6
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [esp + 0x60]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e9b3
push 0x14
sub eax, edx
lea ecx, [esp + 0x14]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x6c]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x40eade
cmp dword [ebp + 0xc], 0x87
jne 0x40eade
lea esi, [esp + 0x10]
call fcn.0040e3f0
add dword [edi + 0x12c], 0xfffffff6
mov eax, dword [edi + 0x12c]
mov edx, dword [edi + 0x128]
push 0x455
push 0
push 0
push eax
mov eax, dword [edi + 4]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [edi + 0x12c]
cmp ecx, dword [edi + 0x134]
jl 0x40eade
mov edx, dword [edi + 4]
push 0x87
push edx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x40eade
cmp ebx, 0x135
je 0x40ea9b
cmp ebx, 0x201
jne 0x40eade
cmp byte [edi + 0x124], 0
jne 0x40eade
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
movzx ecx, byte [edi + 0x124]
push 0
push ecx
push 0x50c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [edi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40eade
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [edi + 0x140]
jne 0x40eab0
mov eax, dword [edi + 0x14c]
test eax, eax
jne 0x40eaee
cmp ecx, dword [edi + 0x154]
jne 0x40eade
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
test eax, eax
je 0x40eade
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.0040be20
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret 0xc