Function at 0x1400bd030
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov eax, dword [rdx + 0x4c]
lea r14, [rdx + 0x4c]
movsxd rsi, ecx
mov r13, r8
mov rcx, qword [rbp + 0x70]
mov r8d, 0x80000
mov qword [rsp + 0x60], rcx
mov edi, r9d
mov dword [rsp + 0x30], eax
lea rcx, [0x140000000]
lea rax, [rsi*4]
mov qword [rsp + 0x48], rdx
mov ecx, dword [rax + rcx + 0x1905d0]
lea rdx, [0x14011df00]
mov dword [rsp + 0x58], r9d
mov r12, rsi
mov qword [rsp + 0x50], rax
call fcn.14009d710
lea r9, [0x140000000]
mov ebx, eax
mov r15d, edi
lea rdx, [rsi*4]
sub r15d, dword [rsp + 0x30]
mov r8d, 0x100
movsxd rcx, dword [rdx + r9 + 0x1905d0]
cmp eax, r15d
cmovb r15d, eax
mov eax, reloc.WLDAP32.dll_Ordinal_32
and r15d, 0xfffffc00
cmp dword [r9 + rcx*4 + 0x18ffc0], 0x1f4
cmovg eax, r8d
cmp byte [0x140190373], 0
mov dword [rsp + 0x34], eax
je 0x1400bd10d
mov dword [r13 + 0x1c], reloc.WS2_32.dll_ntohs
mov rax, qword gs:[0x58]
mov ecx, dword [0x14018fef0]
mov rdi, qword [rax + rcx*8]
mov eax, 0x268
movzx eax, byte [rax + rdi]
test al, al
jne 0x1400bd209
mov ecx, dword [rdx + r9 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400bd5bc
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400bd5fc
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400bd63c
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400bd67c
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + rsi*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400bd6bc
mov edx, ebx
mov ecx, esi
call fcn.1400bc460
mov edx, ebx
mov ecx, esi
call fcn.1400bb370
mov rdx, rbx
mov ecx, 0x258
shl rdx, 6
add rcx, rdi
add rdx, 4
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400bd6fc
mov ecx, 0x260
lea edx, [rax + 0x10]
add rcx, rdi
xor r8d, r8d
call sub.cudart64_80.dll_cudaHostAlloc
test eax, eax
jne 0x1400bd73c
mov edx, ebx
mov ecx, esi
call fcn.1400b0450
cmp esi, 0x10
jae 0x1400bd77c
lea rax, [0x140000000]
mov byte [rsi + rax + 0x18ffa8], 0
mov eax, 0x268
mov byte [rax + rdi], 1
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400bd281
lea rax, [rbp - 0x70]
cmp rax, r14
ja 0x1400bd22c
mov rax, qword [rsp + 0x48]
lea rcx, [rbp - 0x24]
cmp rcx, rax
jae 0x1400bd286
mov rcx, qword [rsp + 0x48]
lea r8, [rbp - 0x60]
mov edx, 2
lea rax, [rbp - 0x60]
sub rcx, r8
lea r8d, [rdx + 0xe]
nop word [rax + 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 0x1400bd250
mov rax, qword [rsp + 0x48]
movsxd rdx, r8d
cmp rdx, 0x14
jge 0x1400bd2b7
lea rcx, [rbp - 0x70]
mov r8, rax
sub r8, rcx
nop dword [rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax - 0x70]
bswap ecx
mov dword [rbp + rdx*4 - 0x70], ecx
inc rdx
cmp rdx, 0x14
jl 0x1400bd2a0
lea rdx, [rbp - 0x70]
mov ecx, esi
call fcn.1400bc020
mov ecx, 0x258
add rcx, rdi
mov ebx, 0x260
add rbx, rdi
mov qword [rsp + 0x40], rcx
mov edi, 1
nop dword [rax]
mov r9, qword [rcx]
mov edx, r15d
mov r8d, dword [r14]
mov ecx, esi
call fcn.1400bbf60
mov eax, dword [rsp + 0x34]
mov edx, r15d
mov r9, qword [rsp + 0x40]
mov ecx, esi
mov r8d, dword [r14]
mov dword [rsp + 0x20], eax
mov r9, qword [r9]
call fcn.1400bc500
mov rax, qword [rsp + 0x40]
mov edx, r15d
mov r8d, dword [r14]
mov ecx, esi
mov r9, qword [rax]
call fcn.1400bbe30
mov eax, dword [rsp + 0x34]
mov edx, r15d
mov r8d, dword [r14]
mov ecx, esi
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov r9, qword [rax]
call fcn.1400bc500
mov rax, qword [rbx]
mov edx, r15d
mov r8d, dword [r14]
mov ecx, esi
mov qword [rsp + 0x28], rax
mov eax, dword [r13 + 0x1c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov r9, qword [rax]
call fcn.1400bb4c0
lea rax, [0x140000000]
mov rcx, qword [rax + r12*8 + 0x182b80]
call fcn.14010cc86
cmp byte [0x140190370], 0
je 0x1400bd3a4
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 0x1400bd435
mov esi, dword [r13 + 0x1c]
xor eax, eax
cmp byte [reloc.WS2_32.dll_accept], al
mov dword [rsp + 0x68], 0
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov dword [rbp - 0x7c], eax
je 0x1400bd3f3
mov rax, qword [rbx]
lea rdx, [rbp - 0x70]
mov ecx, dword [rax]
bswap ecx
mov dword [rbp - 0x24], ecx
lea rcx, [rsp + 0x68]
call fcn.1400bd7d0
mov eax, dword [rbp - 0x7c]
cmp eax, esi
ja 0x1400bd40f
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.1400342d0
test al, al
jne 0x1400bd47e
mov eax, dword [rbp - 0x7c]
cmp eax, esi
je 0x1400bd432
mov rax, qword [rbx]
lea rdx, [0x14011e150]
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 0x1400bd782
mov rax, qword [0x140190658]
mov rcx, r12
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400bd5aa
mov eax, dword [r14]
mov ecx, r15d
add rcx, rax
mov eax, dword [rsp + 0x58]
cmp rax, rcx
jbe 0x1400bd5aa
mov rcx, qword [rsp + 0x40]
jmp 0x1400bd2e0
mov rcx, qword [rsp + 0x60]
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 0x1400bd54b
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400bd4b9
bswap ecx
mov dword [rbp - 0x24], ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.1400bd7d0
mov eax, dword [rbp - 0x7c]
cmp eax, esi
ja 0x1400bd520
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.1400342d0
test al, al
je 0x1400bd519
mov rax, qword [rbx]
lea r15, [0x140000000]
mov rdx, qword [rsp + 0x48]
mov edi, 2
mov rsi, qword [rsp + 0x50]
mov ecx, dword [rax + 4]
mov dword [rdx + 0x54], ecx
cmp byte [0x140190373], 0
je 0x1400bd557
mov rax, qword [rbx]
lea rdx, [0x14011e0d0]
mov r8d, dword [rsi + r15 + 0x1905d0]
lea ecx, [rdi + 1]
mov r9d, dword [rax + 4]
call fcn.140033450
jmp 0x1400bd557
mov eax, dword [rbp - 0x7c]
cmp eax, esi
je 0x1400bd54b
mov rax, qword [rbx]
lea r15, [0x140000000]
mov rsi, qword [rsp + 0x50]
lea rdx, [0x14011e0f8]
mov ecx, edi
mov r9d, dword [rax + 4]
mov r8d, dword [rsi + r15 + 0x1905d0]
call fcn.140033450
jmp 0x1400bd557
mov rsi, qword [rsp + 0x50]
lea r15, [0x140000000]
mov rdx, qword [rbx]
mov r9d, dword [rdx]
mov dword [r14], r9d
cmp byte [0x140190373], 0
je 0x1400bd588
mov rdx, qword [rbx]
mov ecx, 3
mov r8d, dword [rsi + r15 + 0x1905d0]
mov r9d, dword [rdx]
lea rdx, [0x14011e130]
call fcn.140033450
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140111120
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [r14]
sub eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
xor eax, eax
jmp 0x1400bd58a
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, 0x58
lea r8, [0x14011df10]
lea rdx, [0x14011df20]
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, 0x59
lea r8, [0x14011df50]
lea rdx, [0x14011df60]
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, 0x5a
lea r8, [0x14011df90]
lea rdx, [0x14011dfa0]
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, 0x5b
lea r8, [0x14011dfd0]
lea rdx, [0x14011dfe0]
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, 0x5c
lea r8, [0x14011e010]
lea rdx, [0x14011e020]
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, WSAGetLastError
lea r8, [0x14011e050]
lea rdx, [0x14011e060]
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, WSAGetLastError
lea r8, [0x14011e090]
lea rdx, [0x14011e0a0]
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, 0xb2
lea r8, str.scanhash_fresh
lea rdx, [0x14011e198]
call fcn.140027e90
mov ecx, edi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3