Function at 0x1023e14
Capabilities:
Get graphical window text

Disassembly:
mov eax, reloc.ADVAPI32.dll_AddAccessAllowedAce
call fcn.01077798
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 0x1024075
call fcn.0102146d
push eax
push dword [0x10e25b0]
call fcn.01081841
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
call fcn.01076634
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.010761fc
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.010762f8
mov ecx, esi
call fcn.01076370
mov ecx, esi
call fcn.0107655c
mov eax, dword [ebp - 0x1c]
cmp dword [eax], ebx
je 0x1023fba
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 0x1023eca
cmp ecx, ebx
jne 0x1023fba
push 1
push ebx
push reloc.KERNEL32.dll_LoadLibraryW
push ebx
push 0x4e4d
jmp 0x1023ee8
push eax
call fcn.0102595b
test eax, eax
jne 0x1023eff
cmp dword [ebp - 0x20], ebx
jne 0x1023fba
push 1
push ebx
push reloc.KERNEL32.dll_LoadLibraryW
push ebx
push 0x4ea8
push 0x4ea9
call fcn.01054be3
mov ecx, dword [ebp - 0x1c]
call fcn.01076628
jmp 0x1024075
push dword [esi]
call fcn.010259d1
test eax, eax
jne 0x1023fa9
cmp dword [ebp - 0x20], ebx
jne 0x1023fba
lea ecx, [ebp - 0x28]
call fcn.01075e60
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.01075e60
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.01075e60
push 0x4e8c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.01075e90
push 0x4e40
lea ecx, [ebp - 0x24]
call fcn.01075e90
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push dword [ebp - 0x28]
push eax
call fcn.01075e84
add esp, 0xc
push 1
push ebx
push reloc.KERNEL32.dll_LoadLibraryW
push ebx
push dword [ebp - 0x20]
push 0x4ea9
call fcn.01054b83
mov ecx, dword [ebp - 0x1c]
call fcn.01076628
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.01075e24
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.01075e24
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.01075e24
jmp 0x1024075
push esi
lea ecx, [edi + 0xa0]
call fcn.01075e30
jmp 0x1024075
push esi
mov ecx, edi
call fcn.01023df7
push dword [esi]
call fcn.010259d1
test eax, eax
jne 0x1024062
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.010259d1
test eax, eax
jne 0x1023fff
mov ax, bx
inc ebx
cmp ax, 0x5a
jb 0x1023fe4
lea eax, [ebp - 0x18]
push eax
call fcn.010259d1
test eax, eax
je 0x1024033
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.01075e3c
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0xa0]
mov dword [ebp - 4], 3
call fcn.01075e30
lea ecx, [ebp - 0x28]
jmp 0x1024059
push 0x100205c
lea ecx, [ebp - 0x1c]
call fcn.01075e3c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0xa0]
mov dword [ebp - 4], 4
call fcn.01075e30
lea ecx, [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call fcn.01075e24
push esi
mov ecx, edi
call fcn.01023df7
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.01075aef
leave
ret 0x10