Function at 0x4cdbc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
cmp esi, dword [ebp + 0x1c]
je 0x4cde1c
movd xmm1, dword [ebp + 0x20]
mov edx, dword [ebp + 8]
cvtdq2pd xmm1, xmm1
movsd qword [ebp - 0x18], xmm1
test edx, edx
jne 0x4cdbf0
xor eax, eax
jmp 0x4cdbf2
mov eax, dword [edx]
mov ecx, dword [eax + 8]
movaps xmm0, xmm1
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
subsd xmm0, qword [eax]
movsd qword [ebp - 0x10], xmm0
test edx, edx
jne 0x4cdc12
xor eax, eax
jmp 0x4cdc14
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
movsd qword [eax], xmm1
mov eax, dword [ebp + 8]
test eax, eax
je 0x4cdc2d
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x24], 0xd
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 8]
push eax
mov dword [ebp - 0x2c], eax
call ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
push ecx
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x20]
sub esp, 0xc
add ecx, 5
add eax, ecx
mov ecx, esp
mov dword [ebp + 0x20], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4cdc93
mov eax, dword [eax]
test eax, eax
je 0x4cdc93
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
sub esp, 0xc
mov dword [ecx + 8], eax
mov ecx, esp
inc dword [ebp + 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4cdcbf
mov eax, dword [eax]
test eax, eax
je 0x4cdcbf
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov ecx, edi
call fcn.004e86a0
sub dword [ebp + 0x24], eax
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x1c]
je 0x4cde1c
mov esi, dword [ebp + 8]
nop
test esi, esi
jne 0x4cdce8
xor eax, eax
jmp 0x4cdcea
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
movsd xmm0, qword [eax]
test esi, esi
jne 0x4cdd02
xor eax, eax
jmp 0x4cdd04
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
addsd xmm0, qword [ebp - 0x10]
and ecx, edx
mov eax, dword [eax + ecx*4]
movsd qword [eax], xmm0
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4cdd24
xor eax, eax
jmp 0x4cdd26
mov eax, dword [edx]
mov ecx, dword [eax + 8]
lea esi, [ebp - 0x28]
mov eax, dword [eax + 4]
dec ecx
mov edi, dword [ebp + 0x10]
and ecx, edi
movss xmm0, dword [ebp + 0x28]
movd xmm1, dword [ebp + 0x20]
cvtps2pd xmm0, xmm0
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x20]
movsd xmm2, qword [eax]
lea eax, [ebp - 8]
subsd xmm2, qword [ebp - 0x18]
cvtdq2pd xmm1, xmm1
mulsd xmm2, xmm0
movd xmm0, dword [ebp + 0x24]
cvtdq2pd xmm0, xmm0
addsd xmm2, qword [ebp - 0x18]
movsd qword [ebp - 0x20], xmm0
movsd qword [ebp - 0x28], xmm1
comisd xmm0, xmm2
movsd qword [ebp - 8], xmm2
cmovbe eax, ecx
movsd xmm0, qword [eax]
comisd xmm0, xmm1
cmova esi, eax
test edx, edx
jne 0x4cdd93
xor eax, eax
jmp 0x4cdd95
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
movsd xmm0, qword [esi]
and ecx, edi
mov eax, dword [eax + ecx*4]
movsd qword [eax], xmm0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4cddb2
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], 0xd
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 8]
push eax
mov dword [ebp - 0x38], eax
call ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], eax
push ecx
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp + 8]
lea edi, [eax + 5]
add dword [ebp + 0x24], edi
test esi, esi
jne 0x4cddf5
xor eax, eax
jmp 0x4cddf7
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
mov edx, dword [ebp + 0x10]
and ecx, edx
inc edx
mov eax, dword [eax + ecx*4]
cvttsd2si eax, qword [eax]
mov dword [ebp + 0x10], edx
add eax, edi
mov dword [ebp + 0x20], eax
cmp edx, dword [ebp + 0x1c]
jne 0x4cdce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24