Function at 0x4ccaf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56695f
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x5bf500]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x1f4], edi
mov edx, ecx
mov dword [ebp - 0x1f8], edx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1e0], edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1f0], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 4], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
push 0
push 0x584694
mov ecx, eax
call fcn.004027f0
cmp esi, eax
je 0x4ccbaa
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402660
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x1e4], eax
test eax, eax
je 0x4cd556
push 0x50
lea ecx, [ebp - 0xbc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x58d0e4
lea ecx, [ebp - 0x1a4]
call fcn.00403ff0
mov byte [ebp - 4], 1
push str.Chrome_WidgetWin_
lea eax, [ebp - 0xbc]
push eax
call fcn.005226a2
add esp, 8
lea ecx, [ebp - 0xbc]
cmp eax, ecx
jne 0x4ccc14
push 6
push str.Chrome
lea ecx, [ebp - 0x1a4]
call fcn.00404140
jmp 0x4ccc42
push str.YandexBrowser_WidgetWin_
lea eax, [ebp - 0xbc]
push eax
call fcn.005226a2
add esp, 8
lea ecx, [ebp - 0xbc]
cmp eax, ecx
jne 0x4ccc42
push str.YandexBrowser
lea ecx, [ebp - 0x1a4]
call fcn.0041dbe0
cmp dword [ebp - 0x194], 0
jbe 0x4cd522
xor edi, edi
xor esi, esi
push str._WidgetWin_0
lea edx, [ebp - 0x1a4]
lea ecx, [ebp - 0x174]
call fcn.0041dc90
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x174]
cmp dword [ebp - 0x160], 8
cmovae eax, dword [ebp - 0x174]
push 0
push eax
push edi
push dword [ebp - 0x1e4]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
je 0x4ccd84
push 0
lea eax, [ebp - 0xbc]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x4ccd4a
lea ecx, [ebp - 0x174]
cmp dword [ebp - 0x160], 8
cmovae ecx, dword [ebp - 0x174]
lea eax, [ebp - 0xbc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4cccfa
test dx, dx
je 0x4cccf6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4cccfa
add eax, 4
add ecx, 4
test dx, dx
jne 0x4cccd4
xor eax, eax
jmp 0x4cccff
sbb eax, eax
or eax, 1
test eax, eax
je 0x4ccd84
lea ecx, [ebp - 0x174]
cmp dword [ebp - 0x160], 8
cmovae ecx, dword [ebp - 0x174]
lea edx, [ebp - 0xbc]
movzx eax, word [ecx]
mov word [edx], ax
lea ecx, [ecx + 2]
lea edx, [edx + 2]
test ax, ax
jne 0x4ccd21
push 0
lea eax, [ebp - 0xbc]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x4ccd84
mov byte [ebp - 4], 1
cmp dword [ebp - 0x160], 8
jb 0x4ccd65
push dword [ebp - 0x174]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x160], 7
mov dword [ebp - 0x164], 0
xor eax, eax
mov word [ebp - 0x174], ax
jmp 0x4ccdc4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x160], 8
jb 0x4ccd9f
push dword [ebp - 0x174]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x160], 7
mov dword [ebp - 0x164], 0
xor eax, eax
mov word [ebp - 0x174], ax
test edi, edi
jne 0x4ccc53
test esi, esi
je 0x4cd0ef
push 0
push str.ViewsTextfieldEdit
push 0
push esi
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
call edi
mov dword [ebp - 0x1d8], eax
test eax, eax
je 0x4cd522
push 0
push str.ViewsTextfieldEdit
push eax
push esi
call edi
mov dword [ebp - 0x1e4], eax
test eax, eax
je 0x4cd522
push 0
push str.Button
push eax
push esi
call edi
xor edi, edi
test eax, eax
je 0x4cce3a
push edi
push str.Button
push eax
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
push 0
push 0
push edi
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x4cd522
mov ecx, dword [ebp - 0x1ec]
mov dword [ecx], edi
mov edi, dword [ebp - 0x1d8]
cmp byte [ebp + 8], 0
jne 0x4cceba
lea eax, [ebp - 0x15c]
push eax
push 0x50
push 0xd
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x15c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cce70
sub ecx, edx
sar ecx, 1
jne 0x4cd03b
lea eax, [ebp - 0x15c]
push eax
push 0x50
push 0xd
push dword [ebp - 0x1e4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x15c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ccea5
sub ecx, edx
sar ecx, 1
jne 0x4cd03b
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x1f4]
mov dword [ecx], edi
mov dword [ebp - 0x1dc], 0
lea eax, [ebp - 0x1dc]
push eax
push 0x574260
push 0
push esi
call dword [sym.imp.OLEACC.dll_AccessibleObjectFromWindow]
test eax, eax
js 0x4cd0ca
cmp dword [ebp - 0x1dc], 0
je 0x4cd0ca
mov byte [0x644ecd], 0
mov eax, dword [ebp + 0x18]
mov byte [0x644ecf], al
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x178], 0xf
mov dword [ebp - 0x17c], 0
mov byte [ebp - 0x18c], 0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push 0
mov edx, dword [ebp - 0x1dc]
lea ecx, [ebp - 0x1d4]
call fcn.004cc170
add esp, 4
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x18c]
call fcn.00406f40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1d4]
call fcn.00402630
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x200]
jmp 0x4ccfa1
mov edi, dword [ebp - 0x1f0]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e0], esp
lea eax, [ebp - 0x18c]
push eax
call fcn.00406ee0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1d4]
call fcn.004cb4e0
add esp, 0x18
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.00406f40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1d4]
call fcn.00402630
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e0], esp
lea eax, [ebp + 0x1c]
push eax
call fcn.00406ee0
mov byte [ebp - 4], 9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e8], esp
push esi
call fcn.00406ee0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 3
call fcn.004cbf00
add esp, 0x30
test al, al
jne 0x4cd05e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.00402630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.004040c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.00402630
jmp 0x4cd580
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e0], esp
push esi
call fcn.00406ee0
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e8], esp
lea eax, [ebp - 0x18c]
push eax
call fcn.00406ee0
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1d4]
call fcn.004cb770
add esp, 0x30
mov byte [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.00406f40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1d4]
call fcn.00402630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.00402630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.004040c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.00402630
mov al, 1
jmp 0x4cd582
mov esi, dword [ebp - 0x1e4]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x1d8], ecx
xor edi, edi
mov dword [ebp - 0x1dc], edi
lea esi, [edi + 1]
xor edx, edx
test eax, eax
setne dl
inc edx
mov dword [ebp - 0x204], edx
cmp edx, esi
jl 0x4cd522
lea ebx, [ebx]
cmp esi, 2
jne 0x4cd149
test edi, edi
jne 0x4cd21e
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1d8], ecx
lea eax, [ebp - 0x1dc]
push eax
push 0x574260
push 0
push ecx
call dword [sym.imp.OLEACC.dll_AccessibleObjectFromWindow]
test eax, eax
js 0x4cd203
mov ecx, dword [ebp - 0x1dc]
test ecx, ecx
je 0x4cd203
xor edx, edx
call fcn.004cc4f0
mov edi, eax
test edi, edi
jne 0x4cd203
push str._WidgetWin_1
lea edx, [ebp - 0x1a4]
lea ecx, [ebp - 0x1d4]
call fcn.0041dc90
add esp, 4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1d4]
cmp dword [ebp - 0x1c0], 8
cmovae eax, dword [ebp - 0x1d4]
push edi
push eax
push edi
push dword [ebp - 0x1d8]
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4cd1f4
lea ecx, [ebp - 0x1dc]
push ecx
push 0x574260
push edi
push eax
call dword [sym.imp.OLEACC.dll_AccessibleObjectFromWindow]
test eax, eax
js 0x4cd1f4
mov ecx, dword [ebp - 0x1dc]
test ecx, ecx
je 0x4cd1f4
xor edx, edx
call fcn.004cc4f0
mov edi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d4]
call fcn.004040c0
inc esi
cmp esi, dword [ebp - 0x204]
mov ecx, dword [ebp - 0x1d8]
jle 0x4cd130
test edi, edi
je 0x4cd522
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x170], xmm0
mov byte [ebp - 0x160], 0
push 0
lea edx, [ebp - 0x170]
mov ecx, edi
call fcn.004cc660
add esp, 4
mov edx, dword [ebp - 0x170]
test edx, edx
je 0x4cd522
cmp dword [ebp - 0x16c], 0
je 0x4cd522
cmp dword [ebp - 0x168], 0
je 0x4cd522
cmp dword [ebp - 0x164], 0
je 0x4cd522
cmp byte [ebp - 0x160], 0
jne 0x4cd522
cmp byte [ebp + 8], 0
jne 0x4cd325
mov eax, 3
mov word [ebp - 0x1b4], ax
mov dword [ebp - 0x1ac], 0
mov ecx, dword [edx]
lea eax, [ebp - 0x1d8]
push eax
sub esp, 0x10
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x1b4]
movdqu xmmword [eax], xmm0
push edx
call dword [ecx + 0x2c]
test eax, eax
js 0x4cd2e2
mov eax, dword [ebp - 0x1d8]
test eax, eax
je 0x4cd2e2
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
call esi
test eax, eax
je 0x4cd2e8
jmp 0x4cd03b
mov esi, dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ecx]
lea eax, [ebp - 0x1d8]
push eax
sub esp, 0x10
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x1b4]
movdqu xmmword [eax], xmm0
push ecx
call dword [edx + 0x2c]
test eax, eax
js 0x4cd325
mov eax, dword [ebp - 0x1d8]
test eax, eax
je 0x4cd325
push eax
call esi
test eax, eax
jne 0x4cd03b
mov byte [0x644ecd], 0
mov eax, dword [ebp + 0x18]
mov byte [0x644ecf], al
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x178], 0xf
mov dword [ebp - 0x17c], 0
mov byte [ebp - 0x18c], 0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0x10
push 0
mov edx, edi
lea ecx, [ebp - 0x1bc]
call fcn.004cc170
add esp, 4
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x18c]
call fcn.00406f40
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1bc]
call fcn.00402630
mov dword [ebp - 4], 0xf
mov edi, dword [ebp - 0x200]
jmp 0x4cd3d6
sub esp, 0x18
mov dword [ebp - 0x1e0], esp
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18c]
push eax
call fcn.00402660
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1bc]
call fcn.004cb4e0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 0x14
cmp edi, esi
je 0x4cd44b
cmp dword [edi + 0x14], 0x10
jb 0x4cd432
push dword [edi]
call fcn.00443e80
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
push esi
mov ecx, edi
call fcn.004043b0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x1a8], 0x10
jb 0x4cd466
push dword [ebp - 0x1bc]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], 0
mov byte [ebp - 0x1bc], 0
sub esp, 0x18
mov dword [ebp - 0x1e0], esp
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x1c]
push eax
call fcn.00402660
mov byte [ebp - 4], 0x15
sub esp, 0x18
mov dword [ebp - 0x1e8], esp
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
push 0xffffffffffffffff
push 0
push edi
call fcn.00402660
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0xf
call fcn.004cbf00
add esp, 0x30
test al, al
jne 0x4cd59e
mov byte [ebp - 4], 1
cmp dword [ebp - 0x178], 0x10
jb 0x4cd507
push dword [ebp - 0x18c]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x178], 0xf
mov dword [ebp - 0x17c], 0
mov byte [ebp - 0x18c], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x190], 8
jb 0x4cd53d
push dword [ebp - 0x1a4]
call fcn.00443e80
add esp, 4
xor eax, eax
mov word [ebp - 0x1a4], ax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], 7
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x30], 0x10
jb 0x4cd56e
push dword [ebp + 0x1c]
call fcn.00443e80
add esp, 4
mov byte [ebp + 0x1c], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0xf
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret
sub esp, 0x18
mov dword [ebp - 0x1e0], esp
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
push 0xffffffffffffffff
push 0
push edi
call fcn.00402660
mov byte [ebp - 4], 0x17
sub esp, 0x18
mov dword [ebp - 0x1e8], esp
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18c]
push eax
call fcn.00402660
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1bc]
call fcn.004cb770
add esp, 0x30
mov byte [ebp - 4], 0x19
push eax
mov ecx, dword [ebp - 0x1f0]
call fcn.00406f40
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x1a8], 0x10
jb 0x4cd635
push dword [ebp - 0x1bc]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x1a8], 0xf
mov dword [ebp - 0x1ac], 0
mov byte [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x1f8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x1f4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x1ec]
mov dword [ecx + 4], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x178], 0x10
jb 0x4cd698
push dword [ebp - 0x18c]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x178], 0xf
mov dword [ebp - 0x17c], 0
mov byte [ebp - 0x18c], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x190], 8
jb 0x4cd6ce
push dword [ebp - 0x1a4]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x190], 7
mov dword [ebp - 0x194], 0
xor eax, eax
mov word [ebp - 0x1a4], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x30], 0x10
jb 0x4cd703
push dword [ebp + 0x1c]
call fcn.00443e80
add esp, 4
mov dword [ebp + 0x30], 0xf
mov dword [ebp + 0x2c], 0
mov byte [ebp + 0x1c], 0
mov al, 1
jmp 0x4cd582