Function at 0x1001b6e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100350dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x45]
test ecx, ecx
jne 0x1001b756
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x45], 1
push 1
push 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [ebp - 0x74], 0x10
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x68], 1
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x80]
mov edx, dword [ebp - 0x24]
add ecx, dword [edx + 0x84]
mov eax, dword [ebp - 0x24]
add ecx, dword [eax + 0x8c]
mov edx, dword [ebp - 0x18]
sub edx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1001ba00
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
jne 0x1001b7e4
jmp 0x1001b7f4
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x30], eax
mov eax, dword [0x10035014]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
add ecx, 2
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005490
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x30]
add edx, 1
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.10008c70
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x150], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x40]
push eax
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.100281b0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea eax, [ebp - 0x28]
push eax
call fcn.100018b0
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x64]
push ecx
call sym.SetupCtrls.dll_int___cdecl_CtrlUtil::GetTextWidth_class_Gdiplus::Graphics___class_WTL::CString__class_Gdiplus::Font___int_
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x80]
mov edx, dword [ebp - 0x24]
add ecx, dword [edx + 0x84]
mov eax, dword [ebp - 0x24]
add ecx, dword [eax + 0x8c]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
sub edx, ecx
cmp dword [ebp - 0x50], edx
jle 0x1001b9af
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 3
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
add edx, 0x12c
push edx
push 0
push 0x439
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x128]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x20]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x14]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x412
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x128]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x24]
add edx, 0x12c
push edx
push 1
push 0x411
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x128]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x46], 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x15c]
mov dword [ebp - 0x54], ecx
push 0
push 0x50
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1001b9e2
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 0x46]
test eax, eax
je 0x1001b9e2
mov ecx, dword [ebp - 0x24]
add ecx, 0x12c
push ecx
push 0
push 0x411
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x128]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x46], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x64]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002010
jmp 0x1001ba33
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x46]
test ecx, ecx
je 0x1001ba33
mov edx, dword [ebp - 0x24]
add edx, 0x12c
push edx
push 0
push 0x411
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x128]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x46], 0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002916b
mov esp, ebp
pop ebp
ret 0x10