Function at 0x4f8740
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 0x20
push edi
je 0x4f8b5b
mov eax, dword [esi + 0x23c]
test eax, eax
jne 0x4f894c
lea eax, [esp + 0x10]
test eax, eax
je 0x4f879a
mov ecx, dword [esi + 0x258]
mov edx, dword [esi + 0x25c]
mov eax, dword [esi + 0x260]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x264]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x3dc]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x28
lea edx, [esp + 0x84]
push edx
push eax
call edi
fld dword [esp + 0x18]
fmul dword [0x5e9648]
sub esp, 8
fadd qword [0x5d8c68]
fstp qword [esp]
call dword [0x5d24ec]
call fcn.005c4484
push eax
lea ecx, [esp + 0x3c]
push 0x5eb980
push ecx
call sym.vidcap60.exe_SfPrintF
mov ebx, dword [0x5d24c4]
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x48]
push eax
call ebx
add esp, 0x1c
test eax, eax
je 0x4f8824
mov ecx, dword [esi + 0x3dc]
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x4f8824
lea edx, [esp + 0x30]
push edx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x3e0]
push 0x28
lea eax, [esp + 0x84]
push eax
push ecx
call edi
fld dword [esp + 0x14]
fmul dword [0x5e9648]
sub esp, 8
fadd qword [0x5d8c68]
fstp qword [esp]
call dword [0x5d24ec]
call fcn.005c4484
push eax
lea edx, [esp + 0x3c]
push 0x5eb980
push edx
call sym.vidcap60.exe_SfPrintF
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x48]
push ecx
call ebx
add esp, 0x1c
test eax, eax
je 0x4f88a2
mov edx, dword [esi + 0x3e0]
mov dword [esp + 0xc], edx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x4f88a2
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x3e4]
push 0x28
lea ecx, [esp + 0x84]
push ecx
push edx
call edi
fld dword [esp + 0x10]
fmul dword [0x5e9648]
sub esp, 8
fadd qword [0x5d8c68]
fstp qword [esp]
call dword [0x5d24ec]
call fcn.005c4484
push eax
lea eax, [esp + 0x3c]
push 0x5eb980
push eax
call sym.vidcap60.exe_SfPrintF
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x48]
push edx
call ebx
add esp, 0x1c
test eax, eax
je 0x4f8920
mov eax, dword [esi + 0x3e4]
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x4f8920
lea edx, [esp + 0x30]
push edx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
test byte [esi + 4], 2
je 0x4f8b5b
mov ecx, dword [esi + 0x3e8]
push 0x28
lea eax, [esp + 0x84]
push eax
push ecx
call edi
fld dword [esp + 0x1c]
fmul dword [0x5e9648]
jmp 0x4f8b02
push 0
push esi
lea eax, [esp + 0x18]
push eax
call fcn.004f6000
mov edx, dword [esi + 0x3dc]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x28
lea ecx, [esp + 0x84]
push ecx
push edx
call edi
fld qword [esp + 0x10]
fmul qword [0x5e9640]
sub esp, 8
fadd qword [0x5d8c68]
fstp qword [esp]
call dword [0x5d24ec]
call fcn.005c4484
push eax
lea eax, [esp + 0x3c]
push 0x5eb980
push eax
call sym.vidcap60.exe_SfPrintF
mov ebx, dword [0x5d24c4]
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x48]
push edx
call ebx
add esp, 0x1c
test eax, eax
je 0x4f89e3
mov eax, dword [esi + 0x3dc]
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x4f89e3
lea edx, [esp + 0x30]
push edx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x3e0]
push 0x28
lea eax, [esp + 0x84]
push eax
push ecx
call edi
fld qword [esp + 0x18]
fmul qword [0x5e9640]
sub esp, 8
fadd qword [0x5d8c68]
fstp qword [esp]
call dword [0x5d24ec]
call fcn.005c4484
push eax
lea edx, [esp + 0x3c]
push 0x5eb980
push edx
call sym.vidcap60.exe_SfPrintF
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x48]
push ecx
call ebx
add esp, 0x1c
test eax, eax
je 0x4f8a61
mov edx, dword [esi + 0x3e0]
mov dword [esp + 0xc], edx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x4f8a61
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x3e4]
push 0x28
lea ecx, [esp + 0x84]
push ecx
push edx
call edi
fld qword [esp + 0x20]
fmul qword [0x5e9640]
sub esp, 8
fadd qword [0x5d8c68]
fstp qword [esp]
call dword [0x5d24ec]
call fcn.005c4484
push eax
lea eax, [esp + 0x3c]
push 0x5eb980
push eax
call sym.vidcap60.exe_SfPrintF
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x48]
push edx
call ebx
add esp, 0x1c
test eax, eax
je 0x4f8adf
mov eax, dword [esi + 0x3e4]
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
je 0x4f8adf
lea edx, [esp + 0x30]
push edx
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
test byte [esi + 4], 2
je 0x4f8b5b
mov ecx, dword [esi + 0x3e8]
push 0x28
lea eax, [esp + 0x84]
push eax
push ecx
call edi
fld qword [esp + 0x28]
fmul qword [0x5e9640]
fadd qword [0x5d8c68]
sub esp, 8
fstp qword [esp]
call dword [0x5d24ec]
call fcn.005c4484
push eax
lea edx, [esp + 0x3c]
push 0x5eb980
push edx
call sym.vidcap60.exe_SfPrintF
lea eax, [esp + 0x94]
lea ecx, [esp + 0x44]
push eax
push ecx
call ebx
add esp, 0x1c
test eax, eax
je 0x4f8b5b
mov esi, dword [esi + 0x3e8]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
je 0x4f8b5b
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4