Function at 0x100327fc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esi + 0x20]
mov ebx, eax
test edi, edi
je 0x100329f9
cmp ebx, 0xff
jg 0x100329f9
test ebx, ebx
jle 0x100329f9
lea ecx, [esi + 0x28]
push 0xffffffffffffffff
call fcn.10031fbd
mov eax, dword [edi + 4]
push 0xc
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 8]
pop edx
mov dword [ebp - 8], ecx
cmp eax, edx
jb 0x100329a9
cmp ecx, edx
jb 0x100329a9
mov edx, dword [esi + 0x10]
cmp edx, eax
jbe 0x100329d4
cmp edx, ecx
jbe 0x100329d4
cmp eax, ecx
je 0x100329d4
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
mov ecx, esi
push dword [ebp + 8]
call fcn.10032ad7
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
mov dword [ebp - 0xc], 1
jne 0x100328a0
mov dword [ebp - 0x18], eax
jmp 0x10032915
mov ecx, dword [esi + 0x10]
push dword [esi + 0x10]
mov edx, ecx
add ecx, 0xfffffff4
sub edx, dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 0x14]
lea eax, [edx + eax - 0xc]
xor edx, edx
div ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push dword [esi + 0x20]
dec edx
mov dword [ebp - 0x10], edx
call fcn.10033290
lea eax, [ebx + 1]
cmp dword [ebp - 0x10], eax
jge 0x10032905
lea eax, [ebp - 1]
lea ecx, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100332ba
test eax, eax
jne 0x10032901
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax + 1]
lea ecx, [ebx + 1]
cmp eax, ecx
mov dword [ebp - 0x10], eax
jl 0x100328d6
jmp 0x10032905
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x18], eax
je 0x10032999
mov ecx, dword [ebp - 8]
mov eax, ecx
sub eax, dword [esi + 0x10]
lea eax, [eax + ebx + 1]
test eax, eax
mov dword [ebp - 0x10], eax
jge 0x1003292c
and dword [ebp - 0x10], 0
mov eax, dword [esi + 0x20]
cmp dword [ebp - 0x10], ebx
mov byte [ecx + eax], bl
jge 0x10032953
mov ecx, dword [ebp - 8]
mov eax, ebx
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x20]
push dword [ebp + 8]
lea eax, [ecx + eax + 1]
push eax
call fcn.10013c5e
add esp, 0xc
cmp dword [ebp - 0x10], 0
jle 0x10032974
push dword [ebp - 0x10]
mov eax, ebx
sub eax, dword [ebp - 0x10]
add eax, dword [ebp + 8]
push eax
mov eax, dword [esi + 0x20]
add eax, 0xc
push eax
call fcn.10013c5e
add esp, 0xc
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 8]
add eax, ecx
add ecx, 0xfffffff4
xor edx, edx
lea eax, [eax + ebx - 0x17]
div ecx
mov eax, dword [ebp - 0x18]
add edx, 0xc
cmp dword [ebp - 0xc], 0
mov dword [ebp - 8], edx
mov dword [edi + 4], eax
jne 0x1003299f
cmp dword [ebp - 0x1c], 0
je 0x100329d4
mov eax, dword [ebp - 8]
inc dword [edi]
mov dword [edi + 8], eax
jmp 0x100329d4
inc dword [edi]
lea eax, [ebx + 0xd]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov eax, dword [esi + 0x20]
push ebx
push dword [ebp + 8]
mov byte [eax + 0xc], bl
mov eax, dword [esi + 0x20]
add eax, 0xd
push eax
call fcn.10013c5e
add esp, 0xc
mov dword [ebp - 0xc], 1
lea ecx, [esi + 0x28]
call fcn.10031ffe
cmp dword [ebp - 0xc], 0
je 0x100329f9
mov esi, dword [esi + 0x14]
test esi, esi
je 0x100329f9
push 1
push 0xd
push 0x100
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 4