Function at 0x1400a5070
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x358]
sub rsp, 0x458
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov eax, dword [rdx + 0x4c]
lea r14, [rdx + 0x4c]
movsxd rsi, ecx
mov ebx, r9d
mov rcx, qword [rbp + 0x3c0]
lea r9, [0x140000000]
mov r13, r8
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov edx, 0x10000000
lea rax, [rsi*4]
mov qword [rsp + 0x50], rcx
movsxd rcx, dword [rax + r9 + 0x1905d0]
mov r8d, 0x8000000
mov dword [rsp + 0x48], ebx
mov r12, rsi
mov qword [rsp + 0x40], rax
cmp dword [r9 + rcx*4 + 0x18ffc0], 0x1f4
cmovg r8d, edx
lea rdx, [0x140116978]
call fcn.14009d710
mov r15d, ebx
mov edi, eax
sub r15d, dword [rsp + 0x30]
cmp eax, r15d
cmovb r15d, eax
and r15d, 0xfffffc00
cmp byte [0x140190373], 0
je 0x1400a5135
mov dword [r13 + 0x1c], 2
mov rax, qword gs:[0x58]
mov ecx, dword [0x14018fef0]
mov rbx, qword [rax + rcx*8]
mov eax, 0xe8
movzx eax, byte [rax + rbx]
test al, al
jne 0x1400a5205
lea rax, [0x140000000]
mov ecx, dword [rax + rsi*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400a55dd
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400a561d
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400a565d
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400a569d
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + rsi*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400a56dd
mov ecx, 0xe0
lea edx, [rax + 8]
add rcx, rbx
xor r8d, r8d
call sub.cudart64_80.dll_cudaHostAlloc
test eax, eax
jne 0x1400a571d
mov edx, edi
mov ecx, esi
call fcn.1400a8c00
cmp esi, 0x10
jae 0x1400a575d
lea rax, [0x140000000]
mov byte [rsi + rax + 0x18ffa8], 0
mov eax, 0xe8
mov byte [rax + rbx], 1
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400a5281
lea rax, [rbp + 0x260]
cmp rax, r14
ja 0x1400a522e
mov rax, qword [rsp + 0x38]
lea rcx, [rbp + 0x2ac]
cmp rcx, rax
jae 0x1400a5286
mov rcx, qword [rsp + 0x38]
lea r8, [rbp + 0x270]
mov edx, 2
lea rax, [rbp + 0x270]
sub rcx, r8
lea r8d, [rdx + 0xe]
nop dword [rax]
movdqu xmm0, xmmword [rcx + rax]
movdqu xmm1, xmmword [rcx + 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 rdx, 1
jne 0x1400a5250
mov rax, qword [rsp + 0x38]
movsxd rdx, r8d
cmp rdx, 0x14
jge 0x1400a52bd
lea rcx, [rbp + 0x260]
mov r8, rax
sub r8, rcx
nop dword [rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax + 0x260]
bswap ecx
mov dword [rbp + rdx*4 + 0x260], ecx
inc rdx
cmp rdx, 0x14
jl 0x1400a52a0
mov r8, r13
lea rdx, [rbp + 0x260]
mov ecx, esi
call fcn.1400a8a90
mov eax, 0xe0
mov edi, 1
add rbx, rax
nop dword [rax + rax]
mov r9, qword [rbx]
mov edx, r15d
mov r8d, dword [r14]
mov ecx, esi
call fcn.1400a87c0
cmp byte [0x140190370], 0
je 0x1400a531c
lea rax, [0x140000000]
mov rcx, qword [rax + r12*8 + 0x182b80]
mov byte [r12 + rax + 0x18ffa8], dil
call sub.cudart64_80.dll_cudaStreamDestroy
xor ecx, ecx
call fcn.1400c5de0
mov rax, qword [rbx]
cmp dword [rax], 0xffffffff
je 0x1400a540a
mov esi, dword [r13 + 0x1c]
xor eax, eax
cmp byte [reloc.WS2_32.dll_accept], al
mov dword [rbp + 0x240], 0
mov qword [rbp + 0x244], rax
mov qword [rbp + 0x24c], rax
mov qword [rbp + 0x254], rax
mov dword [rbp + 0x25c], eax
je 0x1400a53b6
mov rax, qword [rbx]
mov ecx, dword [rax]
bswap ecx
mov dword [rbp + 0x2ac], ecx
lea rcx, [rsp + 0x60]
call fcn.140075390
mov r8d, 0x50
lea rdx, [rbp + 0x260]
lea rcx, [rsp + 0x60]
call fcn.140075430
lea rdx, [rbp + 0x2c0]
lea rcx, [rsp + 0x60]
call fcn.140075440
movaps xmm0, xmmword [rbp + 0x2c0]
movaps xmm1, xmmword [rbp + 0x2d0]
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm1
mov rax, qword [rbp + 0x258]
shr rax, 0x20
cmp eax, esi
ja 0x1400a53dc
mov rdx, r13
lea rcx, [rbp + 0x240]
call fcn.1400342d0
test al, al
jne 0x1400a5478
cmp dword [rbp + 0x25c], esi
je 0x1400a5407
mov rax, qword [rbx]
lea rdx, [0x140116bc0]
mov ecx, edi
mov r9d, dword [rax]
lea rax, [0x140000000]
mov r8d, dword [rax + r12*4 + 0x1905d0]
call fcn.140033450
mov esi, r12d
add dword [r14], r15d
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
jne 0x1400a5763
mov rax, qword [0x140190658]
mov rcx, r12
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400a5445
mov eax, dword [r14]
mov ecx, r15d
add rcx, rax
mov eax, dword [rsp + 0x48]
cmp rax, rcx
ja 0x1400a52e0
mov eax, dword [r14]
sub eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140111120
add rsp, 0x458
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rsp + 0x50]
sub r15d, dword [rsp + 0x30]
add r15d, dword [r14]
mov dword [rcx], r15d
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
cmp ecx, 0xffffffff
je 0x1400a5599
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400a54fc
bswap ecx
mov dword [rbp + 0x2ac], ecx
lea rcx, [rbp + 0xd0]
call fcn.140075390
mov r8d, 0x50
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0xd0]
call fcn.140075430
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0xd0]
call fcn.140075440
movaps xmm0, xmmword [rbp + 0x300]
movaps xmm1, xmmword [rbp + 0x310]
movups xmmword [rbp + 0x240], xmm0
movups xmmword [rbp + 0x250], xmm1
mov rax, qword [rbp + 0x258]
shr rax, 0x20
cmp eax, esi
ja 0x1400a5566
mov rdx, r13
lea rcx, [rbp + 0x240]
call fcn.1400342d0
test al, al
je 0x1400a5566
mov rax, qword [rbx]
lea r15, [0x140000000]
mov rdx, qword [rsp + 0x38]
mov edi, 2
mov rsi, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
mov dword [rdx + 0x54], ecx
cmp byte [0x140190373], 0
je 0x1400a55a5
mov rax, qword [rbx]
lea rdx, [0x140116b40]
mov r8d, dword [rsi + r15 + 0x1905d0]
lea ecx, [rdi + 1]
mov r9d, dword [rax + 4]
call fcn.140033450
jmp 0x1400a55a5
cmp dword [rbp + 0x25c], esi
lea r15, [0x140000000]
mov rsi, qword [rsp + 0x40]
je 0x1400a55a5
mov rax, qword [rbx]
lea rdx, [0x140116b68]
mov r8d, dword [rsi + r15 + 0x1905d0]
mov ecx, edi
mov r9d, dword [rax + 4]
call fcn.140033450
jmp 0x1400a55a5
mov rsi, qword [rsp + 0x40]
lea r15, [0x140000000]
mov rdx, qword [rbx]
mov r9d, dword [rdx]
mov dword [r14], r9d
cmp byte [0x140190373], 0
je 0x1400a55d6
mov rdx, qword [rbx]
mov ecx, 3
mov r8d, dword [rsi + r15 + 0x1905d0]
mov r9d, dword [rdx]
lea rdx, [0x140116ba0]
call fcn.140033450
mov eax, edi
jmp 0x1400a5455
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, gethostname
lea r8, [0x140116990]
lea rdx, [0x1401169a8]
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, gethostname
lea r8, [0x1401169d8]
lea rdx, [0x1401169f0]
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, gethostname
lea r8, [0x140116a20]
lea rdx, [0x140116a38]
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, gethostname
lea r8, [0x140116a68]
lea rdx, [0x140116a80]
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_gethostname
lea r8, [0x140116ab0]
lea rdx, [0x140116ac8]
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, Ordinal_60
lea r8, [0x140116af8]
lea rdx, [0x140116b10]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
call fcn.140110efc
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, 0x7a
lea r8, str.scanhash_keccak256
lea rdx, [0x140116c10]
call fcn.140027e90
mov ecx, edi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3