Function at 0x1023eb4
Capabilities:
Get graphical window text

Disassembly:
mov eax, reloc.ADVAPI32.dll_AddAccessAllowedAce
call fcn.01077868
sub esp, 0x1c
mov eax, dword [0x10de03c]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x1c], eax
je 0x1024115
call fcn.01021502
push eax
push dword [0x10e25b0]
call fcn.01081933
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
call fcn.01076700
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.010762c8
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.010763c4
mov ecx, esi
call fcn.0107643c
mov ecx, esi
call fcn.01076628
mov eax, dword [ebp - 0x1c]
cmp dword [eax], ebx
je 0x102405a
mov eax, dword [edi + 8]
xor ecx, ecx
cmp eax, 1
mov eax, dword [esi]
sete cl
cmp dword [eax - 8], ebx
mov dword [ebp - 0x20], ecx
jne 0x1023f6a
cmp ecx, ebx
jne 0x102405a
push 1
push ebx
push reloc.KERNEL32.dll_LoadLibraryW
push ebx
push 0x4e4d
jmp 0x1023f88
push eax
call fcn.010259fb
test eax, eax
jne 0x1023f9f
cmp dword [ebp - 0x20], ebx
jne 0x102405a
push 1
push ebx
push reloc.KERNEL32.dll_LoadLibraryW
push ebx
push 0x4ea8
push 0x4ea9
call fcn.01054bf6
mov ecx, dword [ebp - 0x1c]
call fcn.010766f4
jmp 0x1024115
push dword [esi]
call fcn.01025a71
test eax, eax
jne 0x1024049
cmp dword [ebp - 0x20], ebx
jne 0x102405a
lea ecx, [ebp - 0x28]
call fcn.01075f2c
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.01075f2c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.01075f2c
push 0x4e8c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.01075f5c
push 0x4e40
lea ecx, [ebp - 0x24]
call fcn.01075f5c
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push dword [ebp - 0x28]
push eax
call fcn.01075f50
add esp, 0xc
push 1
push ebx
push reloc.KERNEL32.dll_LoadLibraryW
push ebx
push dword [ebp - 0x20]
push 0x4ea9
call fcn.01054b96
mov ecx, dword [ebp - 0x1c]
call fcn.010766f4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.01075ef0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.01075ef0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.01075ef0
jmp 0x1024115
push esi
lea ecx, [edi + 0xa0]
call fcn.01075efc
jmp 0x1024115
push esi
mov ecx, edi
call fcn.01023e97
push dword [esi]
call fcn.01025a71
test eax, eax
jne 0x1024102
mov eax, dword [0x1004ba0]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1004ba4]
push 0x41
mov dword [ebp - 0x14], eax
pop ebx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], bx
call fcn.01025a71
test eax, eax
jne 0x102409f
mov ax, bx
inc ebx
cmp ax, 0x5a
jb 0x1024084
lea eax, [ebp - 0x18]
push eax
call fcn.01025a71
test eax, eax
je 0x10240d3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.01075f08
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0xa0]
mov dword [ebp - 4], 3
call fcn.01075efc
lea ecx, [ebp - 0x28]
jmp 0x10240f9
push 0x100205c
lea ecx, [ebp - 0x1c]
call fcn.01075f08
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0xa0]
mov dword [ebp - 4], 4
call fcn.01075efc
lea ecx, [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call fcn.01075ef0
push esi
mov ecx, edi
call fcn.01023e97
push dword [esi]
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01075bbb
leave
ret 0x10