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 0x1029dec
mov esi, dword [0x1055944]
push 0x1002340
push esi
mov dword [ebp - 0x7e0], esi
call fcn.010022e8
test al, al
jne 0x1029df9
push 0x1002f7c
push esi
call fcn.010022e8
test al, al
jne 0x1029ec8
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 0x1029d21
cmp ecx, 3
jle 0x1002f53
cmp ecx, 5
jle 0x101ab70
cmp ecx, 7
je 0x101ab70
cmp ecx, 0x200
je 0x101ab70
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 0x1029d61
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.010032cd
xor ebx, ebx
cmp word [ebp - 0x7d4], bx
je 0x1022952
movzx esi, word [ebp - 0x7d4]
jmp 0x102292b
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 0x1029dc0
push dword [ebp - 0x7e4]
push esi
call fcn.0102296e
test al, al
je 0x1022944
mov word [ebp + edi*2 - 0x3ec], si
inc edi
movzx esi, word [ebp + ebx*2 - 0x7d2]
inc ebx
test si, si
jne 0x102292b
xor eax, eax
mov word [ebp + edi*2 - 0x3ec], ax
cmp ebx, edi
je 0x1002f53
jmp 0x1029d6d
mov esi, dword [ebp - 0x7dc]
test esi, esi
je 0x1002415
cmp dword [0x1054304], 3
je 0x1029d43
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 pe_nt_image_headers32
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 0x1029ddc
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 0x1029e11
push 0
push 8
jmp 0x1029ea9
mov eax, 0x12d
cmp ax, bx
jne 0x1029e29
push 0
push 0
push 0x302
jmp 0x1029eae
mov eax, 0x12c
cmp ax, bx
jne 0x1029e3e
push 0
push 0
push 0x301
jmp 0x1029eae
mov eax, 0xa8
cmp ax, bx
je 0x1029ea5
push 0x79
pop eax
cmp ax, bx
je 0x1029ea5
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x7e0]
push eax
mov ecx, 0x1054aa8
call fcn.0100d20a
test al, al
je 0x1029eb5
movzx edx, bx
push edx
call fcn.01039de9
test al, al
je 0x1029e82
mov byte [ebp - 0x7d5], 0
jmp 0x1029eb5
push dword [ebp - 0x7e4]
push edx
call fcn.01039d63
test al, al
je 0x1029eb5
push edx
call fcn.01039e6a
test eax, eax
je 0x1029eb5
push eax
push esi
call fcn.01039d30
jmp 0x1029eb5
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.01039de9
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