Function at 0x10024bc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a6b7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x5c
mov eax, dword [0x100a71bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.10027b60
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10024c10
mov eax, 0x80070006
jmp 0x10024e7a
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
call sym.Enable40.dll_enaIsEditWindow
test eax, eax
jne 0x10024c2e
mov eax, 0x80070057
jmp 0x10024e7a
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
push 0
push 0x43c
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x10024d3f
cmp dword [ebp - 0x20], 0
je 0x10024d3f
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push ecx
push 0x100a03d8
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
cmp dword [ebp - 0x2c], 0
jl 0x10024d3f
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x28]
push edx
push MenuHelp
push 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
cmp dword [ebp - 0x2c], 0
jl 0x10024d3f
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x17c]
add ecx, 1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1498], ecx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10027770
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x2c]
jmp 0x10024e7a
push 0
push 0
push 0xe
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
call fcn.10045760
mov dword [ebp - 0x4c], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x10024d79
mov eax, 0x8007000e
jmp 0x10024e7a
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1004b6b0
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
sub eax, 1
cmp eax, dword [ebp - 0x38]
je 0x10024e2b
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xffffffff
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1004525e
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x30]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.10065850
add esp, 0xc
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0x44b
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1004b6b0
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x10024e2b
push 0
push 0x80040414
mov ecx, dword [ebp - 0x18]
call fcn.10039dd0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
jmp 0x10024e7a
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x17c]
add edx, 1
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x1498], edx
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10027860
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
jmp 0x10024e7a
lea esp, [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100454bc
mov esp, ebp
pop ebp
ret 8