Function at 0x43a740
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43a9eb
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004b493e
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
lea ecx, [ebp - 0x210]
mov edx, 0x4da324
mov si, word [ecx]
cmp si, word [edx]
jne 0x43a7cd
test si, si
je 0x43a7c9
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x43a7cd
add ecx, 4
add edx, 4
test ax, ax
jne 0x43a7a7
xor eax, eax
jmp 0x43a7d2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43a7de
test ebx, 0x2000
je 0x43a83d
mov ecx, 0x4da334
lea eax, [ebp - 0x210]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43a816
test dx, dx
je 0x43a812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43a816
add eax, 4
add ecx, 4
test dx, dx
jne 0x43a7f0
xor eax, eax
jmp 0x43a81b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43a9eb
test bl, 0xb
jne 0x43a83d
test bl, 0xc
je 0x43a9eb
test ebx, 0xe000
jne 0x43a9eb
xorps xmm0, xmm0
mov dword [ebp - 0x468], 0x3c
lea eax, [ebp - 0x468]
movlpd qword [ebp - 0x464], xmm0
push eax
push edi
movlpd qword [ebp - 0x45c], xmm0
movlpd qword [ebp - 0x454], xmm0
movlpd qword [ebp - 0x44c], xmm0
movlpd qword [ebp - 0x444], xmm0
movlpd qword [ebp - 0x43c], xmm0
movlpd qword [ebp - 0x434], xmm0
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov eax, dword [ebp - 0x438]
mov ecx, 0x4da324
lea esi, [eax + eax]
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43a8ca
test dx, dx
je 0x43a8c6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43a8ca
add eax, 4
add ecx, 4
test dx, dx
jne 0x43a8a4
xor ecx, ecx
jmp 0x43a8cf
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x43a8e2
mov eax, ebx
and eax, 0xf
je 0x43a8df
cmp eax, 1
jne 0x43a8e2
add esi, 0xa
mov eax, dword [ebp - 0x454]
sub eax, dword [ebp - 0x44c]
sub eax, dword [ebp - 0x464]
add eax, dword [ebp - 0x45c]
add esi, eax
test ecx, ecx
jne 0x43a93d
and ebx, 0xf
cmp ebx, 2
je 0x43a917
cmp ebx, 3
je 0x43a917
cmp ebx, 4
je 0x43a917
cmp ebx, 9
jne 0x43a93d
lea eax, [ebp - 0x42c]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x42c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x420]
sub eax, dword [ebp - 0x428]
add esi, eax
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
je 0x43a9d8
push 0x5c
lea eax, [ebp - 0x4c4]
push 0
push eax
call fcn.004b493e
add esp, 0xc
lea eax, [ebp - 0x4c4]
push eax
push 0x5c
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004b493e
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x41c], 0
je 0x43a9d8
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebx, eax
test ebx, ebx
je 0x43a9d8
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x4c4]
push eax
push ebx
call fcn.004a8004
add esp, 0xc
add esi, eax
push ebx
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret