Function at 0x1400a6b10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x37], rax
movsxd rbx, ecx
lea r14, [0x140000000]
mov edi, edx
mov ecx, dword [r14 + rbx*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400a6e34
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400a6e74
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400a6eb4
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400a6ef4
mov edx, 0x400
mov qword [rsp + 0xc0], rsi
lea rcx, [rbp - 0x19]
call sub.cudart64_80.dll_cudaMalloc
mov rcx, qword [rbp - 0x19]
lea rbx, [rbx*8]
mov rax, qword [rbx + r14 + 0x182b80]
lea rdx, [0x1401177d0]
mov r9d, 1
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call sub.cudart64_80.dll_cudaMemcpyAsync
xor esi, esi
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [0x140183d50], rsi
xor r8d, r8d
mov dword [0x140183d58], 1
lea rcx, [rbp + 7]
mov dword [rsp + 0x20], esi
lea edx, [rsi + 0x20]
call sub.cudart64_80.dll_cudaCreateChannelDesc
mov r8, qword [rbp - 0x19]
lea r9, [rbp + 0x1f]
lea rdx, [0x140183d50]
mov qword [rsp + 0x20], 0x400
xor ecx, ecx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x2f], eax
call sub.cudart64_80.dll_cudaBindTexture
mov edx, 0x400
lea rcx, [rbp - 0x11]
call sub.cudart64_80.dll_cudaMalloc
mov rax, qword [rbx + r14 + 0x182b80]
lea r9d, [rsi + 1]
mov rcx, qword [rbp - 0x11]
lea rdx, [0x140117dd0]
mov r8d, 0x400
mov qword [rsp + 0x20], rax
call sub.cudart64_80.dll_cudaMemcpyAsync
xor r9d, r9d
mov dword [rsp + 0x28], 1
xor r8d, r8d
mov qword [0x140183bd0], rsi
lea edx, [rsi + 0x20]
mov dword [0x140183bd8], 1
lea rcx, [rbp + 7]
mov dword [rsp + 0x20], esi
call sub.cudart64_80.dll_cudaCreateChannelDesc
mov r8, qword [rbp - 0x11]
lea r9, [rbp + 0x1f]
lea rdx, [0x140183bd0]
mov qword [rsp + 0x20], 0x400
xor ecx, ecx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x2f], eax
call sub.cudart64_80.dll_cudaBindTexture
mov edx, 0x400
lea rcx, [rbp - 9]
call sub.cudart64_80.dll_cudaMalloc
mov rax, qword [rbx + r14 + 0x182b80]
lea r9d, [rsi + 1]
mov rcx, qword [rbp - 9]
lea rdx, [0x140116ee0]
mov r8d, 0x400
mov qword [rsp + 0x20], rax
call sub.cudart64_80.dll_cudaMemcpyAsync
xor r9d, r9d
mov dword [rsp + 0x28], 1
xor r8d, r8d
mov qword [0x140183cd0], rsi
lea edx, [rsi + 0x20]
mov dword [0x140183cd8], 1
lea rcx, [rbp + 7]
mov dword [rsp + 0x20], esi
call sub.cudart64_80.dll_cudaCreateChannelDesc
movups xmm0, xmmword [rax]
mov r8, qword [rbp - 9]
lea r9, [rbp + 0x1f]
movups xmmword [rbp + 0x1f], xmm0
mov eax, dword [rax + 0x10]
lea rdx, [0x140183cd0]
xor ecx, ecx
mov dword [rbp + 0x2f], eax
mov qword [rsp + 0x20], 0x400
call sub.cudart64_80.dll_cudaBindTexture
mov edx, 0x400
lea rcx, [rbp - 1]
call sub.cudart64_80.dll_cudaMalloc
mov rax, qword [rbx + r14 + 0x182b80]
lea r9d, [rsi + 1]
mov rcx, qword [rbp - 1]
lea rdx, [0x1401172e0]
mov r8d, 0x400
mov qword [rsp + 0x20], rax
call sub.cudart64_80.dll_cudaMemcpyAsync
xor r9d, r9d
mov dword [rsp + 0x28], 1
xor r8d, r8d
mov qword [0x140183c50], rsi
lea edx, [rsi + 0x20]
mov dword [0x140183c58], 1
lea rcx, [rbp + 7]
mov dword [rsp + 0x20], esi
call sub.cudart64_80.dll_cudaCreateChannelDesc
mov r8, qword [rbp - 1]
lea r9, [rbp + 0x1f]
lea rdx, [0x140183c50]
mov qword [rsp + 0x20], 0x400
xor ecx, ecx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x2f], eax
call sub.cudart64_80.dll_cudaBindTexture
mov edx, edi
lea rcx, [r14 + 0x183de0]
shl rdx, 5
add rcx, rbx
call sub.cudart64_80.dll_cudaMalloc
mov rsi, qword [rsp + 0xc0]
test eax, eax
jne 0x1400a6f34
lea rcx, [r14 + 0x183e60]
add rcx, rbx
lea edx, [rax + 4]
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400a6f74
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140111120
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop r14
pop rdi
pop rbp
ret
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x2d4
lea r8, [0x140117bd0]
lea rdx, [0x140117be8]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x2d5
lea r8, [0x140117c18]
lea rdx, [0x140117c30]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x2d6
lea r8, [0x140117c60]
lea rdx, [0x140117c78]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x2d7
lea r8, [0x140117ca8]
lea rdx, [0x140117cc0]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x2e0
lea r8, [0x140117cf0]
lea rdx, [0x140117d08]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x2e1
lea r8, str.fugue256_cpu_init
lea rdx, [0x140117d50]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3