Function at 0x1400b9b90
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rax, qword [rbp + 0x2e0]
lea rsi, [rdx + 0x4c]
mov edi, dword [rsi]
mov rbx, r8
movsxd r15, ecx
mov r14d, r9d
mov qword [rsp + 0x58], rax
mov r8d, 0x8000000
mov qword [rsp + 0x38], rdx
mov r13, r15
mov dword [rsp + 0x40], r9d
mov edx, 0x10000000
lea r9, [0x140000000]
mov qword [rsp + 0x50], rbx
lea rax, [r9 + 0x1905d0]
mov dword [rsp + 0x34], edi
movsxd rcx, dword [rax + r15*4]
lea rax, [rax + r15*4]
mov qword [rsp + 0x48], rax
cmp dword [r9 + rcx*4 + 0x18ffc0], 0x1f4
cmovg r8d, edx
lea rdx, [0x14011d188]
call fcn.14009d710
sub r14d, edi
cmp eax, r14d
cmovb r14d, eax
and r14d, 0xfffffc00
cmp byte [0x140190373], 0
je 0x1400b9c58
movabs rax, 0x3000f0000
mov qword [rbx + 0x18], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x14018fef0]
mov r12, qword [rbx + 0x18]
mov edi, 0x240
mov rbx, qword [rax + rcx*8]
movzx eax, byte [rdi + rbx]
test al, al
jne 0x1400b9d21
lea rax, [0x140000000]
mov ecx, dword [rax + r15*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400ba16e
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400ba1ae
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400ba1ee
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400ba22e
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + r15*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400ba26e
mov ecx, 0x238
lea edx, [rax + 8]
add rcx, rbx
xor r8d, r8d
call sub.cudart64_80.dll_cudaHostAlloc
test eax, eax
jne 0x1400ba2ae
cmp r15d, 0x10
jae 0x1400ba2ee
lea rax, [0x140000000]
mov byte [rax + r15 + 0x18ffa8], 0
mov byte [rdi + rbx], 1
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400b9da1
lea rax, [rbp + 0x180]
cmp rax, rsi
ja 0x1400b9d4a
mov rax, qword [rsp + 0x38]
lea rcx, [rbp + 0x1cc]
cmp rcx, rax
jae 0x1400b9da6
mov rcx, qword [rsp + 0x38]
lea r8, [rbp + 0x190]
mov edx, 2
lea rax, [rbp + 0x190]
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 0x1400b9d70
mov rax, qword [rsp + 0x38]
movsxd rdx, r8d
cmp rdx, 0x14
jge 0x1400b9ddd
lea rcx, [rbp + 0x180]
mov r8, rax
sub r8, rcx
nop dword [rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax + 0x180]
bswap ecx
mov dword [rbp + rdx*4 + 0x180], ecx
inc rdx
cmp rdx, 0x14
jl 0x1400b9dc0
lea rdx, [rbp + 0x180]
mov ecx, r15d
call fcn.1400b4410
mov edi, 0x238
add rdi, rbx
mov ebx, 1
nop dword [rax]
mov rcx, qword [rsp + 0x58]
mov eax, r14d
sub eax, dword [rsp + 0x34]
mov r9d, ebx
add eax, dword [rsi]
mov edx, r14d
mov dword [rcx], eax
lea rcx, [0x140000000]
movsxd rax, dword [rcx + r13*4 + 0x1905d0]
mov r8d, dword [rsi]
cmp dword [rcx + rax*4 + 0x18ffc0], 0x1f4
mov ecx, r15d
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
jle 0x1400b9e4c
call fcn.1400b45b0
jmp 0x1400b9e51
call fcn.1400b4750
cmp byte [0x140190370], 0
je 0x1400b9e7d
lea rax, [0x140000000]
mov rcx, qword [rax + r13*8 + 0x182b80]
mov byte [rax + r13 + 0x18ffa8], bl
call sub.cudart64_80.dll_cudaStreamDestroy
xor ecx, ecx
call fcn.1400c5de0
mov rax, qword [rdi]
cmp dword [rax], 0xffffffff
je 0x1400b9fa0
xor eax, eax
mov dword [rbp + 0x160], 0
mov qword [rbp + 0x164], rax
mov qword [rbp + 0x16c], rax
mov qword [rbp + 0x174], rax
mov dword [rbp + 0x17c], eax
mov rax, qword [rdi]
mov ecx, dword [rax]
bswap ecx
mov dword [rbp + 0x1cc], ecx
lea rcx, [rbp + 0x40]
call fcn.14008d7a0
mov r8d, 0x50
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x40]
call fcn.14008d6e0
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x40]
call fcn.14008d830
lea rcx, [rsp + 0x60]
call fcn.14010c610
mov r8d, 0x40
lea rdx, [rbp + 0x1e0]
lea rcx, [rsp + 0x60]
call fcn.14010c680
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1e0]
call fcn.14010c2f0
movaps xmm1, xmmword [rbp + 0x1f0]
movaps xmm0, xmmword [rbp + 0x1e0]
movups xmmword [rbp + 0x170], xmm1
psrldq xmm1, 8
movq r15, xmm1
movups xmmword [rbp + 0x160], xmm0
cmp r15, r12
ja 0x1400b9f67
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.1400342d0
test al, al
jne 0x1400b9fff
cmp r15, r12
je 0x1400b9f8c
mov rax, qword [rdi]
lea rdx, [0x14011d3d0]
mov ecx, ebx
mov r9d, dword [rax]
lea rax, [0x140000000]
mov r8d, dword [rax + r13*4 + 0x1905d0]
call fcn.140033450
jmp 0x1400b9f9d
mov r8, r15
lea rdx, str.Lost_work:__d
mov ecx, ebx
call fcn.140033450
mov r15d, r13d
add dword [rsi], r14d
mov rcx, r13
mov rax, qword [0x140190658]
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400b9fcd
mov eax, dword [rsi]
mov ecx, r14d
add rcx, rax
mov eax, dword [rsp + 0x40]
cmp rax, rcx
ja 0x1400b9e00
mov eax, dword [rsi]
sub eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140111120
add rsp, 0x378
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp byte [0x140190372], 0
jne 0x1400ba011
cmp byte [0x140190373], 0
je 0x1400ba032
mov rax, qword [rdi]
lea rdx, [0x14011d350]
mov r15, qword [rsp + 0x48]
mov ecx, 3
mov r9d, dword [rax]
mov r8d, dword [r15]
call fcn.140033450
jmp 0x1400ba037
mov r15, qword [rsp + 0x48]
mov rax, qword [rdi]
mov ecx, dword [rax + 4]
cmp ecx, 0xffffffff
je 0x1400ba160
bswap ecx
mov dword [rbp + 0x1cc], ecx
lea rcx, [rbp + 0xd0]
call fcn.14008d7a0
mov r8d, 0x50
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0xd0]
call fcn.14008d6e0
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0xd0]
call fcn.14008d830
lea rcx, [rbp - 0x30]
call fcn.14010c610
mov r8d, 0x40
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x30]
call fcn.14010c680
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x220]
call fcn.14010c2f0
movaps xmm1, xmmword [rbp + 0x230]
movaps xmm0, xmmword [rbp + 0x220]
movups xmmword [rbp + 0x170], xmm1
psrldq xmm1, 8
movq r14, xmm1
movups xmmword [rbp + 0x160], xmm0
cmp r14, r12
ja 0x1400ba148
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.1400342d0
test al, al
je 0x1400ba143
cmp byte [0x140190372], 0
jne 0x1400ba107
cmp byte [0x140190373], 0
je 0x1400ba122
mov rax, qword [rdi]
lea rdx, str.GPU__d:_found_nonce___08X
mov r8d, dword [r15]
mov ecx, 3
mov r9d, dword [rax + 4]
call fcn.140033450
mov rax, qword [rdi]
mov ebx, 2
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rax + 4]
mov eax, ebx
mov dword [rdx + 0x50], ecx
mov rcx, qword [rdi]
mov edx, dword [rcx]
mov dword [rsi], edx
jmp 0x1400b9fdc
cmp r14, r12
je 0x1400ba160
mov rcx, qword [rdi]
lea rdx, [0x14011d390]
mov r8d, dword [r15]
mov r9d, dword [rcx + 4]
mov ecx, ebx
call fcn.140033450
mov rcx, qword [rdi]
mov eax, ebx
mov edx, dword [rcx]
mov dword [rsi], edx
jmp 0x1400b9fdc
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, 0x40
lea r8, [0x14011d1a0]
lea rdx, [0x14011d1b8]
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, 0x41
lea r8, [0x14011d1e8]
lea rdx, [0x14011d200]
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, 0x42
lea r8, [0x14011d230]
lea rdx, [0x14011d248]
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, 0x43
lea r8, [0x14011d278]
lea rdx, [0x14011d290]
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, 0x44
lea r8, [0x14011d2c0]
lea rdx, [0x14011d2d8]
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, 0x45
lea r8, str.scanhash_skeincoin
lea rdx, [0x14011d320]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
call fcn.140110efc
int3