Function at 0x427700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x50b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
jne 0x427a60
mov eax, dword [ebp + 0xc]
lea esi, [ecx - 0x168]
cmp eax, 0x111
jne 0x42776e
movzx eax, word [ebp + 0x10]
lea ecx, [ebp - 0x210]
push ecx
push 0x1fb
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov dword [edi], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a69a0
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x102
jne 0x42782f
cmp byte [esi + 0x1a0], 0
lea ecx, [ebp - 0x210]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], ecx
je 0x4277c6
push eax
mov ecx, esi
call fcn.004290a0
neg eax
sbb ebx, ebx
inc ebx
mov eax, 1
mov dword [edi], 0
test ebx, ebx
jne 0x427a62
jmp 0x427a60
cmp byte [esi + 0x1d9], 0
je 0x4277f3
cmp eax, 0x21
jb 0x4277d9
cmp eax, 0x7e
jbe 0x4277ef
cmp eax, 0xd
je 0x4277ef
cmp eax, 0x1b
je 0x4277ef
cmp eax, 8
je 0x4277ef
mov ebx, 1
jmp 0x4277ae
xor ebx, ebx
jmp 0x4277ae
mov eax, dword [esi]
lea ecx, [ebp - 0x218]
push ecx
push 0x1f4
mov ecx, esi
call dword [eax + 0x28]
mov ebx, dword [ebp - 0x214]
push 0xfffffffffffffff0
push dword [esi + 0x16c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x4277ae
cmp dword [ebp - 0x210], 0xd
mov eax, 1
cmove ebx, eax
jmp 0x4277b3
cmp eax, 8
jne 0x427863
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
sub esp, 0xc
mov ecx, esi
call fcn.004282d0
cmp dword [ebp - 0x210], 0
mov dword [edi], eax
jne 0x427756
jmp 0x427a60
cmp eax, 0x202
jne 0x427888
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x1fe
call dword [eax + 0x28]
push esi
mov dword [edi], 0
push 0x1ff
jmp 0x427a53
cmp eax, 7
jne 0x427921
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x4278a0
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x20c]
mov dword [esi + 0x18c], 1
push eax
push dword [esi + 0x16c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x198]
lea ecx, [ebp - 0x20c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4278f6
test dx, dx
je 0x4278f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4278f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4278d0
xor eax, eax
jmp 0x4278fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x427916
push 0x4ed664
push dword [esi + 0x16c]
mov dword [esi + 0x194], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
push 0x1fc
jmp 0x427a53
cmp eax, 0x20a
jne 0x42795a
mov ebx, dword [ebp + 0x10]
mov eax, ebx
mov ecx, dword [esi + 0x16c]
shr eax, 0x10
push 0
test ax, ax
jle 0x427941
push 0
jmp 0x427943
push 1
push 0xb5
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x1f8
jmp 0x427749
cmp eax, 0x2133
jne 0x427976
sub esp, 8
push dword [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.004284c0
mov dword [edi], eax
jmp 0x427756
cmp eax, 0x2138
je 0x427961
cmp eax, 0x100
je 0x4279a6
cmp eax, 0x101
jne 0x42799f
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x210]
push ecx
push 0x1fa
jmp 0x427743
cmp eax, 0x104
jne 0x4279d7
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push ecx
push dword [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.00428580
cmp dword [ebp - 0x210], 0
mov dword [edi], eax
jne 0x427756
jmp 0x427a60
cmp eax, 0x105
je 0x42798b
cmp eax, 0x14
je 0x427750
cmp eax, 0x7b
jne 0x4279ff
mov al, byte [ecx + 0x60]
mov dword [edi], 0
test al, al
jne 0x427756
jmp 0x427a60
cmp eax, 0x2111
jne 0x427a60
mov eax, dword [ebp + 0x10]
mov edx, 0x300
shr eax, 0x10
mov ecx, eax
cmp dx, ax
jne 0x427a42
cmp byte [esi + 0x1da], 0
jne 0x427750
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x13c]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
push 0x1f6
jmp 0x427a53
mov eax, 0x400
cmp ax, cx
jne 0x427a60
push 0
push 0x1f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov dword [edi], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a69a0
mov esp, ebp
pop ebp
ret 0x18