Function at 0x4eb140
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x824
push ebx
push ebp
push esi
mov esi, dword [esp + 0x834]
mov ecx, dword [esi + 0xc4]
push edi
push 0x104
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [0x5d2618]
push 0x104
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x224]
push eax
call ebx
xor ebp, ebp
lea ecx, [esp + 0x228]
add esp, 0xc
test ecx, ecx
mov word [esp + 0x422], bp
je 0x4eb1a6
mov edx, ecx
push edx
call dword [0x5d2620]
add esp, 4
mov eax, dword [0x621c80]
push 0xbce2
push eax
call sym.vidcap60.exe__SfGetString_8
mov edi, dword [0x5d24c4]
push eax
lea ecx, [esp + 0x18]
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4eb1fa
mov edx, dword [0x621c80]
push 0xbce6
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
mov eax, dword [esi + 0x48]
push 0x30
push eax
call sym.vidcap60.exe_SfMsgBox
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x824
ret 4
mov ecx, dword [0x621c80]
push 0xbcea
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
lea edx, [esp + 0x18]
push edx
call edi
add esp, 8
test eax, eax
jne 0x4eb24e
lea eax, [esp + 0x14]
mov ecx, dword [0x621c80]
push eax
push 0xbce7
push ecx
call sym.vidcap60.exe__SfGetString_8
mov edx, dword [esi + 0x48]
push eax
push 0x30
push edx
call sym.vidcap60.exe_SfMsgBox
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x824
ret 4
mov eax, dword [esi + 4]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
call dword [ecx + 0x38]
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, ebp
jl 0x4eb2dc
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push 0x104
lea edx, [esp + 0x630]
push edx
push edi
push eax
call dword [ecx + 0x3c]
push 0x104
lea eax, [esp + 0x630]
push eax
lea ecx, [esp + 0x42c]
push ecx
call ebx
lea edx, [esp + 0x430]
add esp, 0xc
test edx, edx
mov word [esp + 0x62a], bp
je 0x4eb2b6
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x630]
push edx
call dword [0x5d24c4]
add esp, 8
test eax, eax
je 0x4eb319
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jle 0x4eb266
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esi + 4]
push edx
push eax
call dword [ecx + 0x68]
mov edi, eax
cmp edi, ebp
jl 0x4eb30a
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x4eb30a
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esi + 4]
push edx
push eax
call dword [ecx + 0x14]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
cmp ecx, eax
jne 0x4eb325
mov dword [esi + 0x28], ebp
jmp 0x4eb32b
lea eax, [esp + 0x424]
jmp 0x4eb21e
jae 0x4eb32b
dec eax
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 8]
push ebp
push edx
mov dword [esi + 0x24], ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 0x7c]
mov eax, dword [esi + 0xc4]
push ebp
push ebp
push 0x14e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0xc], ebp
je 0x4eb35b
push esi
call fcn.004ea8f0
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x6c]
imul ecx, ecx, 0x3c
mov eax, dword [ecx + edx + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
xor eax, eax
cmp edi, ebp
pop edi
pop esi
pop ebp
setge al
pop ebx
add esp, 0x824
ret 4