Function at 0x40e7a0
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 0x40ea04
je 0x40e99a
cmp ebx, 0xf
je 0x40e8dd
cmp ebx, 0x2b
je 0x40e869
cmp ebx, 0x111
jne 0x40ea8e
movzx eax, word [ebp + 0xc]
sub eax, 0x6a
je 0x40e849
sub eax, 4
je 0x40e829
sub eax, 0x1b
jne 0x40ea4b
mov esi, edi
call fcn.0040e6f0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0044610a
mov esp, ebp
pop ebp
ret 0xc
mov esi, edi
call fcn.0040e690
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0044610a
mov esp, ebp
pop ebp
ret 0xc
mov esi, edi
call fcn.0040e770
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0044610a
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 0x40e891
mov esi, dword [ebp + 0x10]
mov ecx, ebx
call fcn.0040e160
test eax, eax
jne 0x40e8c1
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 0x40ea8b
mov esi, dword [ebp + 0x10]
mov eax, ebx
call fcn.0040dff0
test eax, eax
je 0x40ea8b
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0044610a
mov esp, ebp
pop ebp
ret 0xc
push 0x40
lea edx, [esp + 0x24]
push 0
push edx
call fcn.004498f0
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.004498f0
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 0x40e963
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 0x40ea8e
cmp dword [ebp + 0xc], 0x87
jne 0x40ea8e
lea esi, [esp + 0x10]
call fcn.0040e3a0
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 0x40ea8e
mov edx, dword [edi + 4]
push 0x87
push edx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x40ea8e
cmp ebx, 0x135
je 0x40ea4b
cmp ebx, 0x201
jne 0x40ea8e
cmp byte [edi + 0x124], 0
jne 0x40ea8e
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 0x40ea8e
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [edi + 0x140]
jne 0x40ea60
mov eax, dword [edi + 0x14c]
test eax, eax
jne 0x40ea9e
cmp ecx, dword [edi + 0x154]
jne 0x40ea8e
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
test eax, eax
je 0x40ea8e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0044610a
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.0044610a
mov esp, ebp
pop ebp
ret 0xc