Function at 0x10015eb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94c
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x948], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x14c]
push esi
sub eax, dword [ebx + 0x148]
push edi
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x168]
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [ebx + 0x164]
push 0x400
lea ecx, [esp + 0x154]
push ecx
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [ebx + 0x1a0], 0
je 0x10015ffd
mov ecx, dword [ebx + 0x13c]
lea eax, [esp + 0x150]
jmp 0x10015f30
mov dx, word [eax]
xor edi, edi
cmp dx, word [ecx]
jne 0x10015f58
cmp dx, di
je 0x10015f54
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10015f58
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10015f30
xor eax, eax
jmp 0x10015f5d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x10015fff
lea eax, [esp + 0x150]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10015f70
sub eax, edx
sar eax, 1
lea edi, [esp + 0x28]
mov esi, eax
call fcn.10062500
test esi, esi
jle 0x10015fab
mov edi, edi
push 0x25cf
push 0x10145b08
lea edx, [esp + 0x30]
call fcn.10062cd0
add esp, 8
sub esi, 1
jne 0x10015f90
cmp byte [esp + 0x144], 0
lea eax, [esp + 0x34]
jne 0x10015fbd
mov eax, dword [esp + 0x30]
add eax, 4
push eax
lea eax, [esp + 0x154]
push 0x400
push eax
call fcn.100d10c5
add esp, 0xc
cmp byte [esp + 0x144], 0
mov dword [esp + 0x28], vtable.t_str.0
jne 0x10015ffd
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x10015ffd
push eax
call fcn.100cf89b
add esp, 4
xor edi, edi
mov ecx, dword [ebx + 0x12c]
push edi
push edi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x164]
push edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edi
call fcn.1007acb0
mov ecx, dword [ebx + 0x130]
add esp, 0x18
cmp ecx, edi
je 0x10016041
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [ebx + 0x130], edi
push 0x34
call fcn.100cfcae
mov esi, eax
add esp, 4
cmp esi, edi
je 0x1001609d
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [esi], vtable.t_cuObject.0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 8], 1
mov dword [esi], vtable.t_cuCanvas.0
mov byte [esi + 0x10], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x18]
push 0xff
call fcn.10079510
jmp 0x1001609f
xor esi, esi
push 0xff
or cl, 0xff
cmp byte [ebx + 0x31], 0
mov dword [ebx + 0x130], esi
push 0xff
je 0x10016101
or bl, 0xff
call fcn.10079340
mov edi, dword [esp + 0x1c]
movzx ecx, byte [edi + 0x162]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 0x161]
push eax
push ecx
mov cl, byte [edi + 0x160]
or bl, 0xff
call fcn.10079340
mov edx, dword [esp + 0x20]
add esp, 0x10
push 0
push edx
push 0
push eax
push 0
push 0
lea eax, [esp + 0x168]
push eax
jmp 0x10016148
or bl, 0xff
call fcn.10079340
mov edi, dword [esp + 0x1c]
movzx ecx, byte [edi + 0x15d]
movzx edx, byte [edi + 0x15e]
push ecx
mov cl, byte [edi + 0x15c]
push edx
or bl, 0xff
mov dword [esp + 0x20], eax
call fcn.10079340
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0
push ecx
push 0
push eax
push 0
push 0
lea edx, [esp + 0x168]
push edx
mov eax, dword [edi + 0x12c]
mov ecx, esi
call fcn.10079d30
mov eax, dword [edi + 0x164]
push 0
push 0
push 0xd6
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x18]
movsx ecx, ax
mov eax, dword [edi + 0x164]
push edx
push eax
mov dword [edi + 0x150], ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x954]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100cf604
mov esp, ebp
pop ebp
ret