Function at 0x140033f30
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
call fcn.1400673f0
cmp eax, 8
jl 0x140033f71
mov edx, dword [0x1400e1a8c]
lea rcx, [0x1400e0890]
mov r8d, 1
call fcn.14003e300
cmp eax, 0xffffffff
mov ebx, eax
jne 0x140033f7f
lea rcx, str.RunPollDisplayChildrenThread._ulCurrentAdapterIndex_invalid._n
call fcn.14000cbb0
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor ebp, ebp
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xc0]
lea rcx, [0x1400e0890]
mov edx, eax
mov dword [rsp + 0xc0], ebp
mov dword [rsp + 0xc8], ebp
call fcn.14003a2a0
test eax, eax
jne 0x140033fba
lea rcx, str.RunPollDisplayChildrenThread._g_aDispDevMan.EnumAtiAdapters_failed_n
jmp 0x140033f6c
cmp dword [rsp + 0xc8], ebp
jne 0x140033fdf
lea rcx, str.RunPollDisplayChildrenThread._Adapter_with_index__d_is_not_enabled_yet._n
mov edx, ebx
call fcn.14000cbb0
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, dword [rsp + 0xc0]
test edx, edx
jne 0x140033ff6
lea rcx, str.RunPollDisplayChildrenThread._g_aDispDevMan.EnumAtiAdapters_return_ulCurrentAdapterID_0_n
jmp 0x140033f6c
lea rcx, [0x1400e0890]
call fcn.14003a6b0
mov edx, dword [rsp + 0xc0]
test rax, rax
mov rbx, rax
jne 0x14003402b
lea rcx, str.RunPollDisplayChildrenThread._g_aDispDevMan.GetAdapterInfoByID_return_NULL_on_AdapterID__d__n
call fcn.14000cbb0
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea r9, [rsp + 0xd0]
lea rcx, [0x1400e0890]
xor r8d, r8d
mov dword [rsp + 0xd0], ebp
mov dword [rsp + 0x20], 1
call fcn.14003a3b0
mov edx, dword [rsp + 0xd0]
lea rcx, [0x1400e0890]
call fcn.14003da90
test rax, rax
mov rsi, rax
jne 0x14003408d
mov edx, dword [rsp + 0xc0]
lea rcx, str.RunPollDisplayChildrenThread._g_aDispDevMan.GetDeviceName_return_NULL_on_AdapterID__d__n
call fcn.14000cbb0
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x50]
call fcn.14007cd30
lea rax, str.DMMEnableDDCPolling
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xd8]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0xd8], ebp
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x40], 0x50
mov dword [rsp + 0x50], 4
call fcn.140065db0
test eax, eax
je 0x1400340ff
cmp dword [rsp + 0xd8], 1
jne 0x1400340ff
lea rcx, str.RunPollDisplayChildrenThread._DMMEnableDDCPolling_is_enabled__no_need_to_do_polling_in_EEU_n
jmp 0x140033f6c
mov rcx, rbx
call fcn.140047180
bt eax, 0x10
jae 0x140033f71
mov edi, dword [0x1400e18dc]
lea rax, [rsp + 0x30]
lea r8, [0x140033e40]
mov qword [rsp + 0x28], rax
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov rbx, rax
jne 0x14003415d
lea rcx, str.FAILURE:_EEUCreateThread:_Failed_to_create_thread.
call fcn.14000cbb0
lea rcx, str.RunPollDisplayChildrenThread._PollDisplayChildrenThread_Creation_failed_n
jmp 0x140033f6c
lea rcx, str.EEUCreateThread:_success_to_create_thread_0x_x.
mov rdx, rax
call fcn.14000cbb0
test edi, edi
je 0x140034191
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x140034191
lea rcx, str.EEUCreateThread__Set_thread__0x_x__to_highest_priority
mov rdx, rbx
call fcn.14000cbb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret