Function at 0x45ef10
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 0x45f1af
mov ecx, dword [edi + 0x90]
push ebx
push esi
lea esi, [edi + 0x90]
test ecx, 0x100
je 0x45ef3f
mov ebx, 1
jmp 0x45ef5a
push dword [edi + 4]
push dword [edi + 8]
push 0x4b2b58
call fcn.00463540
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 0x45ef6a
mov eax, ecx
or eax, dword [ebp + 0xc]
jmp 0x45ef71
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 0x45ef91
mov eax, dword [edi + 0x94]
and eax, 1
cmp ebx, eax
je 0x45f1ad
mov eax, ebx
mov dword [edi + 0x94], ebx
not eax
and eax, 1
push eax
push 0x8000
push esi
call fcn.00422f10
add esp, 0xc
test dword [ebp - 4], 0x4000
je 0x45f03d
mov esi, dword [0x550790]
xor ebx, ebx
cmp dword [esi], ebx
jle 0x45f028
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 0x45efef
mov ecx, dword [ecx + 0x10]
nop dword [eax + eax]
cmp edi, dword [ecx]
je 0x45efec
inc eax
add ecx, 4
cmp eax, edx
jl 0x45efe0
mov ecx, dword [ebp + 8]
cmp eax, edx
jge 0x45f023
mov eax, dword [edi + 0x90]
lea esi, [ecx + 0x1c]
and eax, 0x50
push eax
push 8
push esi
call fcn.00422f10
mov eax, dword [edi + 0x90]
and eax, 0x20
push eax
push 0x10
push esi
call fcn.00422f10
mov esi, dword [0x550790]
add esp, 0x18
inc ebx
cmp ebx, dword [esi]
jl 0x45efc6
push 0
push 0
push 0
call fcn.0045f520
add esp, 0xc
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x98]
test ecx, ecx
je 0x45f089
test dword [esi], 0x1000
jne 0x45f05a
test ebx, ebx
je 0x45f05a
mov eax, 1
jmp 0x45f05c
xor eax, eax
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
test dword [ebp - 4], 0x2000
je 0x45f089
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 [0x550790]
xor ebx, ebx
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jle 0x45f1ad
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov esi, dword [eax]
cmp dword [esi + 0x24], 0
jne 0x45f0b1
cmp dword [esi + 0x28], 0
je 0x45f0d6
mov edx, dword [esi + 0xc]
xor ecx, ecx
test edx, edx
jle 0x45f0cf
mov eax, dword [esi + 0x10]
nop dword [eax]
cmp edi, dword [eax]
je 0x45f0cc
inc ecx
add eax, 4
cmp ecx, edx
jl 0x45f0c0
mov eax, dword [ebp - 8]
cmp ecx, edx
jl 0x45f0e8
mov ecx, dword [ebp - 0xc]
inc ebx
add eax, 4
mov dword [ebp - 8], eax
cmp ebx, ecx
jl 0x45f0a3
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 0x45f128
test dword [edi + 0x90], 0x1000
jne 0x45f10b
test ebx, ebx
je 0x45f10b
xor eax, eax
jmp 0x45f110
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 0x45f158
test dword [edi + 0x90], 0x1000
jne 0x45f143
test ebx, ebx
je 0x45f143
xor eax, eax
jmp 0x45f148
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 0x45f1ad
mov ecx, dword [esi + 0x24]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
test ecx, ecx
je 0x45f18a
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 0x45f1ad
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