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

Disassembly:
push rbx
sub rsp, 0x200
mov ebx, r8d
mov r9, rcx
cmp edx, 0x13
ja case.0x14000222c.8
movsxd rax, edx
lea rcx, [0x140000000]
mov edx, dword [rcx + rax*4 + 0x26f8]
add rdx, rcx
jmp rdx
mov rcx, qword [0x140075cd0]
mov edx, 2
call fcn.140002dc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
lea r9, str.GlobalAMDGpuMessage
lea r8, str._s_Event_received_for_device__i.
mov dword [rsp + 0x20], ebx
mov edx, 2
call fcn.1400067e0
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140075cd0]
mov edx, 1
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
lea r9, str.GlobalAMDSMI
jmp 0x140002256
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026eb
lea r8, str.Exit_Event_received.
mov edx, 2
call fcn.1400067e0
xor eax, eax
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140075cd0]
mov edx, 1
call fcn.140002dc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
lea r9, str.GlobalAMDGpuStopped
jmp 0x140002256
mov rcx, qword [0x140075cd0]
mov edx, 0x400
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x400
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x800
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x800
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x1000
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x1000
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x2000
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x2000
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x4000
call fcn.140002dc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x4000
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x8000
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x8000
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x10000
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x10000
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x20000
call fcn.140002dc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x20000
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x40000
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x40000
jmp 0x1400026a8
lea rcx, [r9 + 0x1c0]
mov edx, 8
lea r8, [0x140001dd0]
call fcn.140008f60
test eax, eax
jne 0x1400026bd
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
lea r9, str.CreateTheThread_for_ProcessEvent_failed.
lea edx, [rax + 2]
lea r8d, [rax + 1]
call fcn.1400065c0
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140075cd0]
mov edx, 0x200000
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x200000
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x80000
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x80000
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
mov edx, 0x100000
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x100000
jmp 0x1400026a8
mov rcx, qword [0x140075cd0]
call fcn.140003710
test eax, eax
jne 0x1400026bd
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.1400322ec
mov rcx, qword [0x140075cd0]
call fcn.140003240
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, [0x140075ce0]
call fcn.140008f20
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x400000
lea r8, str.0x_x_Event_received_
mov edx, 2
call fcn.1400067e0
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140075cd0]
mov edx, 0x800000
call fcn.140002cc0
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026bd
mov r9d, 0x800000
lea r8, str.0x_x_Event_received_for_device__i.
mov dword [rsp + 0x20], ebx
mov edx, 2
call fcn.1400067e0
mov eax, 1
add rsp, 0x200
pop rbx
ret
mov rcx, qword [0x140075cd8]
test rcx, rcx
je 0x1400026eb
lea r9, str.Invalid_event_received.
xor r8d, r8d
mov edx, 0x60004003
call fcn.1400065c0
xor eax, eax
add rsp, 0x200
pop rbx
ret