Function at 0x100c147
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100f946
call fcn.0100e880
sub esp, 0x254
push esi
mov esi, ecx
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
cmp dword [0x10136e4], 0
je 0x100c17f
lea ecx, [esi + 0x1d4]
call fcn.010045f3
jmp 0x100c391
push ebx
mov ebx, dword [0x1013784]
test ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
jne 0x100c19e
lea ecx, [esi + 0x1d4]
call fcn.010045f3
jmp 0x100c38f
mov eax, ebx
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
test edi, edi
pop ecx
mov dword [ebp - 0x24], edi
je 0x100c38f
test ebx, ebx
jle 0x100c1c1
mov ecx, ebx
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x1d4]
call fcn.010045e0
and dword [ebp - 0x10], 0
test eax, eax
mov dword [ebp - 0x1c], eax
jle 0x100c2d3
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x50], 0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0x104b
push dword [esi + 0x1f4]
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x40], 0x104
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x100c2b0
xor edi, edi
test ebx, ebx
jle 0x100c2b0
push edi
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x101377c
call fcn.01008bf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov ebx, eax
neg ebx
sbb bl, bl
pop ecx
pop ecx
inc bl
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
test bl, bl
jne 0x100c273
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x100c22f
jmp 0x100c2a9
lea eax, [ebp - 0x58]
push eax
push 0
push 0x104c
push dword [esi + 0x1f4]
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x38], edi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push dword [ebp - 0x10]
mov ecx, esi
call fcn.0100bbd8
mov eax, dword [ebp - 0x24]
mov dword [eax + edi*4], 1
mov ebx, dword [ebp - 0x14]
cmp edi, ebx
jl 0x100c2c4
push dword [ebp - 0x10]
lea ecx, [esi + 0x1d4]
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 0x100c1db
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jle 0x100c386
mov eax, dword [ebp - 0x24]
cmp dword [eax + ebx*4], 0
jne 0x100c37c
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x1d4]
mov dword [ebp - 0x58], 5
mov dword [ebp - 0x38], ebx
call fcn.010045e0
and dword [ebp - 0x50], 0
mov dword [ebp - 0x54], eax
push ebx
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x101377c
call fcn.01008bf0
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::operator_3
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
mov dword [ebp - 0x44], eax
je 0x100c37c
lea eax, [ebp - 0x58]
push eax
push 0
push 0x104d
push dword [esi + 0x1f4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov edi, eax
call sub.MFC42u.DLL_CString::ReleaseBuffer
push ebx
push edi
mov ecx, esi
call fcn.0100bbd8
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x100c2de
push dword [ebp - 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret