Function at 0x140003920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
movups xmm0, xmmword [rdx]
mov rbx, rcx
mov qword [rcx + 0x30], 0x1000
movsd xmm1, qword [rdx + 0x10]
xor edi, edi
movups xmmword [rcx], xmm0
mov edx, 0xa8
mov byte [rcx + 0xa1], 0
movsd qword [rcx + 0x10], xmm1
mov dword [rcx + 0xa4], edi
add rcx, 0x18
call fcn.14003dbd0
test eax, eax
je 0x1400039ae
mov ecx, eax
call fcn.14003d6d0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x20d
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, str.C:_testlibthoughtminer_master_gpu_ok_cpu_LW_srccuckoogpukernel.cu
lea rdx, str.CUDA_error_in__s:_d:__s_n
call fcn.140008090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbx + 0x70]
mov edx, 0x150
call fcn.14003dbd0
test eax, eax
je 0x140003a02
mov ecx, eax
call fcn.14003d6d0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x20e
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, str.C:_testlibthoughtminer_master_gpu_ok_cpu_LW_srccuckoogpukernel.cu
lea rdx, str.CUDA_error_in__s:_d:__s_n
call fcn.140008090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbx + 0x98]
mov edx, 0x20
call fcn.14003dbd0
test eax, eax
je 0x140003a59
mov ecx, eax
call fcn.14003d6d0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x20f
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, str.C:_testlibthoughtminer_master_gpu_ok_cpu_LW_srccuckoogpukernel.cu
lea rdx, str.CUDA_error_in__s:_d:__s_n
call fcn.140008090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x40], rsi
nop
mov rdx, qword [rbx + 0x30]
movsxd rax, edi
add rax, 0xa
lea rcx, [rbx + rax*8]
call fcn.14003dbd0
test eax, eax
jne 0x140003b45
inc edi
cmp edi, 3
jl 0x140003a60
movzx eax, word [rbx]
mov edx, 0x2140000
test ax, ax
mov ecx, 0x4280000
mov edi, 0x2c00000
cmovne ecx, edx
cmp ax, 1
mov edx, 0x1600000
mov qword [rbx + 0x20], rcx
cmova edi, edx
mov qword [rbx + 0x28], rdi
shr rdi, 1
add rdi, rcx
lea rcx, [rbx + 0x38]
mov rdx, rdi
call fcn.14003dbd0
test eax, eax
je 0x140003b07
mov ecx, eax
call fcn.14003d6d0
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x21c
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, str.C:_testlibthoughtminer_master_gpu_ok_cpu_LW_srccuckoogpukernel.cu
lea rdx, str.CUDA_error_in__s:_d:__s_n
call fcn.140008090
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9, qword [rbx + 0x38]
mov r8d, 0xa8
mov rax, qword [rbx + 0x28]
mov rdx, rbx
mov rcx, qword [rbx + 0x18]
shr rax, 1
add rax, r9
sub r9, qword [rbx + 0x28]
add r9, rdi
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x40], r9
mov r9d, 1
call fcn.14003dd20
test eax, eax
je 0x140003b64
call fcn.14003d820
mov dword [rbx + 0xa4], eax
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
cmp dword [rbx + 0xa4], 0
sete al
mov byte [rbx + 0xa1], al
jmp 0x140003b4b