Function at 0x1400426cc
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov edi, ecx
cmp dword [0x1400dbc10], r14d
jne 0x140042716
cmp dword [0x1400dbc18], r14d
jne 0x140042716
mov eax, 1
jmp 0x140042938
lea rcx, str.Start_WaitAndCompleteInstallOn2k_n
call fcn.1400300fc
cmp dword [0x1400dbc10], r14d
je 0x140042734
cmp dword [0x1400dbc1c], r14d
jne 0x14004270c
lea rdx, [rbp - 0x30]
lea rcx, [0x14004259c]
mov dword [0x1400dcd04], r14d
mov qword [rbp - 0x30], r14
mov ebx, r14d
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp - 0x30]
mov r12d, 1
test rcx, rcx
jne 0x1400427a6
cmp ebx, edi
jge 0x14004278e
lea rdx, [rbp - 0x30]
lea rcx, [0x14004259c]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp - 0x30]
add ebx, r12d
test rcx, rcx
je 0x140042762
test rcx, rcx
jne 0x1400427a6
lea rcx, str.Found_New_Hardware_Wizard_dialog_window_not_found_n
call fcn.1400300fc
xor eax, eax
jmp 0x140042938
lea r8, [rbp - 0x28]
lea rdx, [0x14004109c]
mov qword [rbp - 0x28], r14
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp qword [rbp - 0x28], r14
jne 0x1400427ca
lea rcx, str.Finish_window_not_found_n
jmp 0x14004279a
lea rcx, str.Finish_window_found_n
call fcn.1400300fc
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetFocus]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, r12d
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, ebx
mov edi, eax
mov eax, dword [rbp - 0x10]
mov ebx, 0xffff
add eax, dword [rbp - 0x18]
cdq
sub eax, edx
mov edx, ebx
sar eax, 1
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, edi
mov esi, eax
mov eax, dword [rbp - 0xc]
add eax, dword [rbp - 0x14]
cdq
sub eax, edx
mov edx, ebx
sar eax, 1
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
xor r9d, r9d
mov edx, esi
mov ecx, 0x8002
mov r8d, eax
mov qword [rsp + 0x20], r14
mov ebx, eax
call qword [sym.imp.USER32.dll_mouse_event]
xor r9d, r9d
mov r8d, ebx
mov edx, esi
mov ecx, 0x8004
mov qword [rsp + 0x20], r14
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp - 0x28]
mov ebx, 0xf5
mov edx, ebx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140042903
mov rcx, qword [rbp - 0x30]
lea r8, [rbp - 0x20]
lea rdx, [0x14004109c]
mov qword [rbp - 0x20], r14
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp qword [rbp - 0x20], r14
je 0x140042903
lea rcx, str.Finish_window_found_n
call fcn.1400300fc
mov rcx, qword [rbp - 0x20]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x1400dbc1c]
cmp dword [0x1400dbc10], r14d
cmovne eax, r12d
mov dword [0x1400dbc1c], eax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, str.End_WaitAndCompleteInstallOn2k_n
call fcn.1400300fc
mov eax, r12d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14005ba20
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret