Function at 0x4e97f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6473f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfe8
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x24], di
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0044d070
mov eax, dword [0x6fcb00]
add esp, 4
cmp eax, edi
je 0x4e9a20
mov eax, dword [0x6fc968]
cmp eax, edi
je 0x4e9851
mov dword [ebp - 0x14], eax
jmp 0x4e985b
mov dword [ebp - 0x14], 0x6fc96c
mov eax, dword [ebp - 0x14]
mov esi, dword [0x6fc978]
cmp esi, edi
jne 0x4e986a
mov esi, 0x6fc97c
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], esi
cmp ecx, edi
je 0x4e9a20
cmp esi, edi
je 0x4e9a20
cmp eax, edi
je 0x4e9a20
push eax
push esi
call fcn.0060a1a4
add esp, 8
test eax, eax
je 0x4e9a20
mov ecx, dword [ebp - 0x28]
push esi
push ecx
call fcn.0060a3e0
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4e98c3
push esi
inc edi
call fcn.00609a4e
lea eax, [ebx + eax*2]
push esi
push eax
call fcn.0060a3e0
add esp, 0xc
jmp 0x4e98a7
test edi, edi
je 0x4e9a20
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push edx
call fcn.00401ee0
push esi
mov byte [ebp - 4], 2
call fcn.00609a4e
mov ebx, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00609a4e
add esp, 8
cmp eax, ebx
jbe 0x4e9948
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x48]
call fcn.00401f10
push esi
mov dword [ebp - 0x18], eax
call fcn.00609a4e
mov ecx, dword [ebp - 0x14]
mov ebx, eax
push ecx
call fcn.00609a4e
mov edx, eax
mov eax, dword [ebp - 0x18]
sub edx, ebx
push eax
imul edx, edi
mov dword [ebp - 0x18], edx
call fcn.00609a4e
mov ecx, dword [ebp - 0x18]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.00622acb
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x4e994b
jmp 0x4e9a14
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], eax
call fcn.00401f10
mov ebx, eax
push esi
push ebx
call fcn.0060a3e0
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4e99d7
sub eax, ebx
mov edx, dword [ebp - 0x1c]
sar eax, 1
shl eax, 1
mov ecx, eax
mov esi, ebx
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add edx, eax
mov eax, dword [ebp - 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
mov dword [ebp - 0x1c], edx
call fcn.00609a4e
mov ebx, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
mov esi, dword [ebp - 0x30]
lea eax, [ebx + eax*2]
push esi
mov dword [ebp - 0x1c], eax
call fcn.00609a4e
mov ecx, dword [ebp - 0x18]
push esi
lea ebx, [ecx + eax*2]
push ebx
call fcn.0060a3e0
add esp, 0x14
jmp 0x4e9962
push ebx
call fcn.00609a4e
mov edi, dword [ebp - 0x1c]
mov ecx, eax
shl ecx, 1
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*2]
mov word [eax], 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.00609a4e
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [0x6fcb04]
test eax, eax
je 0x4e9c06
mov eax, dword [0x6fc948]
test eax, eax
je 0x4e9a3b
mov dword [ebp - 0x1c], eax
jmp 0x4e9a45
mov dword [ebp - 0x1c], 0x6fc94c
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6fc958]
test esi, esi
jne 0x4e9a54
mov esi, 0x6fc95c
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], esi
test ecx, ecx
je 0x4e9c06
test esi, esi
je 0x4e9c06
test eax, eax
je 0x4e9c06
push eax
push esi
call fcn.0060a1a4
add esp, 8
test eax, eax
je 0x4e9c06
mov eax, dword [ebp - 0x28]
push esi
push eax
call fcn.0060a3e0
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4e9ab1
push esi
inc ebx
call fcn.00609a4e
lea eax, [edi + eax*2]
push esi
push eax
call fcn.0060a3e0
add esp, 0xc
mov edi, eax
jmp 0x4e9a95
test ebx, ebx
je 0x4e9c06
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401ee0
push esi
mov byte [ebp - 4], 3
call fcn.00609a4e
mov edx, dword [ebp - 0x1c]
mov edi, eax
push edx
call fcn.00609a4e
add esp, 8
cmp eax, edi
jbe 0x4e9b38
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x48]
call fcn.00401f10
push esi
mov dword [ebp - 0x18], eax
call fcn.00609a4e
mov edi, eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00609a4e
mov edx, eax
mov ecx, dword [ebp - 0x18]
sub edx, edi
push ecx
imul edx, ebx
mov dword [ebp - 0x18], edx
call fcn.00609a4e
mov edx, dword [ebp - 0x18]
add edx, eax
lea eax, [edx + edx + 2]
push eax
call fcn.00622acb
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x28], ebx
jne 0x4e9b3b
jmp 0x4e9bfa
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
call fcn.00401f10
push esi
push eax
mov dword [ebp - 0x14], eax
call fcn.0060a3e0
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4e9bbd
mov esi, dword [ebp - 0x14]
mov edi, ebx
sub eax, esi
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
mov eax, dword [ebp - 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
mov ecx, eax
mov eax, dword [ebp - 0x1c]
shl ecx, 1
mov edx, ecx
mov esi, eax
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
mov esi, dword [ebp - 0x30]
lea ebx, [ebx + eax*2]
push esi
call fcn.00609a4e
mov ecx, dword [ebp - 0x18]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x14], eax
call fcn.0060a3e0
add esp, 0x14
jmp 0x4e9b50
mov esi, dword [ebp - 0x14]
push esi
call fcn.00609a4e
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00609a4e
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401070
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x38], si
mov eax, dword [0x6cdafc]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x4e9cbf
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 0xff4]
push 0x7cf
push edx
mov eax, dword [ebx + 0x13a4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4e9d53
lea ecx, [ebp - 0xff4]
push 0x6d3954
push ecx
call fcn.0060a3e0
add esp, 8
cmp eax, esi
je 0x4e9c65
add eax, 6
push eax
jmp 0x4e9c6c
lea edx, [ebp - 0xff4]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00401f20
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4e9c7e
lea eax, [ebp - 0x38]
push 0x2f
push eax
call fcn.0060a17b
add esp, 8
cmp eax, esi
je 0x4e9c90
mov word [eax], si
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4e9c9a
lea eax, [ebp - 0x38]
push eax
call fcn.00609a4e
add esp, 4
cmp eax, 0x1e
jbe 0x4e9d53
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4e9cb6
lea eax, [ebp - 0x38]
mov word [eax + 0x3c], si
jmp 0x4e9d53
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x13f0]
call fcn.0062451a
mov edx, dword [ebp - 0x14]
push 0x6c91d0
push edx
call fcn.00609cc0
add esp, 8
cmp eax, esi
je 0x4e9d07
add eax, 3
push eax
lea eax, [ebp - 0x14]
push 0x6c910c
push eax
call fcn.0061fae1
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push 0x2f
push ecx
call fcn.00609c00
add esp, 8
cmp eax, esi
je 0x4e9d1c
mov byte [eax], 0
mov edi, dword [ebp - 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x1e
jbe 0x4e9d39
push eax
push 0x1d
lea ecx, [ebp - 0x14]
call fcn.006231f6
mov edx, dword [ebp - 0x14]
push 0
push edx
lea ecx, [ebp - 0x3c]
call fcn.004027e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00622d8a
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4e9d5d
lea eax, [ebp - 0x24]
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.004027c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00401f10
cmp word [eax + esi*2 - 2], 0x5c
mov esi, 0x6c91c0
jne 0x4e9d8e
mov esi, 0x6fc41c
lea ecx, [ebp - 0x3c]
call fcn.00401f10
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.00401f10
push 0
push edi
push esi
push eax
push str._s_s_s_
lea ecx, [ebp - 0x54]
call fcn.004472d0
mov eax, dword [0x6cdafc]
lea ecx, [ebp - 0x54]
test eax, eax
je 0x4e9dd3
call fcn.00401f10
push eax
mov eax, dword [ebx + 0x49c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4e9dfe
call fcn.00401f10
lea ecx, [ebp - 0x2c]
push eax
push ecx
call fcn.00402850
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x49c]
add esp, 8
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x2c]
call fcn.00622d8a
lea ecx, [ebp - 0x54]
mov byte [ebx + 0x1657], 0
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret