Function at 0x10069840
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e51cb
mov eax, dword fs:[0]
push eax
sub esp, 0xa90
mov eax, dword [0x101a12fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x66c]
push 0x42c
push 0
push eax
call fcn.100dd9d6
add esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
cmp eax, 1
je 0x1006989e
lea esi, [ebp - 0x66c]
jmp 0x10069b79
lea eax, [ebp - 0x650]
mov dword [ebp - 0x66c], ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push ebx
call esi
push 0xffffffffffffffec
push ebx
mov dword [ebp - 0x660], eax
call esi
push 0xffffffffffffffe8
push ebx
mov dword [ebp - 0x65c], eax
call dword [sym.imp.USER32.dll_GetClassLongW]
push 0xffffffffffffffe8
mov edi, eax
push ebx
mov dword [ebp - 0x670], edi
call dword [sym.imp.USER32.dll_GetClassLongA]
push edi
mov edi, dword [0x100ef848]
mov esi, eax
call edi
add esp, 4
test al, al
je 0x10069922
push esi
call edi
add esp, 4
test al, al
jne 0x10069912
mov eax, dword [ebp - 0x670]
mov dword [ebp - 0x658], eax
jmp 0x10069928
push ebx
call dword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
cmovne esi, dword [ebp - 0x670]
mov dword [ebp - 0x658], esi
call dword [0x100ef79c]
push dword [ebp - 0x658]
mov eax, dword [eax + 0xc0]
call eax
add esp, 4
test eax, eax
jne 0x10069952
push dword [ebp - 0x658]
call edi
add esp, 4
test al, al
jne 0x1006998f
push 4
push ebx
call dword [sym.imp.USER32.dll_GetClassLongW]
push 4
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetClassLongA]
push edi
mov esi, eax
call dword [0x100ef848]
test al, al
cmove edi, esi
push edi
call dword [0x100ef848]
mov ecx, dword [ebp - 0x658]
add esp, 8
test al, al
cmovne ecx, edi
mov dword [ebp - 0x658], ecx
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
cmp eax, 1
push ebx
sete byte [ebp - 0x654]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push ebx
mov dword [ebp - 0x668], eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x664], eax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x210]
push 0x100
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x12], 0
mov edx, 0xdc00
mov ecx, 0xdfff
mov esi, 0x2e
je 0x10069a0a
mov ax, word [ebp - 0x18]
cmp ax, dx
jb 0x100699f9
cmp ax, cx
jbe 0x100699fd
mov word [ebp - 0x18], si
xor eax, eax
mov dword [ebp - 0x16], 0x2e002e
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.1009edd0
mov edi, 0x200
mov dword [ebp - 4], 0
mov ecx, edi
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x218], ecx
cmovb ecx, dword [ebp - 0x218]
cmp dword [ebp - 0x214], 0x10
push ecx
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.100dd9d0
add esp, 0x14
lea eax, [ebp - 0x210]
push 0x100
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp word [ebp - 0x12], 0
je 0x10069aa0
mov ax, word [ebp - 0x18]
mov ecx, 0xdc00
cmp ax, cx
jb 0x10069a8f
mov ecx, 0xdfff
cmp ax, cx
jbe 0x10069a93
mov word [ebp - 0x18], si
xor eax, eax
mov dword [ebp - 0x16], 0x2e002e
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1009edd0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x228]
cmp eax, esi
je 0x10069b00
cmp dword [ebp - 0x214], 0x10
jb 0x10069ad9
push dword [ebp - 0x228]
call fcn.100dd8b4
add esp, 4
push esi
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
call fcn.10008120
cmp dword [ebp - 0x22c], 0x10
jb 0x10069b17
push dword [ebp - 0x240]
call fcn.100dd8b4
add esp, 4
cmp dword [ebp - 0x218], edi
lea eax, [ebp - 0x228]
cmovb edi, dword [ebp - 0x218]
cmp dword [ebp - 0x214], 0x10
push edi
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.100dd9d0
add esp, 0xc
lea esi, [ebp - 0x66c]
cmp dword [ebp - 0x214], 0x10
lea edi, [ebp - 0xa9c]
mov ecx, 0x10b
rep movsd dword es:[edi], dword [esi]
jb 0x10069b73
push dword [ebp - 0x228]
call fcn.100dd8b4
add esp, 4
lea esi, [ebp - 0xa9c]
mov eax, dword [ebp + 8]
mov ecx, 0x10b
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dd9b4
mov esp, ebp
pop ebp
ret