Function at 0x4d4af0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ada0
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.00446d00
mov eax, dword [0x6ec7a4]
add esp, 4
cmp eax, edi
je 0x4d4d20
mov eax, dword [0x6ec618]
cmp eax, edi
je 0x4d4b51
mov dword [ebp - 0x14], eax
jmp 0x4d4b5b
mov dword [ebp - 0x14], 0x6ec61c
mov eax, dword [ebp - 0x14]
mov esi, dword [0x6ec628]
cmp esi, edi
jne 0x4d4b6a
mov esi, 0x6ec62c
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], esi
cmp ecx, edi
je 0x4d4d20
cmp esi, edi
je 0x4d4d20
cmp eax, edi
je 0x4d4d20
push eax
push esi
call fcn.005de644
add esp, 8
test eax, eax
je 0x4d4d20
mov ecx, dword [ebp - 0x28]
push esi
push ecx
call fcn.005de985
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4d4bc3
push esi
inc edi
call fcn.005de123
lea eax, [ebx + eax*2]
push esi
push eax
call fcn.005de985
add esp, 0xc
jmp 0x4d4ba7
test edi, edi
je 0x4d4d20
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push edx
call fcn.0040e020
push esi
mov byte [ebp - 4], 2
call fcn.005de123
mov ebx, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.005de123
add esp, 8
cmp eax, ebx
jbe 0x4d4c48
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x48]
call fcn.004023d0
push esi
mov dword [ebp - 0x18], eax
call fcn.005de123
mov ecx, dword [ebp - 0x14]
mov ebx, eax
push ecx
call fcn.005de123
mov edx, eax
mov eax, dword [ebp - 0x18]
sub edx, ebx
push eax
imul edx, edi
mov dword [ebp - 0x18], edx
call fcn.005de123
mov ecx, dword [ebp - 0x18]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.005f6c5c
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x4d4c4b
jmp 0x4d4d14
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], eax
call fcn.004023d0
mov ebx, eax
push esi
push ebx
call fcn.005de985
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4d4cd7
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.005de123
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.005de123
mov esi, dword [ebp - 0x30]
lea eax, [ebx + eax*2]
push esi
mov dword [ebp - 0x1c], eax
call fcn.005de123
mov ecx, dword [ebp - 0x18]
push esi
lea ebx, [ecx + eax*2]
push ebx
call fcn.005de985
add esp, 0x14
jmp 0x4d4c62
push ebx
call fcn.005de123
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.005de123
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*2]
mov word [eax], 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.005de123
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [0x6ec7a8]
test eax, eax
je 0x4d4f06
mov eax, dword [0x6ec5f8]
test eax, eax
je 0x4d4d3b
mov dword [ebp - 0x1c], eax
jmp 0x4d4d45
mov dword [ebp - 0x1c], 0x6ec5fc
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x6ec608]
test esi, esi
jne 0x4d4d54
mov esi, 0x6ec60c
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], esi
test ecx, ecx
je 0x4d4f06
test esi, esi
je 0x4d4f06
test eax, eax
je 0x4d4f06
push eax
push esi
call fcn.005de644
add esp, 8
test eax, eax
je 0x4d4f06
mov eax, dword [ebp - 0x28]
push esi
push eax
call fcn.005de985
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4d4db1
push esi
inc ebx
call fcn.005de123
lea eax, [edi + eax*2]
push esi
push eax
call fcn.005de985
add esp, 0xc
mov edi, eax
jmp 0x4d4d95
test ebx, ebx
je 0x4d4f06
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040e020
push esi
mov byte [ebp - 4], 3
call fcn.005de123
mov edx, dword [ebp - 0x1c]
mov edi, eax
push edx
call fcn.005de123
add esp, 8
cmp eax, edi
jbe 0x4d4e38
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x48]
call fcn.004023d0
push esi
mov dword [ebp - 0x18], eax
call fcn.005de123
mov edi, eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.005de123
mov edx, eax
mov ecx, dword [ebp - 0x18]
sub edx, edi
push ecx
imul edx, ebx
mov dword [ebp - 0x18], edx
call fcn.005de123
mov edx, dword [ebp - 0x18]
add edx, eax
lea eax, [edx + edx + 2]
push eax
call fcn.005f6c5c
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x28], ebx
jne 0x4d4e3b
jmp 0x4d4efa
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
call fcn.004023d0
push esi
push eax
mov dword [ebp - 0x14], eax
call fcn.005de985
add esp, 8
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4d4ebd
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.005de123
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.005de123
mov esi, dword [ebp - 0x30]
lea ebx, [ebx + eax*2]
push esi
call fcn.005de123
mov ecx, dword [ebp - 0x18]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x14], eax
call fcn.005de985
add esp, 0x14
jmp 0x4d4e50
mov esi, dword [ebp - 0x14]
push esi
call fcn.005de123
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.005de123
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005de123
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 [0x6c02f4]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x4d4fbf
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 0xff4]
push 0x7cf
push edx
mov eax, dword [ebx + 0x1920]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4d5053
lea ecx, [ebp - 0xff4]
push 0x6c5ce4
push ecx
call fcn.005de985
add esp, 8
cmp eax, esi
je 0x4d4f65
add eax, 6
push eax
jmp 0x4d4f6c
lea edx, [ebp - 0xff4]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004023e0
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d4f7e
lea eax, [ebp - 0x38]
push 0x2f
push eax
call fcn.005de61b
add esp, 8
cmp eax, esi
je 0x4d4f90
mov word [eax], si
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d4f9a
lea eax, [ebp - 0x38]
push eax
call fcn.005de123
add esp, 4
cmp eax, 0x1e
jbe 0x4d5053
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4d4fb6
lea eax, [ebp - 0x38]
mov word [eax + 0x3c], si
jmp 0x4d5053
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x1a5c]
call fcn.005f7b6e
mov edx, dword [ebp - 0x14]
push 0x6bc15c
push edx
call fcn.005de210
add esp, 8
cmp eax, esi
je 0x4d5007
add eax, 3
push eax
lea eax, [ebp - 0x14]
push 0x6bc090
push eax
call fcn.005f368b
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push 0x2f
push ecx
call fcn.005de150
add esp, 8
cmp eax, esi
je 0x4d501c
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 0x4d5039
push eax
push 0x1d
lea ecx, [ebp - 0x14]
call fcn.005facc5
mov edx, dword [ebp - 0x14]
push 0
push edx
lea ecx, [ebp - 0x3c]
call fcn.00402d00
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.005fa859
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4d505d
lea eax, [ebp - 0x24]
push eax
call fcn.005de123
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0041c830
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004023d0
cmp word [eax + esi*2 - 2], 0x5c
mov esi, 0x6bc14c
jne 0x4d508e
mov esi, 0x6ec0cc
lea ecx, [ebp - 0x3c]
call fcn.004023d0
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.004023d0
push edi
push esi
push eax
push 0x6c5cdc
lea ecx, [ebp - 0x54]
call fcn.00441620
mov eax, dword [0x6c02f4]
lea ecx, [ebp - 0x54]
test eax, eax
je 0x4d50d1
call fcn.004023d0
push eax
mov eax, dword [ebx + 0x7a8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4d50f8
call fcn.004023d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.005fa919
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebx + 0x7a8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x2c]
call fcn.005fa859
lea ecx, [ebp - 0x54]
mov byte [ebx + 0x1dbb], 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