Function at 0x10006568
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x80000301
push 0
push 0x104
push 1
mov ebx, 0x184
call fcn.10010040
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100065bf
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.10013100
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x100274e8
mov ecx, 2
call fcn.1000650c
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000660c
push ebx
call fcn.1000fa45
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1000661f
mov eax, 0x10027260
push eax
push 1
mov ebx, 0x30
mov eax, 0x1001a819
call fcn.1000fea0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 0x14
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10006663
mov eax, 0x10027260
push eax
push 3
mov ebx, 0x914
call fcn.100121b0
add esp, 0x28
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10006686
push ebx
call fcn.1000fa45
add esp, 4
mov dword [ebp - 0x14], esp
push 0
push 0x100274e8
xor eax, eax
call dword [sym.imp.USER32.dll_FindWindowA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100066af
push 6
call fcn.1000fa51
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100068f6
push 0x100274e8
push dword [ebp - 4]
call fcn.10001000
add esp, 8
cmp eax, 0
jne 0x10006864
mov dword [ebp - 0x14], esp
push 0x104
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100066ff
push 6
call fcn.1000fa51
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x100274fc
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10006733
mov eax, 0x10027260
push eax
push 4
mov ebx, 0x148
call fcn.100123e0
add esp, 0x34
mov dword [ebp - 0x14], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fsub qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.1000109d
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10006781
mov eax, 0x10027260
push eax
push 2
mov ebx, 0x138
call fcn.10010210
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100067ab
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x10027260
push dword [ebp - 0x10]
call fcn.10001000
add esp, 8
cmp eax, 0
jne 0x100067fe
mov eax, dword [ebp - 4]
test eax, eax
je 0x100067e4
push eax
mov ebx, eax
call fcn.10002553
inc eax
push eax
call fcn.1000fa3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100067f5
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x10006864
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10006811
mov eax, 0x10027260
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10006825
mov eax, 0x10027260
push eax
push 0x80000004
push 0
push str._s__s
push 3
mov ebx, 0x30
mov eax, 0x10019290
call fcn.1000fea0
add esp, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006860
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.10010040
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006899
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 2
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindow]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100068c4
push 6
call fcn.1000fa51
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push 0x104
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetClassNameA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100068f1
push 6
call fcn.1000fa51
add esp, 4
jmp 0x100066b2
push 0x10027260
push dword [ebp - 0x10]
call fcn.10001000
add esp, 8
cmp eax, 0
jne 0x10006929
mov eax, str.NULL
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10006925
push ebx
call fcn.1000fa45
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10006945
push eax
mov ebx, eax
call fcn.10002553
inc eax
push eax
call fcn.1000fa3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000694a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000695b
push ebx
call fcn.1000fa45
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000696b
push ebx
call fcn.1000fa45
add esp, 4
pop eax
leave
ret