Function at 0x180008ca0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbp, rcx
lea rcx, str._EXTAPI_WINDOW__Loading_user32.dll
mov rsi, r8
mov ebx, edx
call fcn.180008a20
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x180008d03
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._EXTAPI_WINDOW__Unable_to_load_user32.dll
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov ebx, eax
call fcn.180008a20
jmp 0x180008f11
lea rcx, str._EXTAPI_WINDOW__Searching_for_SendMessageW
call fcn.180008a20
lea rdx, str.SendMessageW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x180008d4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._EXTAPI_WINDOW__Unable_to_locate_SendMessageW_in_user32.dll
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov ebx, eax
call fcn.180008a20
jmp 0x180008f08
lea rcx, str._EXTAPI_WINDOW__Found_SendMessageW__p
mov rdx, rax
call fcn.180008a20
lea rcx, str._EXTAPI_WINDOW__Searching_for_GetClassNameW
call fcn.180008a20
lea rdx, str.GetClassNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180008daa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._EXTAPI_WINDOW__Unable_to_locate_GetClassNameW_in_user32.dll
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov ebx, eax
call fcn.180008a20
jmp 0x180008f08
lea rcx, str._EXTAPI_WINDOW__Found_GetClassNameW__p
mov rdx, rax
call fcn.180008a20
lea rcx, str._EXTAPI_WINDOW__Searching_for_SetWindowWord
call fcn.180008a20
lea rdx, str.SetWindowWord
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180008e05
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._EXTAPI_WINDOW__Unable_to_locate_SetWindowWord_in_user32.dll
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov ebx, eax
call fcn.180008a20
jmp 0x180008f08
lea rcx, str._EXTAPI_WINDOW__Found_SetWindowWord__p
mov rdx, rax
call fcn.180008a20
lea rcx, str._EXTAPI_WINDOW__Searching_for_GetWindowThreadProcessId
call fcn.180008a20
lea rdx, str.GetWindowThreadProcessId
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x180008e60
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._EXTAPI_WINDOW__Unable_to_locate_GetWindowThreadProcessId_in_user32.dll
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov ebx, eax
call fcn.180008a20
jmp 0x180008f08
lea rcx, str._EXTAPI_WINDOW__Found_GetWindowThreadProcessId__p
mov rdx, rax
call fcn.180008a20
lea rcx, str._EXTAPI_WINDOW__Searching_for_EnumChildWindows
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x28], ebx
call fcn.180008a20
lea rdx, str.EnumChildWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x180008ebf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._EXTAPI_WINDOW__Unable_to_locate_EnumChildWindows_in_user32.dll
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov ebx, eax
call fcn.180008a20
jmp 0x180008f08
lea rcx, str._EXTAPI_WINDOW__Beginning_enumeration_of_child_windows_with_parent__u
mov rdx, rsi
call fcn.180008a20
lea r8, [rsp + 0x20]
lea rdx, [0x180008f30]
mov rcx, rsi
call rbx
test eax, eax
jne 0x180008f06
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._EXTAPI_WINDOW__Failed_to_enumerate_child_windows
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov ebx, eax
call fcn.180008a20
jmp 0x180008f08
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret