Function at 0x68383
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [0x6c090]
shr esi, 0x14
and esi, 1
mov dword [ebp - 0xc], esi
call ebx
xor edi, edi
cmp esi, edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 8], eax
je 0x683cd
push 1
call fcn.00066fb9
push edi
push edi
push 0xc8
push dword [0x6c028]
call esi
push edi
push edi
push 0xb8
push dword [0x6c028]
call esi
push edi
neg eax
push edi
sbb eax, eax
push 0xe
push dword [0x6c028]
neg eax
mov dword [ebp - 0x18], eax
call esi
mov dword [ebp - 0x10], eax
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x68429
cmp dword [ebp - 0xc], edi
je 0x6841d
push edi
push 1
push 0xc8
push dword [0x6c028]
call esi
push dword [ebp - 8]
call ebx
xor eax, eax
jmp 0x685d9
lea eax, [ebp - 0x38]
push eax
push dword [0x6c020]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalLock]
push eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0xd
push dword [0x6c028]
call esi
push edi
push dword [0x6c08c]
push 0xf
push dword [0x6c020]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
push edi
push dword [ebp + 8]
push 0x615bc
push 0x62f7c
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x684bc
push dword [ebp - 8]
call ebx
cmp dword [ebp - 0xc], edi
je 0x684a5
push edi
push 1
push 0xc8
push dword [0x6c028]
call esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x68422
push 0xffffffffffffffec
push dword [0x6c028]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x200
push eax
push 0xffffffffffffffec
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push dword [0x6c088]
push 0x30
push dword [ebp + 8]
call esi
push dword [ebp - 0x14]
push edi
push 0xc
push dword [ebp + 8]
call esi
test eax, eax
jne 0x6851e
push dword [ebp - 8]
call ebx
cmp dword [ebp - 0xc], edi
je 0x68513
push edi
push 1
push 0xc8
push dword [0x6c028]
call esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x684a5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [0x6c028]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 8]
push edi
push edi
push 0xbd
push eax
mov dword [0x6c028], eax
call esi
push edi
push edi
push 0xc5
push dword [0x6c028]
mov dword [0x6c098], eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push dword [0x6c020]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [ebp - 0x18]
push 0xb9
push dword [0x6c028]
call esi
push dword [0x6c028]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebp - 8]
call ebx
cmp dword [0x6c02c], edi
je 0x685d6
lea eax, [ebp - 0x28]
push eax
push dword [0x6c020]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
call fcn.00062409
push 1
call fcn.0006170a
push 5
push dword [0x6c024]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4