Function at 0x10023d0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7e4
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x7dc], eax
mov byte [ebp - 0x7d5], 0
je 0x100d233
cmp dword [ebp + 8], 0x111
je 0x1002ef6
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x7d5]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001e8f
leave
ret 0xc
mov ebx, dword [ebp + 0xc]
mov eax, ebx
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0x7e4], 6
test ecx, ecx
jl 0x1002f53
cmp ecx, 1
jg 0x100d403
test ax, ax
jne 0x1029de8
mov esi, dword [0x1055944]
push 0x1002340
push esi
mov dword [ebp - 0x7e0], esi
call fcn.010022e8
test al, al
jne 0x1029df5
push 0x1002f7c
push esi
call fcn.010022e8
test al, al
jne 0x1029ec4
push 0x1002f7c
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.010022e8
test al, al
jne 0x1002415
push dword [ebp - 0x7dc]
call fcn.01002e32
jmp 0x1002415
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
mov eax, dword [0x1054338]
mov eax, dword [eax + 8]
mov esi, dword [eax + 4]
push ebx
call edi
cmp esi, eax
jne 0x1002415
jmp 0x1029d1d
cmp ecx, 3
jle 0x1002f53
cmp ecx, 5
jle 0x101ab74
cmp ecx, 7
je 0x101ab74
cmp ecx, 0x200
je 0x101ab74
cmp ecx, 0x400
jne 0x1002f53
mov eax, dword [ebp - 0x7dc]
mov dword [ebp - 0x7e0], eax
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x7e0]
push eax
mov ecx, 0x1054aa8
call fcn.0100d20a
test al, al
je 0x1002f53
cmp byte [0x10559ae], 0
jne 0x1029d5d
mov esi, 0x1f4
push esi
lea eax, [ebp - 0x3ec]
push eax
push dword [ebp - 0x7dc]
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x3ec]
push eax
push esi
lea eax, [ebp - 0x7d4]
push eax
call fcn.010032c5
xor ebx, ebx
cmp word [ebp - 0x7d4], bx
je 0x102295a
movzx esi, word [ebp - 0x7d4]
jmp 0x1022933
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
mov eax, dword [0x1054338]
mov eax, dword [eax + 8]
mov esi, dword [eax + 4]
push ebx
call edi
cmp esi, eax
jne 0x1002f53
jmp 0x1029dbc
push dword [ebp - 0x7e4]
push esi
call fcn.01022976
test al, al
je 0x102294c
mov word [ebp + edi*2 - 0x3ec], si
inc edi
movzx esi, word [ebp + ebx*2 - 0x7d2]
inc ebx
test si, si
jne 0x1022933
xor eax, eax
mov word [ebp + edi*2 - 0x3ec], ax
cmp ebx, edi
je 0x1002f53
jmp 0x1029d69
mov esi, dword [ebp - 0x7dc]
test esi, esi
je 0x1002415
cmp dword [0x1054304], 3
je 0x1029d3f
mov dword [0x1055944], esi
jmp 0x1002415
push 0x1002484
push ebx
call fcn.010022e8
test al, al
je 0x1002415
mov dword [0x1055944], esi
jmp 0x1002408
mov byte [ebp - 0x7d5], 1
jmp 0x1002f53
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push eax
push 0xb0
push dword [ebp - 0x7dc]
call esi
mov edi, eax
lea eax, [ebp - 0x3ec]
push eax
push dword [ebp - 0x7dc]
mov byte [0x10559ae], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
movzx eax, di
lea ecx, [eax - 1]
push ecx
dec eax
push eax
push 0xb1
push dword [ebp - 0x7dc]
mov byte [0x10559ae], 0
call esi
jmp 0x1002f53
cmp dword [0x1054304], 3
jne 0x1029dd8
push 0x1002484
push ebx
call fcn.010022e8
test al, al
je 0x1002f53
mov eax, dword [ebp - 0x7dc]
mov dword [0x1055944], eax
jmp 0x1002f53
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
jmp 0x1002f27
push 0x53
pop eax
mov byte [ebp - 0x7d5], 1
cmp ax, bx
jne 0x1029e0d
push 0
push 8
jmp 0x1029ea5
mov eax, 0x12d
cmp ax, bx
jne 0x1029e25
push 0
push 0
push 0x302
jmp 0x1029eaa
mov eax, 0x12c
cmp ax, bx
jne 0x1029e3a
push 0
push 0
push 0x301
jmp 0x1029eaa
mov eax, 0xa8
cmp ax, bx
je 0x1029ea1
push 0x79
pop eax
cmp ax, bx
je 0x1029ea1
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x7e0]
push eax
mov ecx, 0x1054aa8
call fcn.0100d20a
test al, al
je 0x1029eb1
movzx edx, bx
push edx
call fcn.01039df9
test al, al
je 0x1029e7e
mov byte [ebp - 0x7d5], 0
jmp 0x1029eb1
push dword [ebp - 0x7e4]
push edx
call fcn.01039d73
test al, al
je 0x1029eb1
push edx
call fcn.01039e7a
test eax, eax
je 0x1029eb1
push eax
push esi
call fcn.01039d40
jmp 0x1029eb1
push 0
push 0xd
push 0x102
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
and dword [0x1055944], 0
jmp 0x1002415
movzx eax, bx
push eax
call fcn.01039df9
test al, al
jne 0x1002f53
push esi
mov byte [ebp - 0x7d5], 1
call dword [sym.imp.USER32.dll_SetFocus]
and dword [0x1055944], 0
jmp 0x1002f53