Function at 0x4dbdc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x5028]
mov eax, 0x5028
call fcn.00616f00
push 0xffffffffffffffff
push 0x649918
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x74d890]
xor eax, ebp
mov dword [ebp + 0x5024], 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
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x14], edi
xor eax, eax
mov word [ebp + 0x10], ax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
push ecx
call fcn.0044bbb0
add esp, 4
cmp dword [0x752bd0], edi
je 0x4dbe56
mov eax, dword [0x752d54]
cmp eax, edi
mov ecx, eax
jne 0x4dbe3e
mov ecx, 0x752d58
mov eax, dword [0x752cbc]
cmp eax, edi
jne 0x4dbe4c
mov eax, 0x752cc0
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043bc40
cmp dword [0x752bd4], edi
je 0x4dbe86
mov eax, dword [0x752d6c]
cmp eax, edi
mov ecx, eax
jne 0x4dbe6e
mov ecx, 0x752d70
mov eax, dword [0x752d60]
cmp eax, edi
jne 0x4dbe7c
mov eax, 0x752d64
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043bc40
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x20], edi
xor edx, edx
mov word [ebp + 0x1c], dx
mov byte [ebp - 4], 2
cmp dword [0x747d18], edi
je 0x4dbfce
push 0x27ff
lea eax, [ebp + 0x24]
push eax
mov ecx, dword [esi + 0x1728]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4dbf36
push 0x679308
lea edx, [ebp + 0x24]
push edx
call fcn.00617adb
add esp, 8
lea ecx, [ebp + 0x18]
cmp eax, edi
je 0x4dbed9
add eax, 6
jmp 0x4dbedc
lea eax, [ebp + 0x24]
push eax
call fcn.004017f0
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x4dbeec
lea eax, [ebp + 0x1c]
push 0x2f
push eax
call fcn.00617340
add esp, 8
cmp eax, edi
je 0x4dbf00
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp + 0x18]
cmp esi, edi
mov eax, esi
jne 0x4dbf0c
lea eax, [ebp + 0x1c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4dbf10
sub eax, edx
sar eax, 1
cmp eax, 0x1e
jbe 0x4dbf33
cmp esi, edi
mov eax, esi
jne 0x4dbf2d
lea eax, [ebp + 0x1c]
xor edx, edx
mov word [eax + 0x3c], dx
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x4dbf40
lea eax, [ebp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4dbf43
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [ebp], edi
mov dword [ebp + 8], edi
xor edx, edx
mov word [ebp + 4], dx
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov edx, eax
jne 0x4dbf71
lea edx, [ebp + 0x10]
cmp word [edx + ecx*2 - 2], 0x5c
mov edx, 0x66e980
jne 0x4dbf83
mov edx, 0x66ec78
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x4dbf8d
lea ecx, [ebp + 0x1c]
cmp eax, edi
jne 0x4dbf94
lea eax, [ebp + 0x10]
push edi
push ecx
push edx
push eax
push str._s_s_s_
lea ecx, [ebp]
call fcn.004115e0
mov eax, dword [ebp]
cmp dword [0x747d18], edi
je 0x4dc067
cmp eax, edi
jne 0x4dbfbb
lea eax, [ebp + 4]
push eax
mov eax, dword [esi + 0x5cc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4dc09c
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x178c]
call fcn.005efa6e
push 0x66e990
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00616e70
add esp, 8
cmp eax, edi
je 0x4dc013
add eax, 3
push eax
push 0x66dea8
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
add esp, 0xc
push 0x2f
mov eax, dword [ebp - 0x14]
push eax
call fcn.00616db0
add esp, 8
cmp eax, edi
je 0x4dc028
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4dc030
sub eax, edx
cmp eax, 0x1e
jbe 0x4dc049
push edi
push 0x1d
lea ecx, [ebp - 0x14]
call fcn.00404060
push edi
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x18]
call fcn.00401980
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402570
jmp 0x4dbf36
cmp eax, edi
jne 0x4dc06e
lea eax, [ebp + 4]
push edi
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402a70
add esp, 0xc
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [esi + 0x5cc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov byte [esi + 0x1aab], 0
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401210
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 + 0x5024]
xor ecx, ebp
call fcn.006157d3
add ebp, 0x5028
mov esp, ebp
pop ebp
ret