Function at 0x1400c4a30
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xf8
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp - 1], rax
mov r14d, dword [rdx + 0x4c]
lea rsi, [rdx + 0x4c]
movsxd r12, ecx
mov r15, r8
mov rcx, qword [rbp + 0x7f]
mov ebx, r9d
mov qword [rsp + 0x38], rdx
lea rdx, [0x140000000]
mov qword [rsp + 0x48], r8
mov r8d, 0x100
lea rax, [r12*4]
mov qword [rsp + 0x58], rcx
movsxd rcx, dword [rax + rdx + 0x1905d0]
mov qword [rsp + 0x40], rax
mov eax, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x30], r14d
mov edx, dword [rdx + rcx*4 + 0x18ffc0]
cmp edx, 0x1f4
cmovg eax, r8d
cmp edx, 0x208
mov dword [rsp + 0x50], eax
lea rdx, [0x1401201d0]
mov eax, 0x90000
mov r8d, 0xf0000
cmovne r8d, eax
call fcn.14009d710
sub ebx, r14d
mov edi, eax
cmp eax, ebx
cmovb ebx, eax
and ebx, 0xfffffc00
cmp byte [0x140190373], 0
je 0x1400c4b02
mov dword [r15 + 0x1c], 0x3f
mov r14d, dword [0x14018fef0]
lea rcx, [0x140000000]
movzx eax, byte [rcx + r12 + 0x18e388]
test al, al
jne 0x1400c4c59
mov ecx, dword [rcx + r12*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400c5146
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400c5186
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400c51c6
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400c5206
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + r12*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400c5246
mov edx, edi
mov ecx, r12d
call fcn.1400b2360
mov ecx, r12d
call fcn.1400b2d40
mov edx, edi
mov ecx, r12d
call fcn.1400ada40
mov edx, edi
mov ecx, r12d
call fcn.1400bc460
mov edx, edi
mov ecx, r12d
call fcn.1400bb370
mov edx, edi
mov ecx, r12d
call fcn.1400bf200
mov edx, edi
mov ecx, r12d
call fcn.1400bf4f0
xor r8d, r8d
mov edx, edi
mov ecx, r12d
call fcn.1400c1440
mov edx, edi
mov ecx, r12d
call fcn.1400c26f0
mov edx, edi
mov ecx, r12d
call fcn.1400c2350
lea rax, [0x140000000]
mov rdx, rdi
lea rcx, [rax + 0x18e3a0]
shl rdx, 6
lea rcx, [rcx + r12*8]
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400c5286
mov rax, qword gs:[0x58]
xor r8d, r8d
mov edi, 0x2e8
mov ecx, edi
add rcx, qword [rax + r14*8]
lea edx, [r8 + 8]
call sub.cudart64_80.dll_cudaHostAlloc
test eax, eax
jne 0x1400c52c6
cmp r12d, 0x10
jae 0x1400c5306
lea rcx, [0x140000000]
mov byte [rcx + r12 + 0x18ffa8], al
mov byte [rcx + r12 + 0x18e388], 1
jmp 0x1400c4c5e
mov edi, 0x2e8
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400c4cd1
lea rax, [rbp - 0x61]
cmp rax, rsi
ja 0x1400c4c81
mov rax, qword [rsp + 0x38]
lea rcx, [rbp - 0x15]
cmp rcx, rax
jae 0x1400c4cd6
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x51]
sub rdx, rcx
lea rax, [rbp - 0x51]
mov ecx, 2
lea r8d, [rcx + 0xe]
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 0x1400c4ca0
mov rax, qword [rsp + 0x38]
movsxd rdx, r8d
cmp rdx, 0x14
jge 0x1400c4d07
lea rcx, [rbp - 0x61]
mov r8, rax
sub r8, rcx
nop dword [rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax - 0x61]
bswap ecx
mov dword [rbp + rdx*4 - 0x61], ecx
inc rdx
cmp rdx, 0x14
jl 0x1400c4cf0
lea rdx, [rbp - 0x61]
mov ecx, r12d
call fcn.1400ae8e0
mov edx, r12d
mov rcx, r15
call fcn.1400b0530
mov rax, qword gs:[0x58]
mov ecx, edi
mov edi, 1
mov r14, qword [rax + r14*8]
add r14, rcx
mov r8d, dword [rsi]
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov ecx, r12d
call fcn.1400b0000
mov r8d, dword [rsi]
lea rcx, [0x140000000]
mov rax, qword [rcx + r12*8 + 0x18e3a0]
xor r9d, r9d
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov edx, ebx
call fcn.1400ada50
mov r8d, dword [rsi]
lea rcx, [0x140000000]
mov rax, qword [rcx + r12*8 + 0x18e3a0]
xor r9d, r9d
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov edx, ebx
call fcn.1400b2370
mov r8d, dword [rsi]
lea rcx, [0x140000000]
mov rax, qword [rcx + r12*8 + 0x18e3a0]
xor r9d, r9d
mov ecx, r12d
mov qword [rsp + 0x20], rax
mov edx, ebx
call fcn.1400b2db0
mov r8d, dword [rsi]
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov ecx, r12d
call fcn.1400ae3d0
mov r8d, dword [rsi]
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov ecx, r12d
call fcn.1400bba80
mov r8d, dword [rsi]
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov ecx, r12d
call fcn.1400bbe30
mov eax, dword [rsp + 0x50]
mov edx, ebx
mov r8d, dword [rsi]
mov ecx, r12d
mov dword [rsp + 0x20], eax
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
call fcn.1400bc500
mov r8d, dword [rsi]
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov ecx, r12d
call fcn.1400bb3f0
mov r8d, dword [rsi]
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov ecx, r12d
call fcn.1400bf210
mov r8d, dword [rsi]
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov ecx, r12d
call fcn.1400bf5e0
mov r8d, dword [rsi]
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov ecx, r12d
call fcn.1400c1110
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov r8d, dword [rsi]
mov ecx, r12d
call fcn.1400c14a0
mov r8d, dword [rsi]
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
mov edx, ebx
mov ecx, r12d
call fcn.1400c2700
mov rax, qword [r14]
mov edx, ebx
mov r8d, dword [rsi]
mov ecx, r12d
mov qword [rsp + 0x28], rax
mov eax, dword [r15 + 0x1c]
mov dword [rsp + 0x20], eax
lea rax, [0x140000000]
mov r9, qword [rax + r12*8 + 0x18e3a0]
call fcn.1400c2370
cmp byte [0x140190370], 0
je 0x1400c4f35
lea rax, [0x140000000]
mov rcx, qword [rax + r12*8 + 0x182b80]
mov byte [rax + r12 + 0x18ffa8], dil
call sub.cudart64_80.dll_cudaStreamDestroy
xor ecx, ecx
call fcn.1400c5de0
mov rax, qword [r14]
cmp dword [rax], 0xffffffff
je 0x1400c4fcd
mov r15d, dword [r15 + 0x1c]
xor eax, eax
cmp byte [reloc.WS2_32.dll_accept], al
mov dword [rsp + 0x60], 0
mov qword [rbp - 0x7d], rax
mov qword [rbp - 0x75], rax
mov qword [rbp - 0x6d], rax
mov dword [rbp - 0x65], eax
je 0x1400c4f81
mov rax, qword [r14]
lea rdx, [rbp - 0x61]
mov ecx, dword [rax]
bswap ecx
mov dword [rbp - 0x15], ecx
lea rcx, [rsp + 0x60]
call fcn.1400c5350
mov eax, dword [rbp - 0x65]
cmp eax, r15d
ja 0x1400c4fa5
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.1400342d0
test al, al
jne 0x1400c5034
mov eax, dword [rbp - 0x65]
cmp eax, r15d
je 0x1400c4fc8
mov rax, qword [r14]
lea rdx, [0x140120418]
mov ecx, edi
mov r9d, dword [rax]
lea rax, [0x140000000]
mov r8d, dword [rax + r12*4 + 0x1905d0]
call fcn.140033450
mov r15, qword [rsp + 0x48]
add dword [rsi], ebx
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
jne 0x1400c530c
mov rax, qword [0x140190658]
mov rcx, r12
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400c5005
mov eax, dword [rsi]
mov ecx, ebx
add rcx, rax
mov eax, dword [rsp + 0x54]
cmp rax, rcx
ja 0x1400c4d35
mov eax, dword [rsi]
sub eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140111120
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rsp + 0x58]
sub ebx, dword [rsp + 0x30]
add ebx, dword [rsi]
mov dword [rcx], ebx
mov rax, qword [r14]
mov ecx, dword [rax + 4]
cmp ecx, 0xffffffff
je 0x1400c5102
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400c506c
bswap ecx
mov dword [rbp - 0x15], ecx
lea rdx, [rbp - 0x61]
lea rcx, [rsp + 0x60]
call fcn.1400c02f0
mov eax, dword [rbp - 0x65]
cmp eax, r15d
ja 0x1400c50d7
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.1400342d0
test al, al
je 0x1400c50cf
mov rax, qword [r14]
lea r15, [0x140000000]
mov rdx, qword [rsp + 0x38]
mov edi, 2
mov rbx, qword [rsp + 0x40]
mov ecx, dword [rax + 4]
mov dword [rdx + 0x54], ecx
cmp byte [0x140190373], 0
je 0x1400c510e
mov rax, qword [r14]
lea rdx, str.GPU__d_Found_second_nonce__08x
mov r8d, dword [rbx + r15 + 0x1905d0]
lea ecx, [rdi + 1]
mov r9d, dword [rax + 4]
call fcn.140033450
jmp 0x1400c510e
mov eax, dword [rbp - 0x65]
cmp eax, r15d
je 0x1400c5102
mov rax, qword [r14]
lea r15, [0x140000000]
mov rbx, qword [rsp + 0x40]
lea rdx, [0x1401203c0]
mov ecx, edi
mov r9d, dword [rax + 4]
mov r8d, dword [rbx + r15 + 0x1905d0]
call fcn.140033450
jmp 0x1400c510e
mov rbx, qword [rsp + 0x40]
lea r15, [0x140000000]
mov rdx, qword [r14]
mov r9d, dword [rdx]
mov dword [rsi], r9d
cmp byte [0x140190373], 0
je 0x1400c513f
mov rdx, qword [r14]
mov ecx, 3
mov r8d, dword [rbx + r15 + 0x1905d0]
mov r9d, dword [rdx]
lea rdx, str.GPU__d_Found_nonce__08x
call fcn.140033450
mov eax, edi
jmp 0x1400c5014
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, 0xc9
lea r8, [0x1401201e0]
lea rdx, [0x1401201f0]
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, 0xca
lea r8, [0x140120220]
lea rdx, [0x140120230]
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, 0xcb
lea r8, [0x140120260]
lea rdx, [0x140120270]
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, 0xcc
lea r8, [0x1401202a0]
lea rdx, [0x1401202b0]
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, 0xcd
lea r8, [0x1401202e0]
lea rdx, [0x1401202f0]
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, 0xe4
lea r8, [0x140120320]
lea rdx, [0x140120330]
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, 0xe5
lea r8, [0x140120360]
lea rdx, [0x140120370]
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, 0x136
lea r8, str.scanhash_x17
lea rdx, [0x140120460]
call fcn.140027e90
mov ecx, edi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3