Function at 0x42ed40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af4e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfb8
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], edi
call fcn.0059a446
mov eax, dword [esi + 0x90]
cmp eax, edi
jne 0x42ed84
lea eax, [esi + 0x94]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x1c], di
call fcn.00401fb0
mov ecx, dword [esi + 0x70]
lea eax, [ebp - 0x20]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x68]
mov byte [ebp - 4], 1
call fcn.00462eb0
cmp eax, 2
jne 0x42edd5
mov byte [esi + 0x424], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x42eddf
lea eax, [ebp - 0x1c]
mov ecx, dword [esi + 0x70]
push eax
call fcn.0054f3b0
mov eax, dword [esi + 0x434]
push 0x7d0
cmp eax, edi
je 0x42eea7
mov eax, dword [esi + 0x42c]
lea edx, [ebp - 0xfc4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x42ee9d
mov ecx, dword [0x6754cc]
mov dword [ebp - 0x14], ecx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
push edi
push edi
push edi
lea edx, [ebp - 0xfc4]
push 0xffffffffffffffff
push edx
push edi
push 0xfde9
mov byte [ebp - 4], 2
call ebx
mov edi, eax
test edi, edi
jle 0x42ee79
push edi
lea ecx, [ebp - 0x14]
call fcn.0059b10a
push 0
push 0
push edi
push eax
lea eax, [ebp - 0xfc4]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
mov ecx, dword [esi + 0x70]
mov byte [ecx + 0x2ce], 1
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + 0x70]
push edx
jmp 0x42ee88
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x42ee8d
push 0x679a18
call fcn.0054a460
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0059ad3d
xor edi, edi
jmp 0x42eedd
mov ecx, dword [esi + 0x70]
cmp dword [ecx + 0x60], edi
je 0x42eedd
jmp 0x42eed3
mov ecx, dword [esi + 0x42c]
lea eax, [ebp - 0x7f4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42eecb
mov ecx, dword [esi + 0x70]
lea edx, [ebp - 0x7f4]
push edx
jmp 0x42eed8
mov ecx, dword [esi + 0x70]
cmp dword [ecx + 0x60], edi
je 0x42eedd
push 0x679a18
call fcn.0054a460
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 0x848]
cmp eax, edi
je 0x42ef04
cmp eax, 3
je 0x42ef04
mov ecx, dword [esi + 0x6c]
push edi
push 0x2721
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 0x3c4]
cmp ecx, edi
je 0x42ef2b
mov al, byte [ecx + 8]
test al, al
je 0x42ef2b
cmp ecx, edi
je 0x42ef22
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x70]
mov dword [ecx + 0x3c4], edi
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx + 0x2c4]
push edx
call fcn.0054a5f0
mov ecx, esi
call fcn.004302d0
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0x400]
push ecx
lea ecx, [eax + 0x20]
call fcn.0055a6b0
mov ecx, dword [esi + 0x70]
push edi
call fcn.005519e0
mov ecx, dword [esi + 0x64]
cmp ecx, edi
je 0x42ef9c
mov edx, dword [esi + 0x70]
push 1
push 1
push edx
call fcn.00487690
mov eax, dword [esi + 0x6c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ef9c
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx + 0x400]
push edx
push 0x144d
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x67a160]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42efce
mov edx, dword [esi + 0x70]
mov ecx, dword [0x67a160]
mov eax, dword [edx + 0x400]
push eax
push 0x1395
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push 1
mov ecx, esi
call fcn.0042f020
mov eax, dword [esi + 0x60]
push edi
cmp eax, edi
je 0x42eff5
mov edx, dword [esi + 0x1c]
push 0xc8
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x42edb8
mov ecx, esi
call fcn.00596e33
jmp 0x42edb8