Function at 0x4b1690
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x620]
sub esp, 0x620
push 0xffffffffffffffff
push 0x6430f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x61c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp byte [esi + 0x354], 0
jne 0x4b195b
xor edi, edi
mov dword [ebp - 4], edi
push 0x104
mov ecx, dword [esi + 0x230]
cmp dword [esi + 0x238], edi
je 0x4b171d
lea eax, [ebp + 0x20c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4b195b
lea edx, [ebp + 0x20c]
push edx
lea ecx, [esi + 0x32c]
call fcn.004017f0
jmp 0x4b1746
lea eax, [ebp + 0x510]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4b195b
push edi
lea edx, [ebp + 0x510]
push edx
lea ecx, [esi + 0x32c]
call fcn.00401980
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp ebx, dword [esi + 0x84]
jge 0x4b1954
mov dword [ebp], edi
mov dword [ebp + 8], edi
xor eax, eax
mov word [ebp + 4], ax
mov byte [ebp - 4], 1
lea edi, [esi + 0x7c]
push ebx
mov ecx, edi
call fcn.0045a9e0
mov eax, dword [eax + 8]
add eax, 0x54
cmp dword [eax], 0
je 0x4b1781
mov eax, dword [eax]
jmp 0x4b1784
add eax, 4
push 0x100
lea ecx, [ebp + 0x414]
push ecx
push 0x100
lea edx, [ebp + 0xc]
push edx
push 0x100
lea ecx, [ebp + 0x214]
push ecx
push 3
lea edx, [ebp + 0x614]
push edx
push eax
call fcn.006161d7
add esp, 0x24
test eax, eax
jne 0x4b1940
cmp dword [esi + 0x32c], eax
je 0x4b17cf
mov eax, dword [esi + 0x32c]
jmp 0x4b17d5
lea eax, [esi + 0x330]
lea edx, [eax + 2]
jmp 0x4b17e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b17e0
sub eax, edx
sar eax, 1
cmp dword [esi + 0x32c], 0
je 0x4b1800
mov ecx, dword [esi + 0x32c]
jmp 0x4b1806
lea ecx, [esi + 0x330]
cmp word [ecx + eax*2 - 2], 0x5c
mov ecx, 0x66bc68
je 0x4b1818
mov ecx, 0x66b970
cmp dword [esi + 0x32c], 0
je 0x4b1829
mov eax, dword [esi + 0x32c]
jmp 0x4b182f
lea eax, [esi + 0x330]
push 0
lea edx, [ebp + 0x414]
push edx
lea edx, [ebp + 0xc]
push edx
push ecx
push eax
push str._s_s_s_s
lea ecx, [ebp]
call fcn.0043b410
push 0
push ebx
mov ecx, edi
call fcn.0045a9e0
mov eax, dword [eax + 0x18]
push eax
mov ecx, dword [esi + 0x78]
push ecx
lea edx, [ebp]
push edx
mov ecx, dword [0x74e9d0]
call fcn.00494720
mov eax, dword [ebp]
test eax, eax
jne 0x4b1876
lea eax, [ebp + 4]
push eax
push ebx
mov ecx, edi
call fcn.0045a9e0
mov ecx, dword [eax + 8]
call fcn.005b1e50
push ebx
mov ecx, edi
call fcn.0045a9e0
mov eax, dword [eax + 8]
mov byte [eax + 0x1a2], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x2c]
push ecx
push 0xffffffffffffffff
push 0x100d
mov edx, dword [esi + 0x1fc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jl 0x4b1940
cmp dword [0x74ea10], 0
je 0x4b18f2
mov eax, dword [0x74eb94]
test eax, eax
mov ecx, eax
jne 0x4b18da
mov ecx, 0x74eb98
mov eax, dword [0x74eafc]
test eax, eax
jne 0x4b18e8
mov eax, 0x74eb00
push ecx
push eax
lea ecx, [ebp]
call fcn.0043b690
cmp dword [0x74ea14], 0
je 0x4b1923
mov eax, dword [0x74ebac]
test eax, eax
mov ecx, eax
jne 0x4b190b
mov ecx, 0x74ebb0
mov eax, dword [0x74eba0]
test eax, eax
jne 0x4b1919
mov eax, 0x74eba4
push ecx
push eax
lea ecx, [ebp]
call fcn.0043b690
mov eax, dword [ebp]
test eax, eax
jne 0x4b192d
lea eax, [ebp + 4]
push eax
push edi
push 4
mov eax, dword [esi + 0x1fc]
push eax
call fcn.0044fb90
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004011f0
inc ebx
xor edi, edi
jmp 0x4b1748
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x61c]
xor ecx, ebp
call fcn.00613241
add ebp, 0x620
mov esp, ebp
pop ebp
ret