Function at 0x4eaa60
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1058
call fcn.005c4400
push ebx
mov ebx, dword [esp + 0x1060]
mov ecx, dword [ebx + 0xc4]
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x234]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [0x5d2618]
push 0x104
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x30]
push eax
call edi
xor ebp, ebp
lea ecx, [esp + 0x34]
add esp, 0xc
test ecx, ecx
mov word [esp + 0x22e], bp
je 0x4eaaca
mov edx, ecx
push edx
call dword [0x5d2620]
add esp, 4
lea eax, [esp + 0x230]
push eax
call fcn.004ecbd0
mov ecx, dword [0x621c80]
push 0xbce2
push ecx
call sym.vidcap60.exe__SfGetString_8
mov esi, dword [0x5d24c4]
push eax
lea edx, [esp + 0x234]
push edx
call esi
add esp, 8
test eax, eax
jne 0x4eab0a
push 0xbce3
jmp 0x4eac16
mov edx, dword [0x621c80]
push 0xbcea
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
lea eax, [esp + 0x234]
push eax
call esi
add esp, 8
test eax, eax
jne 0x4eab5c
mov ecx, dword [0x621c80]
push 0xbce5
push ecx
call sym.vidcap60.exe__SfGetString_8
mov edx, dword [ebx + 0x48]
push eax
push 0x30
push edx
call sym.vidcap60.exe_SfMsgBox
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1058
ret 4
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x38]
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, ebp
jle 0x4eabe7
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push 0x104
lea edx, [esp + 0x644]
push edx
push esi
push eax
call dword [ecx + 0x3c]
push 0x104
lea eax, [esp + 0x644]
push eax
lea ecx, [esp + 0xa58]
push ecx
call edi
lea edx, [esp + 0xa5c]
add esp, 0xc
test edx, edx
mov word [esp + 0xc56], bp
je 0x4eabc4
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x644]
push edx
call dword [0x5d24c4]
add esp, 8
test eax, eax
je 0x4eac3f
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x4eab74
lea eax, [esp + 0x230]
push eax
call sym.vidcap60.exe__SfStripWhiteSpace_4
lea ecx, [esp + 0x230]
test ecx, ecx
je 0x4eac11
mov esi, dword [0x5d2620]
mov edx, ecx
push edx
call esi
add esp, 4
cmp eax, ebp
jne 0x4eac76
push 0xbce8
mov eax, dword [0x621c80]
push eax
call sym.vidcap60.exe__SfGetString_8
mov ecx, dword [ebx + 0x48]
push eax
push 0x30
push ecx
call sym.vidcap60.exe_SfMsgBox
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1058
ret 4
mov ecx, dword [0x621c80]
lea eax, [esp + 0xa50]
push eax
push 0xbce4
push ecx
call sym.vidcap60.exe__SfGetString_8
mov edx, dword [ebx + 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, 0x1058
ret 4
mov eax, dword [ebx + 0xd8]
push 0x104
lea edx, [esp + 0xe64]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x104
lea ecx, [esp + 0xe64]
push ecx
lea edx, [esp + 0x30]
push edx
call edi
lea eax, [esp + 0x34]
add esp, 0xc
test eax, eax
mov word [esp + 0x22e], bp
je 0x4eacbf
mov ecx, eax
push ecx
call esi
add esp, 4
mov eax, dword [ebx + 8]
mov edx, dword [eax]
push 0x104
lea ecx, [esp + 0x644]
push ecx
mov ecx, dword [ebx + 0x24]
push ecx
mov ecx, dword [ebx + 0x1c]
push ecx
push eax
call dword [edx + 0x84]
lea edx, [esp + 0x640]
push edx
lea eax, [esp + 0x2c]
push eax
call dword [0x5d24c4]
mov edx, dword [ebx + 0xc4]
add esp, 8
mov esi, eax
neg esi
push 0x104
lea ecx, [esp + 0x234]
sbb esi, esi
push ecx
inc esi
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x104
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x30]
push ecx
call edi
lea edx, [esp + 0x34]
add esp, 0xc
test edx, edx
mov word [esp + 0x22e], bp
je 0x4ead4e
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
lea ecx, [esp + 0x230]
push ecx
call fcn.004ecbd0
mov eax, dword [ebx + 8]
mov edx, dword [eax]
push 0x104
lea ecx, [esp + 0x644]
push ecx
mov ecx, dword [ebx + 0x24]
push ecx
mov ecx, dword [ebx + 0x1c]
push ecx
push eax
call dword [edx + 0x80]
lea edx, [esp + 0x640]
push edx
lea eax, [esp + 0x2c]
push eax
call dword [0x5d24c4]
add esp, 8
mov ebp, eax
mov eax, dword [ebx + 0xc]
neg ebp
sbb ebp, ebp
inc ebp
test eax, eax
mov dword [esp + 0x1c], 1
je 0x4eae4e
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x10], ecx
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebx + 0x14]
push ecx
push eax
call dword [edx + 0x20]
mov edx, dword [esp + 0x10]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4eae4e
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
lea esi, [esp + 0x10]
push esi
push eax
lea eax, [esp + 0x238]
push eax
mov eax, dword [ebx + 4]
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
jge 0x4eae0e
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
mov edx, esi
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
call dword [ecx + 0x2c]
mov ecx, dword [esp + 0x10]
mov esi, dword [ebx + 0x14]
mov edi, dword [esp + 0x18]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov edx, eax
sete dl
push esi
mov dword [esp + 0x20], edx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [0x5d2618]
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x6c]
imul eax, eax, 0x3c
mov eax, dword [eax + ecx + 0x20]
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
cmp eax, 1
jne 0x4eae8c
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x5c]
cmp eax, 1
jne 0x4eae8c
test ebp, ebp
je 0x4eae8c
test esi, esi
je 0x4eae8c
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4eac30
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
mov edx, dword [ebx + 0x1c]
push edx
push eax
call dword [ecx + 0x78]
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x20]
jae 0x4eb00d
lea esp, [esp]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
push 0x104
lea edx, [esp + 0xc5c]
push edx
mov edx, dword [ebx + 0x1c]
push esi
push edx
push eax
call dword [ecx + 0x80]
push 0x104
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x850]
push ecx
call edi
xor ebp, ebp
lea edx, [esp + 0x854]
add esp, 0xc
test edx, edx
mov word [esp + 0xa4e], bp
je 0x4eaf06
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
push 0x104
lea ecx, [esp + 0xc5c]
push ecx
lea edx, [esp + 0x440]
push edx
call edi
lea eax, [esp + 0x444]
add esp, 0xc
test eax, eax
mov word [esp + 0x63e], bp
je 0x4eaf3f
mov ecx, eax
push ecx
call dword [0x5d2620]
add esp, 4
push 1
lea edx, [esp + 0x84c]
push edx
call sym.vidcap60.exe__SfValidateFileName_8
push 1
lea eax, [esp + 0x43c]
push eax
call sym.vidcap60.exe__SfValidateFileName_8
lea ecx, [esp + 0x438]
push ecx
lea edx, [esp + 0x84c]
push edx
call dword [0x5d24c4]
add esp, 8
test eax, eax
je 0x4eaf8c
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x4eaeb0
jmp 0x4eb00f
push 0x104
lea eax, [esp + 0xc5c]
push eax
lea ecx, [esp + 0x440]
push ecx
call edi
lea edx, [esp + 0x444]
add esp, 0xc
test edx, edx
mov word [esp + 0x63e], bp
je 0x4eafc5
mov eax, edx
push eax
call dword [0x5d2620]
add esp, 4
mov edx, dword [0x621c80]
lea ecx, [esp + 0x438]
push ecx
push 0xbcec
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
mov eax, dword [ebx + 0x48]
push 0x21
push eax
call sym.vidcap60.exe_SfMsgBox
add esp, 0x10
cmp eax, 2
je 0x4eac30
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x230]
push edx
mov edx, dword [ebx + 4]
push edx
push eax
call dword [ecx + 0x68]
jmp 0x4eb00f
xor ebp, ebp
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x6c]
imul eax, eax, 0x3c
mov eax, dword [eax + ecx + 0x20]
mov edx, dword [eax]
push eax
call dword [edx + 0x2c]
test eax, eax
jl 0x4eb122
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
call dword [ecx + 0x60]
mov esi, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x234]
push eax
add esi, 0x14
push esi
call edi
add esp, 0xc
cmp esi, ebp
mov word [esi + 0x206], bp
je 0x4eb067
push esi
call dword [0x5d2620]
add esp, 4
mov esi, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0xe64]
push ecx
add esi, 0x21c
push esi
call edi
add esp, 0xc
cmp esi, ebp
mov word [esi + 0x206], bp
je 0x4eb099
push esi
call dword [0x5d2620]
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x64]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x68]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov edx, dword [eax]
push 1
push ebp
push ecx
push eax
call dword [edx + 0x6c]
mov eax, dword [ebx + 0xc]
cmp eax, ebp
je 0x4eb0ef
mov ecx, dword [ebx + 0x14]
mov edx, dword [eax]
lea esi, [ebx + 0x18]
push esi
push ecx
push eax
call dword [edx + 0x20]
mov ecx, dword [esi]
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
push ecx
mov ecx, dword [ebx + 0x14]
push ecx
mov ecx, dword [ebx + 4]
push ebp
push ecx
push eax
call dword [edx + 0x10]
mov edx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x6c]
imul edx, edx, 0x3c
mov eax, dword [edx + eax + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x18]
lea esi, [ebx + 0x24]
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebx + 4]
add eax, 0x18
push ecx
push eax
call dword [edx + 0x10]
test eax, eax
jge 0x4eb122
mov dword [esi], ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1058
ret 4