Function at 0x140006c60
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1808]
mov eax, 0x1908
call fcn.140015e00
sub rsp, rax
mov rax, qword [0x140029008]
xor rax, rsp
mov qword [rbp + 0x17f0], rax
mov rsi, rcx
lea rcx, str.ataiw:_enter
xor r15d, r15d
mov edi, r9d
mov r14, r8
mov rbx, rdx
mov dword [rsp + 0x60], r15d
call fcn.140007150
lea rcx, str.ataiw:_cmdLine__s
mov rdx, r14
call fcn.140007150
lea rcx, str.ataiw:_hInst_0x_x_hPrev_0x_x_nShow__d
mov r9d, edi
mov r8, rbx
mov rdx, rsi
call fcn.140007150
lea rcx, [rbp - 0x10]
xor edx, edx
mov r8d, 0x800
call fcn.14000a2f0
mov qword [rsp + 0x40], 0x400
lea rax, [rbp + 0xff0]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x7f0]
mov qword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x10]
lea r8, [rsp + 0x60]
lea rdx, str._p__lu__s__s__s
mov rcx, r14
mov qword [rsp + 0x20], 0x400
call fcn.1400085b4
mov ebx, eax
test eax, eax
jne 0x140006d7a
mov qword [rsp + 0x38], 0x400
lea rax, [rbp + 0xff0]
lea r8, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x7f0]
lea rdx, str._s__s__s
mov r9d, 0x400
mov rcx, r14
mov qword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], rax
call fcn.1400085b4
mov ebx, eax
lea rcx, str.ataiw:_nScanned__d
mov edx, ebx
call fcn.140007150
cmp ebx, 2
jge 0x140006e05
lea rcx, str.usage:
call fcn.140007150
lea rcx, str.ataiw_____________u___adapter_________________to_get_current_utilization
call fcn.140007150
lea rcx, str.ataiw_____________sv__adapter___vsyncMode_____to_set_VSYNC_to_a_specific_mode
call fcn.140007150
lea rcx, str.ataiw_____________gv__adapter_________________to_get_VSYNC_mode
call fcn.140007150
lea rcx, str.ataiw_____________t___adapter_________________to_get_temperature
call fcn.140007150
lea rcx, str.atapi__p_pipenum__i__adapter__________________to_read_GPU_information
call fcn.140007150
lea rcx, str.atapi__p_pipenum__continuous__________________to_use_bi_directional_pipe_and_respond_to_command
call fcn.140007150
mov eax, 1
mov rcx, qword [rbp + 0x17f0]
xor rcx, rsp
call fcn.140007480
add rsp, 0x1908
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp + 0x7f0]
mov word [rbp + 0xfee], r15w
mov word [rbp + 0x17ee], r15w
mov word [rbp + 0x7ee], r15w
call fcn.1400082f8
lea rdx, [rbp - 0x10]
lea rcx, str.ataiw:_option__ws
mov edi, eax
call fcn.140007150
lea rcx, str.ataiw:_adapter__d
mov edx, edi
call fcn.140007150
call fcn.140003a50
test eax, eax
je 0x140006e65
lea rcx, str.ataiw:_failed_to_initialize_ADL
call fcn.140007150
mov eax, 3
jmp 0x140006de6
lea rdx, [0x140025960]
lea rcx, [rbp - 0x10]
call fcn.140008184
test eax, eax
jne 0x140006ea8
cmp ebx, 2
jle 0x140006e88
call fcn.140006c00
jmp 0x140006de1
mov ecx, dword [rsp + 0x60]
call fcn.140006790
lea rcx, str.ataiw:_get_num_phys_GPUs_ret__d
mov edx, eax
mov ebx, eax
call fcn.140007150
mov eax, ebx
jmp 0x140006de6
lea rdx, [0x1400259b0]
lea rcx, [rbp - 0x10]
call fcn.140008184
test eax, eax
jne 0x140006f00
cmp ebx, 3
je 0x140006ed0
call fcn.140006c00
mov eax, 4
jmp 0x140006de6
lea rcx, str.ataiw:_get_Information_for_adapter__d
mov edx, edi
call fcn.140007150
mov ecx, dword [rsp + 0x60]
mov edx, edi
call fcn.140006500
lea rcx, str.ataiw:_get_GPU_information_ret__d
mov edx, eax
mov ebx, eax
call fcn.140007150
mov eax, ebx
jmp 0x140006de6
lea rdx, str._continuous
lea rcx, [rbp - 0x10]
call fcn.140008184
test eax, eax
jne 0x140006de1
lea rcx, str.ataiw:_process_commands
call fcn.140007150
xor eax, eax
mov edx, 0x7f00
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x6c], rax
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], eax
lea rax, [0x1400070f0]
xor ecx, ecx
mov qword [rbp - 0x40], r15
mov dword [rsp + 0x70], 0x50
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x78], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rdi, str.WINSESSAPP
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x60], 0x10
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x68], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x140006fcd
lea rcx, str.ataiw:_failed_to_register_window_class
call fcn.140007150
mov eax, 3
jmp 0x140006de6
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14002c0a0], rax
test rax, rax
jne 0x140007028
lea rcx, str.ataiw:_failed_to_create_app_messaging_window
call fcn.140007150
mov eax, 3
jmp 0x140006de6
mov r9d, dword [rsp + 0x60]
lea r8, [0x140006830]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
call fcn.140008304
mov qword [0x14002c0a8], rax
test rax, rax
jne 0x140007069
lea rcx, str.ataiw:_failed_to_start_pipe_thread
call fcn.140007150
mov eax, 3
jmp 0x140006de6
lea rcx, [rbp - 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x1400070aa
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp - 0x40]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jg 0x140007080
mov rcx, qword [0x14002c0a8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002c0a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.ataiw:_after_process_commands__d
mov edx, ebx
mov qword [0x14002c0a8], r15
mov qword [0x14002c0a0], r15
call fcn.140007150
xor eax, eax
jmp 0x140006de6