Function at 0x45e4a0
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 0x45e73f
mov ecx, dword [edi + 0x90]
push ebx
push esi
lea esi, [edi + 0x90]
test ecx, 0x100
je 0x45e4cf
mov ebx, 1
jmp 0x45e4ea
push dword [edi + 4]
push dword [edi + 8]
push 0x4b2860
call fcn.00462ae0
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 0x45e4fa
mov eax, ecx
or eax, dword [ebp + 0xc]
jmp 0x45e501
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 0x45e521
mov eax, dword [edi + 0x94]
and eax, 1
cmp ebx, eax
je 0x45e73d
mov eax, ebx
mov dword [edi + 0x94], ebx
not eax
and eax, 1
push eax
push 0x8000
push esi
call fcn.004223b0
add esp, 0xc
test dword [ebp - 4], 0x4000
je 0x45e5cd
mov esi, dword [0x54f790]
xor ebx, ebx
cmp dword [esi], ebx
jle 0x45e5b8
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 0x45e57f
mov ecx, dword [ecx + 0x10]
nop dword [eax + eax]
cmp edi, dword [ecx]
je 0x45e57c
inc eax
add ecx, 4
cmp eax, edx
jl 0x45e570
mov ecx, dword [ebp + 8]
cmp eax, edx
jge 0x45e5b3
mov eax, dword [edi + 0x90]
lea esi, [ecx + 0x1c]
and eax, 0x50
push eax
push 8
push esi
call fcn.004223b0
mov eax, dword [edi + 0x90]
and eax, 0x20
push eax
push 0x10
push esi
call fcn.004223b0
mov esi, dword [0x54f790]
add esp, 0x18
inc ebx
cmp ebx, dword [esi]
jl 0x45e556
push 0
push 0
push 0
call fcn.0045eac0
add esp, 0xc
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x98]
test ecx, ecx
je 0x45e619
test dword [esi], 0x1000
jne 0x45e5ea
test ebx, ebx
je 0x45e5ea
mov eax, 1
jmp 0x45e5ec
xor eax, eax
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
test dword [ebp - 4], 0x2000
je 0x45e619
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 [0x54f790]
xor ebx, ebx
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jle 0x45e73d
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov esi, dword [eax]
cmp dword [esi + 0x24], 0
jne 0x45e641
cmp dword [esi + 0x28], 0
je 0x45e666
mov edx, dword [esi + 0xc]
xor ecx, ecx
test edx, edx
jle 0x45e65f
mov eax, dword [esi + 0x10]
nop dword [eax]
cmp edi, dword [eax]
je 0x45e65c
inc ecx
add eax, 4
cmp ecx, edx
jl 0x45e650
mov eax, dword [ebp - 8]
cmp ecx, edx
jl 0x45e678
mov ecx, dword [ebp - 0xc]
inc ebx
add eax, 4
mov dword [ebp - 8], eax
cmp ebx, ecx
jl 0x45e633
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 0x45e6b8
test dword [edi + 0x90], 0x1000
jne 0x45e69b
test ebx, ebx
je 0x45e69b
xor eax, eax
jmp 0x45e6a0
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 0x45e6e8
test dword [edi + 0x90], 0x1000
jne 0x45e6d3
test ebx, ebx
je 0x45e6d3
xor eax, eax
jmp 0x45e6d8
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 0x45e73d
mov ecx, dword [esi + 0x24]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
test ecx, ecx
je 0x45e71a
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 0x45e73d
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