Function at 0x100e2b41
Capabilities:
Get graphical window text

Disassembly:
push 0x1c
mov eax, 0x1018ec1d
call fcn.10145d80
mov esi, ecx
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
push dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
push edi
lea ecx, [ebp - 0x10]
call fcn.1000401e
push ebx
lea ecx, [ebp - 0x10]
call fcn.1000401e
push edi
push eax
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100041f7
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.10007ade
call fcn.10125b1d
cmp eax, ebx
pop ecx
jne 0x100e2bd2
push 0x10
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [eax], 0x98
mov eax, esp
mov dword [eax], 0x106
mov dword [ebp - 0x18], esp
push dword [esi + 4]
call fcn.10029204
add esp, 0x10
jmp 0x100e2d65
mov eax, dword [0x101f3028]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x101f844c
mov byte [ebp - 4], 1
call fcn.1003ba9c
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
jne 0x100e2c17
push 0x10
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [eax], 0x98
mov eax, esp
mov dword [ebp - 0x18], esp
mov dword [eax], 0x106
jmp 0x100e2d52
mov eax, dword [esi + 0x30]
or dword [ebp - 0x18], 0xffffffff
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x1a2
je 0x100e2c3d
push ecx
push 0xffffffffffffffff
push ebx
push dword [eax]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x100e2c8d
mov eax, dword [esi + 0x34]
xor ecx, ecx
sub eax, ecx
je 0x100e2c50
dec eax
jne 0x100e2c55
mov ecx, 0x107
jmp 0x100e2c55
mov ecx, pe_nt_image_headers32
push 0x24
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push ecx
mov dword [eax], 0x98
movzx ecx, cx
mov eax, esp
mov dword [eax], ecx
mov dword [ebp - 0x1c], esp
push dword [esi + 4]
call fcn.10029204
add esp, 0x10
cmp eax, 7
je 0x100e2d5d
push dword [ebp - 0x18]
mov ecx, dword [esi + 0x30]
call fcn.100e2322
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x100e2d21
push dword [ebp - 0x14]
push 0xffffffffffffffff
push ebx
push dword [eax]
call edi
cmp eax, 0xffffffff
jne 0x100e2d21
push dword [ebp - 0x14]
mov eax, dword [esi + 0x2c]
xor ebx, ebx
push ebx
push 0x181
push dword [eax]
call edi
push dword [esi + 4]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
call fcn.10065c40
cmp dword [ebp - 0x18], 0xffffffff
je 0x100e2d04
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
lea edx, [ebp - 0x28]
push edx
push ecx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x100e2d04
mov eax, dword [esi + 0x2c]
push ebx
push ebx
push 0x193
push dword [eax]
call edi
cmp dword [ebp - 0x28], eax
jle 0x100e2d04
push dword [ebp - 0x28]
mov ecx, dword [esi + 0x2c]
call fcn.100e230c
lea ecx, [ebp - 0x20]
call fcn.10065c5c
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x10]
call fcn.10003b75
xor eax, eax
inc eax
jmp 0x100e2d6f
mov eax, dword [esi + 0x34]
xor ecx, ecx
sub eax, ecx
je 0x100e2d34
dec eax
jne 0x100e2d39
mov ecx, 0x109
jmp 0x100e2d39
mov ecx, 0xd3
push 0x10
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push ecx
mov dword [eax], 0x98
movzx ecx, cx
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax], ecx
push dword [esi + 4]
call fcn.10029204
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x10]
call fcn.10003b75
xor eax, eax
call fcn.10145e58
ret