Function at 0x1000d700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10104b40
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1015050c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
call fcn.10005390
mov ecx, eax
test ecx, ecx
je 0x1000d966
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x74], esi
push dword [ebx + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x1000d970
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x1000d785
push edi
lea ecx, [ebp - 0x74]
call fcn.10005720
mov esi, dword [ebp - 0x74]
push edi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x1000d7a1
push dword [esi - 8]
push esi
call fcn.100aa9d3
add esp, 8
test eax, eax
js 0x1000d970
cmp eax, dword [esi - 8]
jg 0x1000d970
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.10005390
mov ecx, eax
test ecx, ecx
je 0x1000d97a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], eax
lea eax, [ebx + 0x24]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.1000adf0
cmp dword [esi - 0xc], 0
mov edi, dword [ebp - 0x6c]
jne 0x1000d903
cmp dword [edi - 0xc], 0
je 0x1000d903
mov eax, dword [ebx + 4]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x6c]
cmp eax, ecx
jne 0x1000d819
cmp dword [ebx + 0x28], 0
je 0x1000d903
lea eax, [ebp - 0x60]
mov dword [ebp - 0x68], 0
push eax
push ecx
mov dword [ebp - 0x64], ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0x31
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1000d860
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 4]
mov dword [ebp - 0x70], eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
push dword [ebp - 0x68]
push 0x133
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1000d8a8
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_FillRect]
push 0xd7d7d7
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 4
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push dword [edi - 0xc]
push edi
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x70]
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0x68], 0
jmp 0x1000d90c
mov eax, dword [ebp - 0x70]
mov dword [eax], 0
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000d92a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1000d946
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.100047f0
push 0x80070057
call fcn.100047f0
push 0x80004005
call fcn.100047f0
int3