Function at 0x1006bd80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009a6f8
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 0x1006bdb1
sub eax, edx
mov dword [esp + 0x14], eax
je 0x1006c1b7
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
push 0xff
lea eax, [esp + 0x94]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1c]
call fcn.10011f50
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
push str.t6LLzSgmUyk
mov dword [esp + 0x1614], 0
call fcn.1003a410
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.10077004
add esp, 0x10
test eax, eax
jne 0x1006bed8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
test ebx, ebx
je 0x1006bed8
lea eax, [esp + 0x90]
push eax
push 0xff
push 0xd
push ebx
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 byte [esp + 0x1614], 1
rep stosd dword es:[edi], eax
call fcn.1003a410
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add esp, 8
test eax, eax
jl 0x1006beb6
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.10076a37
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x1006beb6
sub eax, ecx
cmp eax, 0xffffffff
jne 0x1006bf1a
lea eax, [ecx - 0x10]
mov byte [esp + 0x160c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1006bed8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x160c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1006c1b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1604]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x160c], 2
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
mov byte [esp + 0x1618], 3
call fcn.1006b350
mov edx, dword [esp + 0x28]
mov eax, dword [edx - 0xc]
add esp, 0xc
test eax, eax
je 0x1006c193
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x1006c193
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
push str.0s
call fcn.1003a410
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
add esp, 8
test ecx, ecx
jl 0x1006c193
lea edx, [esp + 0x28]
push edx
push eax
call fcn.10076a37
add esp, 8
test eax, eax
je 0x1006c193
sub eax, dword [esp + 0x10]
mov esi, eax
cmp esi, 0xffffffff
je 0x1006c193
lea ecx, [esp + 0x20]
call fcn.10001ff0
add esi, 2
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1614], 4
call fcn.10003c10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1610], 5
call fcn.100029e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x160c], 4
call fcn.10002010
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
push str.wcTM7A
call fcn.1003a410
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 0xc]
add esp, 8
test eax, eax
jl 0x1006c08b
lea edx, [esp + 0x28]
push edx
push esi
call fcn.10076a37
add esp, 8
test eax, eax
je 0x1006c08b
sub eax, esi
cmp eax, 0xffffffff
je 0x1006c08b
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.10003b90
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1610], 6
call fcn.100029e0
lea ecx, [esp + 0x14]
call fcn.10002010
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x14]
call fcn.10001ff0
lea ecx, [esp + 0x14]
push ecx
push ebx
mov byte [esp + 0x1614], 7
call fcn.1006b940
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
add esp, 8
test eax, eax
je 0x1006c181
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
nop
mov cl, byte [eax + 0x100e5da0]
mov byte [esp + eax + 0x198], cl
inc eax
test cl, cl
jne 0x1006c0e0
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 0x1006c100
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x264]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1006c117
mov eax, dword [esp + 0x1c]
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 0x1006c130
mov eax, dword [ebx - 0xc]
cmp eax, 0x1000
jb 0x1006c149
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 0x1006c16c
test al, 1
je 0x1006c16c
test al, 4
je 0x1006c181
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 + 0x24]
call fcn.10002010
lea ecx, [esp + 0x1c]
call fcn.10002010
lea ecx, [esp + 0x10]
call fcn.10002010
lea ecx, [esp + 0x18]
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