Function at 0x4dd870
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x5028]
mov eax, 0x5028
call fcn.006197b0
push 0xffffffffffffffff
push 0x64c528
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x74f8a0]
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.0044bd00
add esp, 4
cmp dword [0x754bf0], edi
je 0x4dd906
mov eax, dword [0x754d74]
cmp eax, edi
mov ecx, eax
jne 0x4dd8ee
mov ecx, 0x754d78
mov eax, dword [0x754cdc]
cmp eax, edi
jne 0x4dd8fc
mov eax, 0x754ce0
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043bdf0
cmp dword [0x754bf4], edi
je 0x4dd936
mov eax, dword [0x754d8c]
cmp eax, edi
mov ecx, eax
jne 0x4dd91e
mov ecx, 0x754d90
mov eax, dword [0x754d80]
cmp eax, edi
jne 0x4dd92c
mov eax, 0x754d84
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043bdf0
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 [0x749d28], edi
je 0x4dda7e
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 0x4dd9e6
push 0x67b308
lea edx, [ebp + 0x24]
push edx
call fcn.0061a38b
add esp, 8
lea ecx, [ebp + 0x18]
cmp eax, edi
je 0x4dd989
add eax, 6
jmp 0x4dd98c
lea eax, [ebp + 0x24]
push eax
call fcn.004017f0
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x4dd99c
lea eax, [ebp + 0x1c]
push 0x2f
push eax
call fcn.00619bf0
add esp, 8
cmp eax, edi
je 0x4dd9b0
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp + 0x18]
cmp esi, edi
mov eax, esi
jne 0x4dd9bc
lea eax, [ebp + 0x1c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4dd9c0
sub eax, edx
sar eax, 1
cmp eax, 0x1e
jbe 0x4dd9e3
cmp esi, edi
mov eax, esi
jne 0x4dd9dd
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 0x4dd9f0
lea eax, [ebp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4dd9f3
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 0x4dda21
lea edx, [ebp + 0x10]
cmp word [edx + ecx*2 - 2], 0x5c
mov edx, 0x670988
jne 0x4dda33
mov edx, 0x670c80
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x4dda3d
lea ecx, [ebp + 0x1c]
cmp eax, edi
jne 0x4dda44
lea eax, [ebp + 0x10]
push edi
push ecx
push edx
push eax
push str._s_s_s_
lea ecx, [ebp]
call fcn.00411a70
mov eax, dword [ebp]
cmp dword [0x749d28], edi
je 0x4ddb17
cmp eax, edi
jne 0x4dda6b
lea eax, [ebp + 4]
push eax
mov eax, dword [esi + 0x5cc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4ddb4c
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x178c]
call fcn.005f2321
push 0x670998
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00619720
add esp, 8
cmp eax, edi
je 0x4ddac3
add eax, 3
push eax
push 0x66fea8
lea edx, [ebp - 0x14]
push edx
call fcn.00402f70
add esp, 0xc
push 0x2f
mov eax, dword [ebp - 0x14]
push eax
call fcn.00619660
add esp, 8
cmp eax, edi
je 0x4ddad8
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 0x4ddae0
sub eax, edx
cmp eax, 0x1e
jbe 0x4ddaf9
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 0x4dd9e6
cmp eax, edi
jne 0x4ddb1e
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.0061807e
add ebp, 0x5028
mov esp, ebp
pop ebp
ret