Function at 0x140002500
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.0x14000252c.8
movsxd rax, edx
lea rcx, [0x140000000]
mov edx, dword [rcx + rax*4 + 0x29c8]
add rdx, rcx
jmp rdx
mov rcx, qword [0x14008ed98]
mov edx, 2
call fcn.140003100
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
lea r9, str.GlobalAMDGpuMessage
lea r8, str._s_Event_received_for_device__i.
mov dword [rsp + 0x20], ebx
mov edx, 2
call fcn.140006ca0
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x14008ed98]
mov edx, 1
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
lea r9, str.GlobalAMDSMI
jmp 0x140002556
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x1400029bc
lea r8, str.Exit_Event_received.
mov edx, 2
call fcn.140006ca0
xor eax, eax
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x14008ed98]
mov edx, 1
call fcn.140003100
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
lea r9, str.GlobalAMDGpuStopped
jmp 0x140002556
mov rcx, qword [0x14008ed98]
mov edx, 0x400
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x400
jmp 0x140002979
mov rcx, qword [0x14008ed98]
mov edx, 0x800
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x800
jmp 0x140002979
mov rcx, qword [0x14008ed98]
mov edx, 0x1000
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x1000
jmp 0x140002979
mov rcx, qword [0x14008ed98]
mov edx, 0x2000
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x2000
jmp 0x140002979
mov rcx, qword [0x14008ed98]
mov edx, 0x4000
call fcn.140003100
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x4000
jmp 0x140002979
mov rcx, qword [0x14008ed98]
mov edx, 0x8000
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x8000
jmp 0x140002979
mov rcx, qword [0x14008ed98]
mov edx, 0x10000
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x10000
jmp 0x140002979
mov rcx, qword [0x14008ed98]
mov edx, 0x20000
call fcn.140003100
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x20000
jmp 0x140002979
mov rcx, qword [0x14008ed98]
mov edx, 0x40000
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x40000
jmp 0x140002979
lea rcx, [r9 + 0x1b8]
mov edx, 8
lea r8, [0x1400020f0]
call fcn.140009bb0
test eax, eax
jne 0x14000298e
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
lea r9, str.CreateTheThread_for_ProcessEvent_failed.
lea edx, [rax + 2]
lea r8d, [rax + 1]
call fcn.140006a40
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x14008ed98]
mov edx, 0x200000
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x200000
jmp 0x140002979
mov rcx, qword [0x14008ed98]
call fcn.140003aa0
test eax, eax
jne 0x14000298e
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.14004677c
mov rcx, qword [0x14008ed98]
call fcn.140003580
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, [0x14008eda0]
call fcn.140009b70
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x400000
lea r8, str.0x_x_Event_received_
mov edx, 2
call fcn.140006ca0
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x14008ed98]
mov edx, 0x800000
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x800000
jmp 0x140002979
mov rcx, qword [0x14008ed98]
mov edx, 0x1000000
call fcn.140002f90
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x14000298e
mov r9d, 0x1000000
lea r8, str.0x_x_Event_received_for_device__i.
mov dword [rsp + 0x20], ebx
mov edx, 2
call fcn.140006ca0
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x14008ed90]
test rcx, rcx
je 0x1400029bc
lea r9, str.Invalid_event_received.
xor r8d, r8d
mov edx, 0x60004003
call fcn.140006a40
xor eax, eax
add rsp, 0x200
pop rbx
ret