Function at 0x1400021f0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x200
mov ebx, r8d
mov r9, rcx
cmp edx, 0x14
ja case.0x14000221c.8
movsxd rax, edx
lea rcx, [0x140000000]
mov edx, dword [rcx + rax*4 + 0x26b8]
add rdx, rcx
jmp rdx
mov rcx, qword [0x140086ce8]
mov edx, 2
call fcn.140002df0
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
lea r9, str.GlobalAMDGpuMessage
lea r8, str._s_Event_received_for_device__i.
mov dword [rsp + 0x20], ebx
mov edx, 2
call fcn.140006880
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140086ce8]
mov edx, 1
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
lea r9, str.GlobalAMDSMI
jmp 0x140002246
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x1400026ac
lea r8, str.Exit_Event_received.
mov edx, 2
call fcn.140006880
xor eax, eax
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140086ce8]
mov edx, 1
call fcn.140002df0
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
lea r9, str.GlobalAMDGpuStopped
jmp 0x140002246
mov rcx, qword [0x140086ce8]
mov edx, 0x400
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x400
jmp 0x140002669
mov rcx, qword [0x140086ce8]
mov edx, 0x800
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x800
jmp 0x140002669
mov rcx, qword [0x140086ce8]
mov edx, 0x1000
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x1000
jmp 0x140002669
mov rcx, qword [0x140086ce8]
mov edx, 0x2000
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x2000
jmp 0x140002669
mov rcx, qword [0x140086ce8]
mov edx, 0x4000
call fcn.140002df0
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x4000
jmp 0x140002669
mov rcx, qword [0x140086ce8]
mov edx, 0x8000
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x8000
jmp 0x140002669
mov rcx, qword [0x140086ce8]
mov edx, 0x10000
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x10000
jmp 0x140002669
mov rcx, qword [0x140086ce8]
mov edx, 0x20000
call fcn.140002df0
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x20000
jmp 0x140002669
mov rcx, qword [0x140086ce8]
mov edx, 0x40000
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x40000
jmp 0x140002669
lea rcx, [r9 + 0x1b8]
mov edx, 8
lea r8, [0x140001de0]
call fcn.140009450
test eax, eax
jne 0x14000267e
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
lea r9, str.CreateTheThread_for_ProcessEvent_failed.
lea edx, [rax + 2]
lea r8d, [rax + 1]
call fcn.140006660
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140086ce8]
mov edx, 0x200000
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x200000
jmp 0x140002669
mov rcx, qword [0x140086ce8]
call fcn.140003740
test eax, eax
jne 0x14000267e
xorps xmm0, xmm0
mov dword [rsp + 0x80], 0x68
xor eax, eax
lea rcx, [rsp + 0xf0]
mov edx, 0x104
mov dword [rsp + 0xe4], eax
movups xmmword [rsp + 0x84], xmm0
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0xd4], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, str.EEURestart.exe
mov edx, 0x104
lea rcx, [rsp + 0xf0]
call fcn.14003f548
mov rcx, qword [0x140086ce8]
call fcn.140003270
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xf0]
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
lea rcx, [0x140086cf0]
call fcn.140009410
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x400000
lea r8, str.0x_x_Event_received_
mov edx, 2
call fcn.140006880
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140086ce8]
mov edx, 0x800000
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x800000
jmp 0x140002669
mov rcx, qword [0x140086ce8]
mov edx, 0x1000000
call fcn.140002c80
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x14000267e
mov r9d, 0x1000000
lea r8, str.0x_x_Event_received_for_device__i.
mov dword [rsp + 0x20], ebx
mov edx, 2
call fcn.140006880
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140086ce0]
test rcx, rcx
je 0x1400026ac
lea r9, str.Invalid_event_received.
xor r8d, r8d
mov edx, 0x60004003
call fcn.140006660
xor eax, eax
add rsp, 0x200
pop rbx
ret