Function at 0x4c4280
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x21c], ecx
push 0x3f1
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call fcn.00471a40
test eax, eax
je 0x4c42d4
mov eax, dword [ebp - 0x21c]
movzx ecx, byte [eax + 0x59]
test ecx, ecx
jne 0x4c42d2
push 1
call fcn.004c4540
add esp, 4
mov edx, dword [ebp - 0x21c]
mov byte [edx + 0x59], 1
jmp 0x4c42f6
mov eax, dword [ebp - 0x21c]
movzx ecx, byte [eax + 0x59]
test ecx, ecx
je 0x4c42f6
push 0
call fcn.004c4540
add esp, 4
mov edx, dword [ebp - 0x21c]
mov byte [edx + 0x59], 0
mov eax, dword [ebp - 0x21c]
mov cl, byte [eax + 0x59]
mov byte [0x5e1951], cl
push 0x3eb
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call fcn.00471a40
test eax, eax
je 0x4c433b
mov edx, dword [ebp - 0x21c]
movzx eax, byte [edx + 0x58]
test eax, eax
jne 0x4c4339
call fcn.004c4150
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x58], 1
jmp 0x4c4358
mov edx, dword [ebp - 0x21c]
movzx eax, byte [edx + 0x58]
test eax, eax
je 0x4c4358
call fcn.004c4230
mov ecx, dword [ebp - 0x21c]
mov byte [ecx + 0x58], 0
mov edx, dword [ebp - 0x21c]
mov al, byte [edx + 0x58]
mov byte [0x5e1950], al
mov ecx, dword [ebp - 0x21c]
mov edx, dword [0x5e1954]
mov dword [ecx + 0x5c], edx
push 0x3f2
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call fcn.00465e30
mov ecx, eax
call fcn.00401050
push eax
lea ecx, [ebp - 4]
call fcn.0046e690
mov ecx, dword [0x59a328]
mov dword [ebp - 0x210], ecx
push 0x204
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.005533a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x21c]
add eax, 0x62
push eax
call fcn.00554863
add esp, 8
test eax, eax
je 0x4c4429
lea ecx, [ebp - 0x210]
push ecx
push 0x5e195a
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.004e15c0
test eax, eax
je 0x4c4429
push 0
lea edx, [ebp - 0x210]
push edx
push 0x7f6
call fcn.004e15c0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x214], 0
push 0x3ef
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call fcn.00471a40
test eax, eax
je 0x4c4456
mov dword [ebp - 0x214], 0
jmp 0x4c44a6
push 0x3f0
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call fcn.00471a40
test eax, eax
je 0x4c4479
mov dword [ebp - 0x214], 1
jmp 0x4c44a6
push 0x3ed
mov ecx, dword [ebp - 0x21c]
add ecx, 4
call fcn.00471a40
test eax, eax
je 0x4c449c
mov dword [ebp - 0x214], 2
jmp 0x4c44a6
mov dword [ebp - 0x214], 3
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x214]
mov dword [eax + 0x278], ecx
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [edx + 0x278]
cmp ecx, dword [eax + 0x54]
je 0x4c44eb
push 0
mov edx, dword [ebp - 0x214]
push edx
push 0x7f5
mov eax, dword [0x5e24a8]
push eax
call fcn.004c56b0
add esp, 0x10
mov ecx, dword [ebp - 0x21c]
movzx edx, byte [ecx + 0x27c]
test edx, edx
je 0x4c4527
push 0
push 0
push 0x7ea
mov eax, dword [0x5e24a4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x7ea
mov ecx, dword [0x5e24a8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret