Function at 0x440650
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5ca1c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [0x8cc7c4]
push ebx
push esi
push edi
cmp dword [edx + 0xd4], 2
mov edi, ecx
jne 0x44076f
cmp dword [edx + 0xb4], 0
jne 0x440693
mov eax, dword [edx + 0xa0]
mov dword [edx + 0xa4], eax
mov edx, dword [0x8cc7c4]
mov dword [edx + 0xb4], 1
mov eax, dword [0x8cc7c4]
mov dword [eax + 0xa0], 0
mov eax, dword [0x8cc7c4]
mov eax, dword [eax + 8]
test eax, eax
je 0x4406e2
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x7d3
jne 0x4406e2
mov eax, dword [0x8cc7c4]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x8cc7c4]
mov dword [eax + 8], 0
mov ebx, dword [ebp + 8]
mov eax, dword [0x8cc7c4]
lea ecx, [ebx + 0xa]
mov dword [eax + 0xd0], ebx
call fcn.0043d950
lea ecx, [ebx - 0xa]
mov esi, eax
call fcn.0043d950
mov ecx, ebx
mov dword [ebp - 0x1c], eax
call fcn.0043d950
mov edx, eax
cmp esi, edx
je 0x44071e
mov ecx, dword [0x8cc7c4]
mov dword [ecx + 0xc8], edx
cmp dword [ebp - 0x1c], edx
je 0x440740
mov eax, dword [0x8cc7c4]
cmp edx, 0xffffffff
jne 0x440739
mov edx, dword [eax + 0x10]
test edx, edx
je 0x44073a
mov edx, dword [edx + 8]
jmp 0x44073a
dec edx
mov dword [eax + 0xc8], edx
mov esi, dword [0x8cc7c4]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x440751
xor ecx, ecx
jmp 0x440754
mov ecx, dword [eax + 8]
cmp edx, ecx
jge 0x440767
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x440767
mov eax, dword [eax + 4]
jmp 0x440769
xor eax, eax
mov dword [esi + 0xcc], eax
mov esi, dword [sym.imp.USER32.dll_SetFocus]
push edi
call esi
mov eax, dword [0x8cc7c4]
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 0x440969
mov ecx, dword [ebp + 0xc]
call fcn.0043d8e0
mov ecx, dword [ebp + 8]
mov esi, eax
call fcn.0043d950
mov edx, dword [0x8cc7c4]
test eax, eax
jne 0x440802
cmp dword [edx + 0x70], 1
jne 0x440802
mov dword [edx + 0x74], 1
xorps xmm0, xmm0
mov eax, dword [0x8cc7c4]
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.0052450f
mov esp, ebp
pop ebp
ret
test esi, esi
jle 0x44084a
test eax, eax
jle 0x44084a
cmp dword [edx + 0x70], 1
jne 0x44081e
cmp dword [edx + 0x74], ebx
je 0x44081e
mov dword [edx + 0x74], ebx
mov edx, dword [0x8cc7c4]
cmp esi, dword [edx + 0x40]
je 0x440828
mov ebx, 1
mov dword [edx + 0x40], esi
mov ecx, dword [0x8cc7c4]
cmp eax, dword [ecx + 0x44]
mov dword [ecx + 0x44], eax
jne 0x44083d
test ebx, ebx
je 0x440844
mov ecx, edi
call fcn.0043ebc0
mov edx, dword [0x8cc7c4]
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.0043e680
mov edx, dword [0x8cc7c4]
add esp, 4
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.0043e7c0
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 [0x8cc7c4]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x44]
test ecx, ecx
jne 0x4408a3
xor eax, eax
jmp 0x4408a6
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x4408b9
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4408b9
cmp dword [eax], 3
je 0x4408f5
test ecx, ecx
jne 0x4408c1
xor eax, eax
jmp 0x4408c4
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x4408d7
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4408d7
cmp dword [eax], 2
je 0x4408f5
test ecx, ecx
jne 0x4408df
xor eax, eax
jmp 0x4408e2
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x4408fe
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4408fe
cmp dword [eax], 4
jne 0x4408fe
cmp dword [esi + 0xd4], 1
je 0x440925
test ecx, ecx
jne 0x440906
xor eax, eax
jmp 0x440909
mov eax, dword [ecx + 8]
cmp edx, eax
jge 0x44096c
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x44096c
cmp dword [eax], 5
jne 0x44096c
cmp dword [esi + 0xd4], 3
jne 0x44096c
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 [0x8cc7c4]
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.0052450f
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.0052450f
mov esp, ebp
pop ebp
ret