Function at 0x100620d
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100f2f8
call fcn.0100e880
sub esp, 0x250
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
mov edi, dword [esi + 0xf0]
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x100624a
lea ecx, [esi + 0x19c]
call fcn.010045f3
jmp 0x100640b
mov eax, edi
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp - 0x20], eax
je 0x100640b
test edi, edi
jle 0x100626e
mov ecx, edi
mov edi, dword [ebp - 0x20]
xor eax, eax
rep stosd dword es:[edi], eax
push ebx
lea ecx, [esi + 0x19c]
call fcn.010045e0
and dword [ebp - 0x10], 0
test eax, eax
mov dword [ebp - 0x1c], eax
jle 0x100635e
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0x104b
push dword [esi + 0x1bc]
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x3c], 0x104
call ebx
test eax, eax
je 0x100633b
xor edi, edi
cmp dword [ebp - 0x18], edi
jle 0x100633b
push edi
lea ecx, [esi + 0xe8]
call fcn.0100a98b
lea ecx, [ebp - 0x25c]
add eax, 4
push ecx
push dword [eax]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x1006304
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x10062d8
jmp 0x1006336
lea eax, [ebp - 0x54]
push eax
push 0
push 0x104c
push dword [esi + 0x1bc]
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x34], edi
call ebx
push edi
push dword [ebp - 0x10]
mov ecx, esi
call fcn.01005b4c
mov eax, dword [ebp - 0x20]
mov dword [eax + edi*4], 1
cmp edi, dword [ebp - 0x18]
jl 0x100634f
push dword [ebp - 0x10]
lea ecx, [esi + 0x19c]
call fcn.010058b5
dec dword [ebp - 0x10]
dec dword [ebp - 0x1c]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jl 0x1006289
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
jle 0x1006401
mov eax, dword [ebp - 0x20]
cmp dword [eax + ebx*4], 0
jne 0x10063f7
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x19c]
mov dword [ebp - 0x54], 5
mov dword [ebp - 0x34], ebx
call fcn.010045e0
and dword [ebp - 0x4c], 0
push ebx
lea ecx, [esi + 0xe8]
mov dword [ebp - 0x50], eax
call fcn.0100a98b
add eax, 4
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::operator_3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
mov dword [ebp - 0x40], eax
je 0x10063f7
lea eax, [ebp - 0x54]
push eax
push 0
push 0x104d
push dword [esi + 0x1bc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov edi, eax
call sub.MFC42u.DLL_CString::ReleaseBuffer
push ebx
push edi
mov ecx, esi
call fcn.01005b4c
inc ebx
cmp ebx, dword [ebp - 0x18]
jl 0x1006369
push dword [ebp - 0x20]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret