Function at 0x1400ba4b0
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rax, qword [rbp + 0x2f0]
lea rsi, [rdx + 0x4c]
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov eax, dword [rsi]
mov edi, r9d
movsxd r15, ecx
mov r13, r8
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x60]
lea rax, [0x140000000]
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], r9d
mov edx, dword [rax + r15*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaGetDeviceProperties
test eax, eax
jne 0x1400bab25
cmp byte [0x140190373], al
mov qword [rsp + 0x388], r14
je 0x1400ba540
mov dword [r13 + 0x1c], reloc.WLDAP32.dll_Ordinal_79
mov ecx, dword [0x14018fef0]
mov rax, qword gs:[0x58]
mov r14, qword [rax + rcx*8]
mov eax, 0x254
mov ecx, 0x250
cmp byte [rax + r14], 0
jne 0x1400ba721
lea rbx, [0x140000000]
mov ecx, dword [rbx + r15*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400bab65
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400baba5
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400babe5
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400bac25
lea rcx, [rbx + 0x182b80]
lea rcx, [rcx + r15*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400bac65
lea rdx, [0x14011d45c]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400ba5ea
mov r8d, 0x160000
jmp 0x1400ba692
lea rdx, [0x14011d49c]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400ba60b
mov r8d, 0x160000
jmp 0x1400ba692
lea rdx, [0x14011d5a4]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400ba629
mov r8d, 0x160000
jmp 0x1400ba692
lea rdx, [0x14011d5ac]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400ba647
mov r8d, 0x160000
jmp 0x1400ba692
lea rdx, [0x14011d4dc]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400ba665
mov r8d, 0x140000
jmp 0x1400ba692
lea rdx, [0x14011d4e4]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
jne 0x1400ba68c
lea rdx, [0x14011d524]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
mov r8d, 0x130000
mov ecx, dword [rbx + r15*4 + 0x1905d0]
lea rdx, [0x14011d5b8]
call fcn.14009d710
mov ebx, 0x250
mov edx, eax
add rbx, r14
mov ecx, r15d
mov dword [rbx], eax
call fcn.1400b2360
mov edx, dword [rbx]
mov ecx, r15d
call fcn.1400ada40
mov edx, dword [rbx]
mov ecx, r15d
call fcn.1400bb370
mov edx, dword [rbx]
mov ecx, r15d
call fcn.1400bc460
mov edx, dword [rbx]
mov ecx, 0x248
shl edx, 6
add rcx, r14
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400baca5
cmp r15d, 0x10
jae 0x1400bace5
mov rbx, qword [rsp + 0x48]
lea r8, [0x140000000]
mov byte [r15 + r8 + 0x18ffa8], al
mov eax, 0x254
mov ecx, 0x250
mov byte [rax + r14], 1
jmp 0x1400ba728
lea r8, [0x140000000]
sub edi, dword [rsp + 0x38]
mov edx, 0x100
mov eax, ecx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
cmp dword [rax + r14], edi
cmovb edi, dword [rax + r14]
movsxd rax, dword [r8 + r15*4 + 0x1905d0]
and edi, 0xfffffc00
cmp dword [r8 + rax*4 + 0x18ffc0], 0x1f4
cmovg ecx, edx
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
mov dword [rsp + 0x3c], ecx
jl 0x1400ba7e1
lea rax, [rbp + 0x210]
cmp rax, rsi
ja 0x1400ba786
lea rax, [rbp + 0x25c]
cmp rax, rbx
jae 0x1400ba7e1
lea rcx, [rbp + 0x220]
mov rdx, rbx
sub rdx, rcx
lea rax, [rbp + 0x220]
mov ecx, 2
lea r8d, [rcx + 0xe]
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + rax]
movdqu xmm1, xmmword [rdx + rax + 0x10]
lea rax, [rax + 0x20]
pshufb xmm0, xmmword [0x140170170]
pshufb xmm1, xmmword [0x140170170]
movdqu xmmword [rax - 0x30], xmm0
movdqu xmmword [rax - 0x20], xmm1
sub rcx, 1
jne 0x1400ba7b0
movsxd rdx, r8d
cmp rdx, 0x14
jge 0x1400ba81d
lea rax, [rbp + 0x210]
mov r8, rbx
sub r8, rax
nop word [rax + rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax + 0x210]
bswap ecx
mov dword [rbp + rdx*4 + 0x210], ecx
inc rdx
cmp rdx, 0x14
jl 0x1400ba800
lea rdx, [rbp + 0x210]
mov ecx, r15d
call fcn.1400ae8e0
mov ebx, 0x248
add rbx, r14
lea r14, [0x140000000]
nop dword [rax + rax]
mov r9, qword [rbx]
mov edx, edi
mov r8d, dword [rsi]
mov ecx, r15d
call fcn.1400b0000
mov rax, qword [rbx]
xor r9d, r9d
mov r8d, dword [rsi]
mov edx, edi
mov ecx, r15d
mov qword [rsp + 0x20], rax
call fcn.1400ada50
mov rax, qword [rbx]
xor r9d, r9d
mov r8d, dword [rsi]
mov edx, edi
mov ecx, r15d
mov qword [rsp + 0x20], rax
call fcn.1400b2370
mov r9, qword [rbx]
mov edx, edi
mov r8d, dword [rsi]
mov ecx, r15d
call fcn.1400ae3d0
mov rax, qword [rbx]
xor r9d, r9d
mov r8d, dword [rsi]
mov edx, edi
mov ecx, r15d
mov qword [rsp + 0x20], rax
call fcn.1400b2db0
mov r9, qword [rbx]
mov edx, edi
mov r8d, dword [rsi]
mov ecx, r15d
call fcn.1400bba80
mov r9, qword [rbx]
mov edx, edi
mov r8d, dword [rsi]
mov ecx, r15d
call fcn.1400bbe30
mov eax, dword [rsp + 0x3c]
mov edx, edi
mov r9, qword [rbx]
mov ecx, r15d
mov r8d, dword [rsi]
mov dword [rsp + 0x20], eax
call fcn.1400bc500
mov r9, qword [rbx]
lea rax, [rsp + 0x30]
mov r8d, dword [rsi]
mov edx, edi
mov qword [rsp + 0x28], rax
mov ecx, r15d
mov eax, dword [r13 + 0x1c]
mov dword [rsp + 0x20], eax
call fcn.1400bb4c0
mov rcx, qword [r14 + r15*8 + 0x182b80]
call fcn.14010cc86
cmp byte [0x140190370], 0
je 0x1400ba935
mov rcx, qword [r14 + r15*8 + 0x182b80]
mov byte [r15 + r14 + 0x18ffa8], 1
call sub.cudart64_80.dll_cudaStreamDestroy
xor ecx, ecx
call fcn.1400c5de0
mov rax, qword [rsp + 0x30]
cmp eax, 0xffffffff
je 0x1400ba9e6
mov r14d, dword [r13 + 0x1c]
xor ecx, ecx
cmp byte [reloc.WS2_32.dll_accept], cl
mov dword [rbp + 0x1f0], 0
mov qword [rbp + 0x1f4], rcx
mov qword [rbp + 0x1fc], rcx
mov qword [rbp + 0x204], rcx
mov dword [rbp + 0x20c], ecx
je 0x1400ba99c
bswap eax
lea rdx, [rbp + 0x210]
mov dword [rbp + 0x25c], eax
lea rcx, [rbp + 0x1f0]
call fcn.1400bad00
mov rax, qword [rsp + 0x30]
mov ecx, dword [rbp + 0x20c]
cmp ecx, r14d
ja 0x1400ba9c8
mov rdx, r13
lea rcx, [rbp + 0x1f0]
call fcn.1400342d0
test al, al
jne 0x1400baa49
mov ecx, dword [rbp + 0x20c]
mov rax, qword [rsp + 0x30]
cmp ecx, r14d
je 0x1400ba9df
mov r9d, eax
lea rdx, [0x14011d688]
mov r8d, r15d
mov ecx, 3
call fcn.140033450
lea r14, [0x140000000]
add dword [rsi], edi
mov rcx, r15
mov rax, qword [0x140190658]
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400baa11
mov eax, dword [rsi]
mov ecx, edi
add rcx, rax
mov eax, dword [rsp + 0x40]
cmp rax, rcx
ja 0x1400ba840
mov eax, dword [rsi]
sub eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
xor eax, eax
mov r14, qword [rsp + 0x388]
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140111120
add rsp, 0x390
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
sub edi, dword [rsp + 0x38]
mov ebx, 1
add edi, dword [rsi]
mov rcx, qword [rsp + 0x50]
mov r9d, dword [rsp + 0x34]
mov dword [rcx], edi
cmp r9d, 0xffffffff
je 0x1400baaf7
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400baa95
bswap r9d
lea rdx, [rbp + 0x210]
mov dword [rbp + 0x25c], r9d
lea rcx, [rbp + 0x1f0]
call fcn.1400bad00
mov r9d, dword [rsp + 0x34]
mov eax, dword [rbp + 0x20c]
cmp eax, r14d
ja 0x1400baae3
mov rdx, r13
lea rcx, [rbp + 0x1f0]
call fcn.1400342d0
mov r9d, dword [rsp + 0x34]
test al, al
je 0x1400baad8
mov rax, qword [rsp + 0x48]
mov ebx, 2
mov dword [rax + 0x54], r9d
cmp byte [0x140190373], 0
je 0x1400baaf7
lea rdx, str.GPU__d:_Found_second_nonce__08x
jmp 0x1400baaea
mov eax, dword [rbp + 0x20c]
cmp eax, r14d
je 0x1400baaf7
lea rdx, [0x14011d630]
mov r8d, r15d
mov ecx, 3
call fcn.140033450
mov rdx, qword [rsp + 0x30]
mov dword [rsi], edx
cmp byte [0x140190373], 0
je 0x1400bab1e
mov r9d, edx
mov r8d, r15d
lea rdx, str.GPU__d:_Found_nonce__08x
mov ecx, 3
call fcn.140033450
mov eax, ebx
jmp 0x1400baa20
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, Ordinal_143
lea r8, [0x14011d420]
lea rdx, [0x14011d430]
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, __WSAFDIsSet
lea r8, [0x14011d460]
lea rdx, [0x14011d470]
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, __WSAFDIsSet
lea r8, [0x14011d4a0]
lea rdx, [0x14011d4b0]
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, __WSAFDIsSet
lea r8, [0x14011d4e8]
lea rdx, [0x14011d4f8]
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, __WSAFDIsSet
lea r8, [0x14011d528]
lea rdx, [0x14011d538]
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, reloc.WS2_32.dll___WSAFDIsSet
lea r8, [0x14011d568]
lea rdx, [0x14011d578]
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, 0xb7
lea r8, str.scanhash_c11
lea rdx, [0x14011d5d8]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
call fcn.140110efc
int3