Function at 0x4b39b4
Capabilities:
Get graphical window text

Disassembly:
test ebx, ebx
je 0x4b49fe
lea eax, [ebp - 0x13b]
push eax
push ebx
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x4b49fe
mov eax, dword [ebp - 0x12f]
sub eax, dword [ebp - 0x137]
cmp eax, 0x96
jle 0x4b49fe
mov eax, dword [ebp - 0x133]
sub eax, dword [ebp - 0x13b]
cmp eax, 0x96
jle 0x4b49fe
lea eax, [ebp - 0x18]
call fcn.00404818
push 0xff
lea eax, [ebp - 0x12b]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4b3a55
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x12b]
call fcn.00409f0c
mov al, byte [0x4b4b3c]
push eax
lea eax, [ebp - 0x140]
push eax
xor ecx, ecx
mov edx, 0x4b4b48
mov eax, dword [ebp - 0x18]
call fcn.0040e8f8
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x18]
call fcn.004048b0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004b27e4
cmp dword [ebp - 4], 0
je 0x4b3a81
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.00408c8c
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 4]
call fcn.004048b0
cmp dword [ebp - 4], 0
je 0x4b49fe
mov eax, dword [ebp - 4]
mov edx, dword [0x4c0614]
mov edx, dword [edx]
call fcn.00404c24
je 0x4b40c4
xor eax, eax
push ebp
push 0x4b3c32
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4b3bee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.0047536c
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00489594
mov edx, dword [eax]
lea eax, [ebp - 4]
mov edx, dword [0x4c0614]
mov edx, dword [edx]
call fcn.004048b0
lea eax, [ebp - 8]
mov edx, dword [0x4c0264]
mov edx, dword [edx]
call fcn.004048b0
lea eax, [ebp - 0xc]
mov edx, dword [0x4c00bc]
mov edx, dword [edx]
call fcn.004048b0
mov eax, dword [0x4c03e8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4c03c0]
mov al, byte [eax]
mov byte [ebp - 0x11], al
mov eax, dword [0x4c05f4]
mov eax, dword [eax]
mov edx, 0x4b4e28
call fcn.00404c24
sete al
and al, byte [ebp - 0x11]
je 0x4b4181
lea edx, [ebp - 0x1d4]
mov eax, dword [ebp - 0x18]
call fcn.00408c8c
mov edx, dword [ebp - 0x1d4]
mov eax, 0x4b4e64
call fcn.00404e1c
test eax, eax
jg 0x4b4165
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 0x18]
call fcn.00408c8c
mov edx, dword [ebp - 0x1d8]
mov eax, 0x4b4e7c
call fcn.00404e1c
test eax, eax
jle 0x4b4174
lea eax, [ebp - 0xc]
mov edx, 0x4b4b38
call fcn.004048b0
jmp 0x4b4181
lea eax, [ebp - 0xc]
mov edx, 0x4b4e10
call fcn.004048b0
mov eax, dword [ebp - 0xc]
mov edx, 0x4b4b38
call fcn.00404c24
jne 0x4b49fe
mov eax, dword [ebp - 0x10]
call fcn.004acba0
test al, al
je 0x4b49fe
call fcn.004b7280
call fcn.004aa700
fstp qword [ebp - 0x20]
wait
call fcn.004aa700
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x24]
mov eax, 0x4b4e94
call fcn.0040c1f0
mov eax, dword [0x4c068c]
push dword [eax]
push 0x4b4ea8
push dword [ebp - 0x24]
lea eax, [ebp - 0x1dc]
mov edx, 3
call fcn.00404b98
mov eax, dword [ebp - 0x1dc]
call fcn.00409794
test al, al
jne 0x4b4280
mov eax, dword [0x4c068c]
push dword [eax]
push 0x4b4ea8
push dword [ebp - 0x24]
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00404b98
mov eax, dword [ebp - 0x1e0]
call fcn.004097b8
mov eax, dword [0x4c068c]
push dword [eax]
push 0x4b4ea8
push dword [ebp - 0x24]
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.00404b98
mov eax, dword [ebp - 0x1e4]
mov edx, 2
call fcn.004098a0
mov eax, dword [0x4c068c]
push dword [eax]
push 0x4b4ea8
push dword [ebp - 0x24]
lea eax, [ebp - 0x1e8]
mov edx, 3
call fcn.00404b98
mov eax, dword [ebp - 0x1e8]
call fcn.004acc00
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0x28]
mov eax, 0x4b4eb4
call fcn.0040c1f0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0x2c]
mov eax, 0x4b4ec0
call fcn.0040c1f0
mov eax, dword [0x4c068c]
push dword [eax]
push 0x4b4ea8
push dword [ebp - 0x24]
push 0x4b4ea8
push dword [ebp - 0x28]
lea eax, [ebp - 0x1ec]
mov edx, 5
call fcn.00404b98
mov eax, dword [ebp - 0x1ec]
call fcn.00409794
test al, al
jne 0x4b430e
mov eax, dword [0x4c068c]
push dword [eax]
push 0x4b4ea8
push dword [ebp - 0x24]
push 0x4b4ea8
push dword [ebp - 0x28]
lea eax, [ebp - 0x1f0]
mov edx, 5
call fcn.00404b98
mov eax, dword [ebp - 0x1f0]
call fcn.004097b8
mov eax, dword [ebp - 8]
mov edx, 0x4b4e50
call fcn.00404c24
je 0x4b4359
mov eax, dword [ebp - 8]
mov edx, 0x4b4edc
call fcn.00404c24
je 0x4b4359
mov eax, dword [ebp - 8]
mov edx, 0x4b4ef0
call fcn.00404c24
je 0x4b4359
mov eax, dword [ebp - 8]
mov edx, 0x4b4f04
call fcn.00404c24
je 0x4b4359
mov eax, dword [ebp - 8]
mov edx, 0x4b4f18
call fcn.00404c24
jne 0x4b4375
add dword [ebp - 0x13b], 5
sub dword [ebp - 0x133], 5
add dword [ebp - 0x137], 5
sub dword [ebp - 0x12f], 5
mov eax, dword [0x4c068c]
push dword [eax]
push 0x4b4ea8
push dword [ebp - 0x24]
push 0x4b4ea8
push dword [ebp - 0x28]
push 0x4b4ea8
push dword [ebp - 0x2c]
push 0x4b4f2c
lea eax, [ebp - 0x1f4]
mov edx, 8
call fcn.00404b98
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [0x4c02c8]
mov cl, byte [ecx]
lea edx, [ebp - 0x13b]
call fcn.004b2d00
cmp dword [ebp - 0x18], 0
jne 0x4b43d5
lea eax, [ebp - 0x18]
mov edx, 0x4b4f3c
call fcn.004048b0
xor eax, eax
push ebp
push 0x4b49f7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4b49b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.0047536c
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00489594
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00489594
mov edx, 0x4b4f50
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4c0104]
mov byte [eax], 0x2d
mov eax, dword [0x4bff98]
mov byte [eax], 0x3a
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4fcc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x204]
mov edx, dword [ebp - 0x24]
call fcn.00415704
lea edx, [ebp - 0x204]
pop eax
call fcn.00480ce0
mov eax, dword [ebp - 8]
mov edx, 0x4b4e50
call fcn.00404c24
je 0x4b44b0
mov eax, dword [ebp - 8]
mov edx, 0x4b4ef0
call fcn.00404c24
je 0x4b44b0
mov eax, dword [ebp - 8]
mov edx, 0x4b4f04
call fcn.00404c24
je 0x4b44b0
mov eax, dword [ebp - 8]
mov edx, 0x4b4f18
call fcn.00404c24
je 0x4b44b0
mov eax, dword [ebp - 8]
mov edx, 0x4b4edc
call fcn.00404c24
jne 0x4b4514
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4fdc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x214]
mov edx, dword [ebp - 8]
call fcn.00415704
lea edx, [ebp - 0x214]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4ffc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.00415704
lea edx, [ebp - 0x224]
pop eax
call fcn.00480ce0
jmp 0x4b4578
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4fdc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x234]
mov edx, 0x4b5018
call fcn.00415704
lea edx, [ebp - 0x234]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4ffc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 8]
call fcn.00415704
lea edx, [ebp - 0x244]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00475360
mov eax, dword [0x4c0774]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14c]
dec eax
jge 0x4b472d
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.0047536c
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00489594
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00489594
mov edx, 0x4b502c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4c0104]
mov byte [eax], 0x2d
mov eax, dword [0x4bff98]
mov byte [eax], 0x3a
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4fcc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x254]
mov edx, dword [ebp - 0x24]
call fcn.00415704
lea edx, [ebp - 0x254]
pop eax
call fcn.00480ce0
mov eax, dword [ebp - 8]
mov edx, 0x4b4e50
call fcn.00404c24
je 0x4b4659
mov eax, dword [ebp - 8]
mov edx, 0x4b4ef0
call fcn.00404c24
je 0x4b4659
mov eax, dword [ebp - 8]
mov edx, 0x4b4f04
call fcn.00404c24
je 0x4b4659
mov eax, dword [ebp - 8]
mov edx, 0x4b4f18
call fcn.00404c24
je 0x4b4659
mov eax, dword [ebp - 8]
mov edx, 0x4b4edc
call fcn.00404c24
jne 0x4b46bd
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4fdc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x264]
mov edx, dword [ebp - 8]
call fcn.00415704
lea edx, [ebp - 0x264]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4ffc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 0x18]
call fcn.00415704
lea edx, [ebp - 0x274]
pop eax
call fcn.00480ce0
jmp 0x4b4721
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4fdc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x284]
mov edx, 0x4b5018
call fcn.00415704
lea edx, [ebp - 0x284]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4ffc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 8]
call fcn.00415704
lea edx, [ebp - 0x294]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004894bc
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.0047536c
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00489594
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00489594
mov edx, 0x4b5094
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4c0104]
mov byte [eax], 0x2d
mov eax, dword [0x4bff98]
mov byte [eax], 0x3a
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea edx, [ebp - 0x2a8]
mov eax, 0x4b510c
call fcn.0040c1f0
mov edx, dword [ebp - 0x2a8]
lea eax, [ebp - 0x2a4]
call fcn.00415704
lea eax, [ebp - 0x2a4]
push eax
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b5124
call fcn.0047fa5c
pop edx
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4fcc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x2b8]
mov edx, dword [ebp - 0x24]
call fcn.00415704
lea edx, [ebp - 0x2b8]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b5134
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x2c8]
mov edx, dword [ebp - 8]
call fcn.00415704
lea edx, [ebp - 0x2c8]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b5144
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x2d8]
mov edx, dword [ebp - 0x18]
call fcn.00415704
lea edx, [ebp - 0x2d8]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b5158
call fcn.0047fa5c
push eax
mov eax, dword [0x4c068c]
push dword [eax]
push 0x4b4ea8
push dword [ebp - 0x24]
push 0x4b4ea8
push dword [ebp - 0x28]
push 0x4b4ea8
push dword [ebp - 0x2c]
push 0x4b4f2c
lea eax, [ebp - 0x2ec]
mov edx, 8
call fcn.00404b98
mov edx, dword [ebp - 0x2ec]
lea eax, [ebp - 0x2e8]
call fcn.00415704
lea edx, [ebp - 0x2e8]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004894bc
mov eax, dword [0x4bffe4]
cmp byte [eax], 0
jne 0x4b49a9
mov eax, dword [0x4c03e8]
inc dword [eax]
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.0047536c
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00489594
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.00489594
mov edx, 0x4b5174
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b51cc
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x2fc]
mov edx, dword [0x4c03e8]
mov edx, dword [edx]
mov cl, 0xfc
call fcn.004154b0
lea edx, [ebp - 0x2fc]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004878d8
mov edx, 0x4b4bc4
call fcn.0047fa5c
push eax
lea eax, [ebp - 0x30c]
mov edx, dword [0x4c0614]
mov edx, dword [edx]
call fcn.00415704
lea edx, [ebp - 0x30c]
pop eax
call fcn.00480ce0
mov eax, dword [0x4c0774]
mov eax, dword [eax]
call fcn.004894bc
mov eax, dword [0x4c0514]
cmp byte [eax], 0
jne 0x4b49a9
mov eax, dword [ebp - 8]
mov edx, 0x4b4e50
call fcn.00404c24
jne 0x4b49a9
call fcn.004b70c8
mov eax, dword [0x4c0514]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b49e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b49fe
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4a41
mov edx, dword [0x4bffbc]
mov edx, dword [edx]
mov eax, dword [0x4c0674]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00431cac
mov eax, dword [0x4c0674]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
mov dl, 1
call fcn.00431c9c
ret