Function at 0x1006b9f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009a68d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x15f4
call fcn.10076300
push ebx
push esi
mov eax, 0x100e5da0
push edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1006ba21
sub eax, edx
mov dword [esp + 0x24], eax
je 0x1006bd5e
cmp dword [ebp + 0xc], 0xd
jne 0x1006bd5e
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x1006bd5e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
je 0x1006bd5e
lea eax, [esp + 0x90]
push eax
push 0xff
push 0xd
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x14]
call fcn.10011f50
lea edx, [esp + 0x28]
push edx
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x2c]
push str.wcTM7A
mov dword [esp + 0x1614], 0
rep stosd dword es:[edi], eax
call fcn.1003a410
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
add esp, 8
test ecx, ecx
jl 0x1006bd55
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.10076a37
add esp, 8
test eax, eax
je 0x1006bd55
sub eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1006bd55
lea ecx, [esp + 0x18]
call fcn.10001ff0
lea ecx, [esp + 0x1c]
call fcn.10001ff0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov byte [esp + 0x1618], 2
call fcn.1006b350
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add esp, 0xc
test eax, eax
je 0x1006bd43
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x1006bd43
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
push str.0s
call fcn.1003a410
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
add esp, 8
test ecx, ecx
jl 0x1006bd43
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.10076a37
add esp, 8
test eax, eax
je 0x1006bd43
sub eax, dword [esp + 0x10]
mov esi, eax
cmp esi, 0xffffffff
je 0x1006bd43
lea ecx, [esp + 0x20]
call fcn.10001ff0
add esi, 2
push esi
lea edx, [esp + 0x18]
mov bl, 3
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1614], bl
call fcn.10003c10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1610], 4
call fcn.100029e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x160c], bl
call fcn.10002010
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
push str.wcTM7A
call fcn.1003a410
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 0xc]
add esp, 8
test eax, eax
jl 0x1006bc35
lea ecx, [esp + 0x28]
push ecx
push esi
call fcn.10076a37
add esp, 8
test eax, eax
je 0x1006bc35
sub eax, esi
cmp eax, 0xffffffff
je 0x1006bc35
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
call fcn.10003b90
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1610], 5
call fcn.100029e0
lea ecx, [esp + 0x14]
call fcn.10002010
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x14]
call fcn.10001ff0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1614], 6
call fcn.1006b940
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
add esp, 8
test eax, eax
je 0x1006bd31
mov ecx, 0x51a
xor eax, eax
lea edi, [esp + 0x194]
mov dword [esp + 0x190], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x194], 2
lea ecx, [ecx]
mov cl, byte [eax + 0x100e5da0]
mov byte [esp + eax + 0x198], cl
inc eax
test cl, cl
jne 0x1006bc90
lea edx, [esp + 0x200]
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1006bcb0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x264]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1006bcc7
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c8]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1006bce0
mov eax, dword [ebx - 0xc]
cmp eax, 0x1000
jb 0x1006bcf9
mov eax, 0x1000
push eax
lea edx, [esp + 0x42a]
push ebx
push edx
call fcn.100770f0
mov eax, dword [0x1010e218]
add esp, 0xc
test eax, eax
je 0x1006bd1c
test al, 1
je 0x1006bd1c
test al, 4
je 0x1006bd31
lea eax, [esp + 0x190]
push section..inidata
push eax
call fcn.1006b590
add esp, 8
lea ecx, [esp + 0x14]
call fcn.10002010
lea ecx, [esp + 0x20]
call fcn.10002010
lea ecx, [esp + 0x1c]
call fcn.10002010
lea ecx, [esp + 0x18]
call fcn.10002010
lea ecx, [esp + 0x10]
call fcn.10002010
mov ecx, dword [esp + 0x1604]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret