Function at 0x10006fb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xb8
mov eax, dword [0x100d3fe0]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc0]
push ebx
push esi
push edi
mov edi, dword [esp + 0xc8]
push str.Button
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
mov eax, dword [esp + 0xd0]
jne 0x10007121
cmp eax, 0x800a
jne 0x10007121
push edi
call fcn.10002170
add esp, 4
test eax, eax
je 0x1000729b
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10007294
xor eax, eax
push 0x62
push eax
lea ecx, [esp + 0x66]
push ecx
mov word [esp + 0x68], ax
call fcn.1007f650
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
add esp, 0xc
push 0x32
lea edx, [esp + 0x60]
push edx
push edi
call ebx
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10007075
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call edi
mov edi, eax
push 1
push edi
mov ecx, esi
call fcn.10003940
mov eax, 1
jmp 0x1000729d
push 0x100bad10
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100070a1
push 0x100bad04
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10007294
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call edi
mov edi, eax
xor eax, eax
push 0x4e
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.1007f650
add esp, 0xc
push 0x28
lea edx, [esp + 0x10]
push edx
push edi
call ebx
push 0x100baac8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x1000728a
push esi
push 0x10003f60
push edi
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10007117
push 0x3ea
push eax
mov ecx, esi
call fcn.10003900
mov eax, 1
jmp 0x1000729d
cmp eax, 3
jne 0x1000729b
push edi
call fcn.10002170
add esp, 4
test eax, eax
je 0x1000729b
xor ecx, ecx
push 0x4e
push ecx
lea edx, [esp + 0x16]
push edx
mov dword [esi + 0x18], edi
mov word [esp + 0x18], cx
call fcn.1007f650
add esp, 0xc
push 0x28
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrW]
push 0x100bacf8
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
je 0x100071ac
push 0x100bacf4
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x10007294
add eax, 2
cmp word [eax], 0x20
jne 0x10007199
add eax, 2
push eax
lea ecx, [esi + 0x1c]
call fcn.10001960
mov eax, 1
jmp 0x1000729d
push 0x100baac8
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x100071fe
push esi
push 0x10003f60
push edi
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 0x7cf
mov ecx, esi
call fcn.100038e0
push 0x1f4
push 0x7d0
mov ecx, esi
call fcn.100038b0
mov eax, 1
jmp 0x1000729d
push 0x100bace4
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1000722a
push 0xc8
push 0x7d1
mov ecx, esi
call fcn.100038b0
mov eax, 1
jmp 0x1000729d
push 0x100bacdc
lea edx, [esp + 0x10]
push edx
call ebx
mov ebx, eax
test ebx, ebx
je 0x1000726d
mov eax, 0x51
cmp word [esp + 0xc], ax
jne 0x1000726d
cmp word [esp + 0xe], ax
jne 0x1000726d
push 0x100bacdc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebx + eax*2]
push eax
lea ecx, [esi + 0x1c]
call fcn.10001960
mov eax, 1
jmp 0x1000729d
push 0x7d0
mov ecx, esi
call fcn.100038e0
push 0x3e8
push 0x7cf
mov ecx, esi
call fcn.100038b0
push 1
push edi
mov ecx, esi
call fcn.10003940
mov eax, 1
jmp 0x1000729d
xor eax, eax
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007fec9
add esp, 0xb8
ret 0x18