Function at 0x4b8d50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fd1f
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x304], ecx
mov dword [ebp - 0x300], eax
mov dword [ecx], 0
mov ecx, eax
call fcn.004036e0
push 0x4c
lea eax, [ebp - 0x2a4]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x2a4]
call fcn.00459600
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2e8]
push 0x44
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x2e8]
push 0
call fcn.00458e00
mov byte [ebp - 4], 1
mov dword [ebp - 0x2ec], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4b8e04
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push 0xa
lea ecx, [ebp - 0x23c]
movq qword [ebp - 0x22c], xmm0
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x224], 0
call fcn.004b9be0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push 0xa
lea ecx, [ebp - 0x258]
movq qword [ebp - 0x248], xmm0
movups xmmword [ebp - 0x258], xmm0
mov dword [ebp - 0x240], 0
call fcn.004b9c20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a4]
call fcn.00459e70
mov esi, eax
mov dword [ebp - 0x2fc], esi
test esi, esi
je 0x4b8fe2
nop dword [eax]
lea eax, [ebp - 0x2ec]
push eax
push esi
lea ecx, [ebp - 0x23c]
call fcn.004ba120
test eax, eax
jne 0x4b8fe2
push esi
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4b8fc6
push edi
lea ecx, [ebp - 0x2e8]
call fcn.004590c0
mov dword [ebp - 0x2f0], eax
test eax, eax
je 0x4b8fbf
lea ecx, [ebp - 0x2ec]
call fcn.004036e0
mov edx, dword [ebp - 0x2ec]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4b8f17
push 0x104
lea ecx, [ebp - 0x2ec]
call fcn.00403870
mov edx, dword [ebp - 0x2ec]
cmp dword [edx - 8], 0x104
jl 0x4b8ffd
push 0x104
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x2ec]
push edx
push dword [ebp - 0x2f0]
push edi
mov word [eax + 0x208], cx
call dword [ebp - 0x2c8]
mov eax, dword [ebp - 0x2ec]
push dword [eax - 8]
push eax
call fcn.0050da0f
mov edx, eax
add esp, 8
test edx, edx
js 0x4b8ffd
mov ecx, dword [ebp - 0x2ec]
cmp edx, dword [ecx - 8]
jg 0x4b8ffd
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2ec]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x2ec]
cmp dword [eax - 0xc], ecx
je 0x4b8fbf
push esi
lea ecx, [ebp - 0x23c]
call fcn.004b9db0
lea ecx, [ebp - 0x2ec]
push ecx
mov ecx, eax
call fcn.00406a00
push dword [ebp - 0x2ec]
lea ecx, [ebp - 0x258]
call fcn.004b9e30
mov dword [eax], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea ecx, [ebp - 0x2a4]
call fcn.00459e90
mov esi, eax
mov dword [ebp - 0x2fc], esi
test esi, esi
jne 0x4b8e90
push 0
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
or esi, 0xffffffff
test eax, eax
jne 0x4b9007
xor edi, edi
jmp 0x4b91b7
push 0x80070057
call fcn.00403650
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
mov dword [ebp - 0x2f0], edi
test edi, edi
je 0x4b91a2
push 0x100
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4b9186
push 0x18
lea eax, [ebp - 0x210]
push 0x557634
push eax
call fcn.0051663f
add esp, 0xc
test eax, eax
jne 0x4b9186
mov edx, dword [ebp - 0x2ec]
cmp dword [edx - 0xc], 0
lea esi, [edx - 0x10]
mov eax, dword [esi]
mov dword [ebp - 0x2f8], eax
je 0x4b90c7
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jge 0x4b909d
cmp dword [edx - 8], 0
jl 0x4b8ffd
mov dword [edx - 0xc], 0
xor ecx, ecx
mov eax, dword [ebp - 0x2ec]
mov word [eax], cx
mov edx, dword [ebp - 0x2ec]
jmp 0x4b90c7
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b90b1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2f8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edx, [eax + 0x10]
mov dword [ebp - 0x2ec], edx
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4b90f1
push 0x104
lea ecx, [ebp - 0x2ec]
call fcn.00403870
mov edx, dword [ebp - 0x2ec]
cmp dword [edx - 8], 0x104
jl 0x4b8ffd
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x2ec]
push 0x104
push edx
push edi
mov word [eax + 0x208], cx
lea ecx, [ebp - 0x2e8]
call fcn.00459210
mov eax, dword [ebp - 0x2ec]
push dword [eax - 8]
push eax
call fcn.0050da0f
mov edx, eax
add esp, 8
test edx, edx
js 0x4b8ffd
mov ecx, dword [ebp - 0x2ec]
cmp edx, dword [ecx - 8]
jg 0x4b8ffd
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2ec]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x2ec]
cmp dword [eax - 0xc], ecx
je 0x4b9186
lea ecx, [ebp - 0x2fc]
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.004ba160
test eax, eax
jne 0x4b9264
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
mov dword [ebp - 0x2f0], edi
test edi, edi
jne 0x4b9020
or esi, 0xffffffff
mov ecx, dword [ebp - 0x304]
xor eax, eax
cmp dword [ecx], eax
setne al
mov dword [ebp - 0x2f8], eax
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
call fcn.004b9ca0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.004b9c60
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2ec]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4b91f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2e8]
call fcn.00458f60
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2a4], 0x54893c
mov dword [ebp - 4], 0x19
lea ecx, [ebp - 0x274]
call fcn.00417c60
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x288]
call fcn.004f190c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.004873e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2f4], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4b9283
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2f4], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a4]
push dword [ebp - 0x2fc]
call fcn.00459e90
mov edi, eax
test edi, edi
je 0x4b931d
nop
lea eax, [ebp - 0x2f4]
push eax
push edi
lea ecx, [ebp - 0x23c]
call fcn.004ba120
test eax, eax
je 0x4b931d
mov eax, dword [ebp - 0x2f4]
cmp dword [eax - 0xc], 0
je 0x4b931d
mov esi, dword [ebp - 0x2ec]
push eax
call fcn.0048ed30
add esp, 4
push eax
push esi
call fcn.0048ed30
add esp, 4
push eax
call fcn.0050d5a0
add esp, 8
test eax, eax
jne 0x4b931d
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00406a00
push edi
lea ecx, [ebp - 0x2a4]
call fcn.00459e90
mov edi, eax
test edi, edi
jne 0x4b92b0
mov dword [ebp - 0x218], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4b933c
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x218], eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x214], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4b936f
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x214], eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x220], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4b93a2
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x21c], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4b93d5
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x304]
mov eax, dword [ebp - 0x2f0]
mov dword [ecx], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2ec]
call fcn.00452340
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.004078f0
add esp, 0x20
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x300]
mov ecx, dword [eax]
mov edi, dword [esi]
lea edx, [ecx - 0x10]
sub edi, 0x10
cmp edx, edi
je 0x4b94a5
cmp dword [edi + 0xc], 0
jl 0x4b949a
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4b949a
push edx
call fcn.00406b00
or esi, 0xffffffff
mov dword [ebp - 0x2f8], eax
add esp, 4
lea edx, [edi + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b948d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [ebp - 0x300]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4b94a8
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00403910
or esi, 0xffffffff
mov byte [ebp - 4], 0xf
mov eax, esi
mov edx, dword [ebp - 0x2f0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b94c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b94ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b950b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, esi
mov edx, dword [ebp - 0x214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b952c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x218]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b954d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0x2f4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b91a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4b91a2