Function at 0x427360
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 0x4275ff
mov ecx, dword [edi + 0x90]
push ebx
push esi
lea esi, [edi + 0x90]
test ecx, 0x100
je 0x42738f
mov ebx, 1
jmp 0x4273aa
push dword [edi + 4]
push dword [edi + 8]
push str._s_s
call fcn.0041f900
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 0x4273ba
mov eax, ecx
or eax, dword [ebp + 0xc]
jmp 0x4273c1
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 0x4273e1
mov eax, dword [edi + 0x94]
and eax, 1
cmp ebx, eax
je 0x4275fd
mov eax, ebx
mov dword [edi + 0x94], ebx
not eax
and eax, 1
push eax
push 0x8000
push esi
call fcn.00409d50
add esp, 0xc
test dword [ebp - 4], 0x4000
je 0x42748d
mov esi, dword [0x4e7244]
xor ebx, ebx
cmp dword [esi], ebx
jle 0x427478
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 0x42743f
mov ecx, dword [ecx + 0x10]
nop dword [eax + eax]
cmp edi, dword [ecx]
je 0x42743c
inc eax
add ecx, 4
cmp eax, edx
jl 0x427430
mov ecx, dword [ebp + 8]
cmp eax, edx
jge 0x427473
mov eax, dword [edi + 0x90]
lea esi, [ecx + 0x1c]
and eax, 0x50
push eax
push 8
push esi
call fcn.00409d50
mov eax, dword [edi + 0x90]
and eax, 0x20
push eax
push 0x10
push esi
call fcn.00409d50
mov esi, dword [0x4e7244]
add esp, 0x18
inc ebx
cmp ebx, dword [esi]
jl 0x427416
push 0
push 0
push 0
call fcn.00427970
add esp, 0xc
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x98]
test ecx, ecx
je 0x4274d9
test dword [esi], 0x1000
jne 0x4274aa
test ebx, ebx
je 0x4274aa
mov eax, 1
jmp 0x4274ac
xor eax, eax
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
test dword [ebp - 4], 0x2000
je 0x4274d9
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 [0x4e7244]
xor ebx, ebx
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jle 0x4275fd
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov esi, dword [eax]
cmp dword [esi + 0x24], 0
jne 0x427501
cmp dword [esi + 0x28], 0
je 0x427526
mov edx, dword [esi + 0xc]
xor ecx, ecx
test edx, edx
jle 0x42751f
mov eax, dword [esi + 0x10]
nop dword [eax]
cmp edi, dword [eax]
je 0x42751c
inc ecx
add eax, 4
cmp ecx, edx
jl 0x427510
mov eax, dword [ebp - 8]
cmp ecx, edx
jl 0x427538
mov ecx, dword [ebp - 0xc]
inc ebx
add eax, 4
mov dword [ebp - 8], eax
cmp ebx, ecx
jl 0x4274f3
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 0x427578
test dword [edi + 0x90], 0x1000
jne 0x42755b
test ebx, ebx
je 0x42755b
xor eax, eax
jmp 0x427560
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 0x4275a8
test dword [edi + 0x90], 0x1000
jne 0x427593
test ebx, ebx
je 0x427593
xor eax, eax
jmp 0x427598
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 0x4275fd
mov ecx, dword [esi + 0x24]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
test ecx, ecx
je 0x4275da
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 0x4275fd
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