Function at 0x4282b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4e0138]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [0x4e6994]
push ebx
push esi
push edi
cmp dword [edx + 0xd4], 2
mov edi, ecx
jne 0x4283cf
cmp dword [edx + 0xb4], 0
jne 0x4282f3
mov eax, dword [edx + 0xa0]
mov dword [edx + 0xa4], eax
mov edx, dword [0x4e6994]
mov dword [edx + 0xb4], 1
mov eax, dword [0x4e6994]
mov dword [eax + 0xa0], 0
mov eax, dword [0x4e6994]
mov eax, dword [eax + 8]
test eax, eax
je 0x428342
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x7d3
jne 0x428342
mov eax, dword [0x4e6994]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x4e6994]
mov dword [eax + 8], 0
mov ebx, dword [ebp + 8]
mov eax, dword [0x4e6994]
lea ecx, [ebx + 0xa]
mov dword [eax + 0xd0], ebx
call fcn.004253d0
lea ecx, [ebx - 0xa]
mov esi, eax
call fcn.004253d0
mov ecx, ebx
mov dword [ebp - 0x1c], eax
call fcn.004253d0
mov edx, eax
cmp esi, edx
je 0x42837e
mov ecx, dword [0x4e6994]
mov dword [ecx + 0xc8], edx
cmp dword [ebp - 0x1c], edx
je 0x4283a0
mov eax, dword [0x4e6994]
cmp edx, 0xffffffff
jne 0x428399
mov edx, dword [eax + 0x10]
test edx, edx
je 0x42839a
mov edx, dword [edx + 8]
jmp 0x42839a
dec edx
mov dword [eax + 0xc8], edx
mov esi, dword [0x4e6994]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4283b1
xor ecx, ecx
jmp 0x4283b4
mov ecx, dword [eax + 8]
cmp edx, ecx
jge 0x4283c7
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4283c7
mov eax, dword [eax + 4]
jmp 0x4283c9
xor eax, eax
mov dword [esi + 0xcc], eax
mov esi, dword [sym.imp.USER32.dll_SetFocus]
push edi
call esi
mov eax, dword [0x4e6994]
xor ebx, ebx
push ebx
push 0xd
push 0x102
push dword [eax + 8]
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x1c], eax
call eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x4285c9
mov ecx, dword [ebp + 0xc]
call fcn.00425360
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.004253d0
mov edx, dword [0x4e6994]
test eax, eax
jne 0x428462
cmp dword [edx + 0x70], 1
jne 0x428462
mov dword [edx + 0x74], 1
xorps xmm0, xmm0
mov eax, dword [0x4e6994]
movups xmmword [ebp - 0x18], xmm0
mov dword [eax + 0x40], esi
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048824f
mov esp, ebp
pop ebp
ret
test esi, esi
jle 0x4284aa
test eax, eax
jle 0x4284aa
cmp dword [edx + 0x70], 1
jne 0x42847e
cmp dword [edx + 0x74], ebx
je 0x42847e
mov dword [edx + 0x74], ebx
mov edx, dword [0x4e6994]
cmp esi, dword [edx + 0x40]
je 0x428488
mov ebx, 1
mov dword [edx + 0x40], esi
mov ecx, dword [0x4e6994]
cmp eax, dword [ecx + 0x44]
mov dword [ecx + 0x44], eax
jne 0x42849d
test ebx, ebx
je 0x4284a4
mov ecx, edi
call fcn.00426640
mov edx, dword [0x4e6994]
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004260f0
mov edx, dword [0x4e6994]
add esp, 4
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.00426230
add esp, 4
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [0x4e6994]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x44]
test ecx, ecx
jne 0x428503
xor eax, eax
jmp 0x428506
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x428519
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x428519
cmp dword [eax], 3
je 0x428555
test ecx, ecx
jne 0x428521
xor eax, eax
jmp 0x428524
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x428537
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x428537
cmp dword [eax], 2
je 0x428555
test ecx, ecx
jne 0x42853f
xor eax, eax
jmp 0x428542
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x42855e
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x42855e
cmp dword [eax], 4
jne 0x42855e
cmp dword [esi + 0xd4], 1
je 0x428585
test ecx, ecx
jne 0x428566
xor eax, eax
jmp 0x428569
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x4285cc
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4285cc
cmp dword [eax], 5
jne 0x4285cc
cmp dword [esi + 0xd4], 3
jne 0x4285cc
mov esi, dword [ebp - 0x1c]
push 0
push 0x20
push 0x100
push edi
call esi
mov eax, dword [ebp + 0xc]
movzx ecx, ax
mov eax, dword [ebp + 8]
movzx eax, ax
shl ecx, 0x10
or ecx, eax
mov eax, dword [0x4e6994]
push ecx
push dword [ebp + 0x10]
push 0x201
push dword [eax + 8]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048824f
mov esp, ebp
pop ebp
ret
push edi
call esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048824f
mov esp, ebp
pop ebp
ret