Function at 0x4a3980
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fd57
mov eax, dword fs:[0]
push eax
mov eax, 0x106c
call fcn.004d63e0
mov eax, dword [0x57b0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x1038], edi
mov esi, ecx
mov dword [ebp - 0x103c], esi
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x1040], eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x1034], eax
test eax, eax
je 0x4a3e76
nop word [eax + eax]
push 0x400
lea ecx, [ebp - 0x1010]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x4a3a0d
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004d6b4b
add esp, 8
test eax, eax
je 0x4a3e56
mov esi, dword [ebp - 0x1034]
lea eax, [ebp - 0x810]
push 0x400
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x4a3a48
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.004d6b4b
add esp, 8
test eax, eax
je 0x4a3e50
cmp dword [edi + 0x10], 0
jne 0x4a3d86
xorps xmm0, xmm0
mov dword [ebp - 0x1018], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x1014], 0
movups xmmword [ebp - 0x1028], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a3a91
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1028]
call fcn.0040d160
mov dword [ebp - 4], 0
mov edx, edi
mov ecx, dword [ebp - 0x1030]
or ecx, 1
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x1030], ecx
mov dword [ebp - 0x1040], ecx
jbe 0x4a3ad9
mov edx, dword [edi]
cmp dword [ebp - 0x1014], 7
lea edi, [ebp - 0x1028]
mov eax, dword [ebp - 0x1028]
mov esi, dword [ebp - 0x1018]
cmova edi, eax
mov dword [ebp - 0x1044], eax
mov eax, dword [ebp - 0x1038]
cmp esi, dword [eax + 0x10]
jne 0x4a3b9c
test esi, esi
je 0x4a3b24
sub edi, edx
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x4a3b96
add edx, 2
sub esi, 1
jne 0x4a3b10
push 0xfffffffffffffff0
push dword [ebp - 0x1034]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, eax
lea ecx, [ebp - 0x1060]
call fcn.0040d210
mov ecx, dword [ebp - 0x1030]
mov edi, eax
mov eax, dword [ebp + 8]
or ecx, 2
mov dword [ebp - 0x1030], ecx
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x4a3b5d
mov edx, dword [eax]
cmp dword [edi + 0x14], 7
mov esi, dword [edi + 0x10]
jbe 0x4a3b68
mov edi, dword [edi]
cmp esi, dword [eax + 0x10]
jne 0x4a3b9c
test esi, esi
je 0x4a3b8d
sub edi, edx
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x4a3b96
add edx, 2
sub esi, 1
jne 0x4a3b73
mov ecx, dword [ebp - 0x1030]
mov byte [ebp - 0x1029], 1
jmp 0x4a3ba3
mov ecx, dword [ebp - 0x1030]
mov byte [ebp - 0x1029], 0
test cl, 2
je 0x4a3c14
and ecx, 0xfffffffd
mov dword [ebp - 0x1030], ecx
mov ecx, dword [ebp - 0x104c]
cmp ecx, 7
jbe 0x4a3bf1
mov edx, dword [ebp - 0x1060]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a3be7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3e93
push ecx
push edx
call fcn.004d54f1
add esp, 8
mov ecx, dword [ebp - 0x1030]
xor eax, eax
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 7
mov word [ebp - 0x1060], ax
mov dword [ebp - 4], 0xffffffff
test cl, 1
je 0x4a3c69
mov eax, dword [ebp - 0x1014]
and ecx, 0xfffffffe
mov dword [ebp - 0x1030], ecx
cmp eax, 7
jbe 0x4a3c69
mov edx, dword [ebp - 0x1044]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a3c5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3e93
push ecx
push edx
call fcn.004d54f1
add esp, 8
cmp byte [ebp - 0x1029], 0
je 0x4a3e4a
cmp dword [ebp + 0xc], 0
je 0x4a3d7b
cmp dword [ebp + 0x10], 0
je 0x4a3d7b
push 0x10
lea eax, [ebp - 0x1020]
xorps xmm0, xmm0
push eax
push 9
push dword [ebp - 0x1034]
movups xmmword [ebp - 0x1020], xmm0
call dword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
mov eax, dword [ebp - 0x1018]
sub eax, dword [ebp - 0x1020]
mov dword [ebp - 0x1040], eax
mov eax, dword [ebp - 0x1014]
sub eax, dword [ebp - 0x101c]
push 0
mov dword [ebp - 0x1048], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
mov dword [ebp - 0x1044], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push dword [ebp - 0x1044]
mov esi, eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [esi + edi]
movd xmm0, dword [ebp + 0xc]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss xmm3, dword [0x561650]
mulss xmm2, dword [0x5610d8]
movss xmm4, dword [0x5610e4]
cvtdq2ps xmm1, xmm0
divss xmm2, dword [0x5613bc]
movd xmm0, dword [ebp - 0x1040]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm2
subss xmm1, xmm0
andps xmm1, xmm3
comiss xmm4, xmm1
jb 0x4a3e4a
movd xmm0, dword [ebp + 0x10]
cvtdq2ps xmm1, xmm0
movd xmm0, dword [ebp - 0x1048]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm2
subss xmm1, xmm0
andps xmm1, xmm3
comiss xmm4, xmm1
jb 0x4a3e4a
mov eax, dword [ebp - 0x1034]
jmp 0x4a3e78
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, eax
lea ecx, [ebp - 0x1078]
call fcn.0040d210
mov edi, eax
mov eax, dword [ebp + 8]
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x4a3dab
mov edx, dword [eax]
cmp dword [edi + 0x14], 7
mov esi, dword [edi + 0x10]
jbe 0x4a3db6
mov edi, dword [edi]
cmp esi, dword [eax + 0x10]
jne 0x4a3dde
test esi, esi
je 0x4a3dd5
sub edi, edx
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x4a3dde
add edx, 2
sub esi, 1
jne 0x4a3dc1
mov byte [ebp - 0x1029], 1
jmp 0x4a3de5
mov byte [ebp - 0x1029], 0
mov ecx, dword [ebp - 0x1064]
cmp ecx, 7
jbe 0x4a3e21
mov edx, dword [ebp - 0x1078]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a3e17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3e93
push ecx
push edx
call fcn.004d54f1
add esp, 8
xor eax, eax
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 7
mov word [ebp - 0x1078], ax
cmp byte [ebp - 0x1029], al
jne 0x4a3d7b
mov edi, dword [ebp - 0x1038]
mov esi, dword [ebp - 0x103c]
push 0
push 0
push dword [ebp - 0x1034]
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x1034], eax
test eax, eax
jne 0x4a39f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d523a
mov esp, ebp
pop ebp
ret
call fcn.004deff4
int3