Function at 0x427a60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x427cff
mov ecx, dword [edi + 0x90]
push ebx
push esi
lea esi, [edi + 0x90]
test ecx, 0x100
je 0x427a8f
mov ebx, 1
jmp 0x427aaa
push dword [edi + 4]
push dword [edi + 8]
push str._s_s
call fcn.00420000
mov ecx, dword [esi]
add esp, 0xc
neg eax
sbb ebx, ebx
neg ebx
cmp dword [ebp + 0x10], 0
mov dword [ebp + 8], ebx
je 0x427aba
mov eax, ecx
or eax, dword [ebp + 0xc]
jmp 0x427ac1
mov eax, dword [ebp + 0xc]
not eax
and eax, ecx
xor ecx, eax
mov dword [esi], eax
mov dword [ebp - 4], ecx
test ecx, 0xf000
jne 0x427ae1
mov eax, dword [edi + 0x94]
and eax, 1
cmp ebx, eax
je 0x427cfd
mov eax, ebx
mov dword [edi + 0x94], ebx
not eax
and eax, 1
push eax
push 0x8000
push esi
call fcn.0040a470
add esp, 0xc
test dword [ebp - 4], 0x4000
je 0x427b8d
mov esi, dword [0x4e8264]
xor ebx, ebx
cmp dword [esi], ebx
jle 0x427b78
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebx*4]
xor eax, eax
mov dword [ebp + 8], ecx
mov edx, dword [ecx + 0xc]
test edx, edx
jle 0x427b3f
mov ecx, dword [ecx + 0x10]
nop dword [eax + eax]
cmp edi, dword [ecx]
je 0x427b3c
inc eax
add ecx, 4
cmp eax, edx
jl 0x427b30
mov ecx, dword [ebp + 8]
cmp eax, edx
jge 0x427b73
mov eax, dword [edi + 0x90]
lea esi, [ecx + 0x1c]
and eax, 0x50
push eax
push 8
push esi
call fcn.0040a470
mov eax, dword [edi + 0x90]
and eax, 0x20
push eax
push 0x10
push esi
call fcn.0040a470
mov esi, dword [0x4e8264]
add esp, 0x18
inc ebx
cmp ebx, dword [esi]
jl 0x427b16
push 0
push 0
push 0
call fcn.00428070
add esp, 0xc
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x98]
test ecx, ecx
je 0x427bd9
test dword [esi], 0x1000
jne 0x427baa
test ebx, ebx
je 0x427baa
mov eax, 1
jmp 0x427bac
xor eax, eax
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
test dword [ebp - 4], 0x2000
je 0x427bd9
mov eax, dword [esi]
push 0
shr eax, 0xd
and eax, 1
push eax
push 0xf1
push dword [edi + 0x98]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4e8264]
xor ebx, ebx
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jle 0x427cfd
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov esi, dword [eax]
cmp dword [esi + 0x24], 0
jne 0x427c01
cmp dword [esi + 0x28], 0
je 0x427c26
mov edx, dword [esi + 0xc]
xor ecx, ecx
test edx, edx
jle 0x427c1f
mov eax, dword [esi + 0x10]
nop dword [eax]
cmp edi, dword [eax]
je 0x427c1c
inc ecx
add eax, 4
cmp ecx, edx
jl 0x427c10
mov eax, dword [ebp - 8]
cmp ecx, edx
jl 0x427c38
mov ecx, dword [ebp - 0xc]
inc ebx
add eax, 4
mov dword [ebp - 8], eax
cmp ebx, ecx
jl 0x427bf3
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x24], 0
mov edx, dword [sym.imp.USER32.dll_EnableMenuItem]
mov ebx, dword [ebp + 8]
je 0x427c78
test dword [edi + 0x90], 0x1000
jne 0x427c5b
test ebx, ebx
je 0x427c5b
xor eax, eax
jmp 0x427c60
mov eax, 1
push eax
mov eax, dword [edi + 0xb0]
add eax, 0x10000000
push eax
push dword [esi + 0x24]
call edx
mov edx, dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x427ca8
test dword [edi + 0x90], 0x1000
jne 0x427c93
test ebx, ebx
je 0x427c93
xor eax, eax
jmp 0x427c98
mov eax, 1
push eax
mov eax, dword [edi + 0xb0]
add eax, 0x10000000
push eax
push ecx
call edx
test dword [ebp - 4], 0x2000
je 0x427cfd
mov ecx, dword [esi + 0x24]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
test ecx, ecx
je 0x427cda
mov eax, dword [edi + 0x90]
shr eax, 0xa
and eax, 8
push eax
mov eax, dword [edi + 0xb0]
add eax, 0x10000000
push eax
push ecx
call ebx
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x427cfd
mov eax, dword [edi + 0x90]
shr eax, 0xa
and eax, 8
push eax
mov eax, dword [edi + 0xb0]
add eax, 0x10000000
push eax
push ecx
call ebx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret