joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002b20
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
movsx rax, byte [rdx]
mov rbx, rdx
mov r9, rcx
mov r8, rdx
mov r10d, 0x1505
test rax, rax
je 0x140002b54
nop dword [rax]
imul r10, r10, 0x21
lea r8, [r8 + 1]
add r10, rax
movsx rax, byte [r8]
test rax, rax
jne 0x140002b40
mov rcx, qword [rcx + 0x10]
lea r8, reloc.WS2_32.dll_getpeername
xor edx, edx
mov rax, r10
div qword [r8 + rcx*8]
lea rax, [r9 + 0x18]
mov r11, rdx
shl r11, 4
add r11, qword [r9 + 8]
mov r8, qword [r11]
cmp r8, rax
jne 0x140002b85
cmp r8, qword [r11 + 8]
je 0x140002bcd
cmp qword [r8 - 8], r10
jne 0x140002bb7
lea rax, [r8 + 0x20]
mov r9, rbx
sub r9, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x140002bb3
inc rax
test ecx, ecx
jne 0x140002ba0
test edx, edx
je 0x140002bc3
cmp r8, qword [r11 + 8]
je 0x140002bcd
mov r8, qword [r8 + 8]
jmp 0x140002b85
mov rax, qword [r8 + 0x10]
mov rbx, qword [rsp + 8]
ret
mov rbx, qword [rsp + 8]
xor eax, eax
ret

Function at 0x140004f60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, ecx
lea rcx, [0x14007f510]
call fcn.140016a80
mov r8d, dword [0x14007ed14]
lea rdx, str.stopping__d_threads
mov ecx, 3
mov dword [0x14007ee30], 1
call fcn.140012120
mov r9d, dword [0x14007ed14]
lea r10, [0x14007ecf0]
xor ebx, ebx
nop
mov eax, 1
mov r8d, ebx
test r9d, r9d
jle 0x140004fde
mov rdx, r10
mov ecx, dword [rdx]
lea rdx, [rdx + 4]
mov r9d, dword [0x14007ed14]
test ecx, ecx
cmove eax, ebx
inc r8d
cmp r8d, r9d
jl 0x140004fc0
test eax, eax
je 0x140004fb0
lea rdx, str.resetting_GPUs
mov ecx, 3
call fcn.140012120
movsxd rdi, dword [0x14007ed14]
test rdi, rdi
jle 0x14000504e
mov qword [rsp + 0x30], r14
lea r14, [0x14007f000]
nop word [rax + rax]
mov ecx, dword [r14 + rbx*4]
call qword [sym.imp.cudart64_80.dll_cudaSetDevice]
test eax, eax
jne 0x14000502c
call qword [sym.imp.cudart64_80.dll_cudaDeviceSynchronize]
call qword [sym.imp.cudart64_80.dll_cudaDeviceReset]
jmp 0x140005041
mov r8d, dword [r14 + rbx*4]
lea rdx, str.cant_reset_GPU__d
mov ecx, 1
call fcn.140012120
inc rbx
cmp rbx, rdi
jl 0x140005010
mov r14, qword [rsp + 0x30]
call fcn.14001a250
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140008d70
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x14007f080]
test rbx, rbx
je 0x140008d68
cmp dword [rbx], 0
jne 0x140008d68
mov qword [rsp + 0x30], rbp
xor ebp, ebp
mov qword [rsp + 0x38], rsi
lea rsi, [0x14006f518]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r14
lea r14, str.config
mov rdi, qword [rsi - 0x18]
test rdi, rdi
je 0x140008d54
xor eax, eax
movzx ecx, byte [rdi + rax]
inc rax
cmp cl, byte [r14 + rax - 1]
jne 0x140008ccb
cmp rax, 7
jne 0x140008cb2
jmp 0x140008d45
test rbx, rbx
je 0x140008d45
cmp dword [rbx], 0
jne 0x140008d45
lea rcx, [rbx + 0x10]
mov rdx, rdi
call fcn.140002b20
test rax, rax
je 0x140008d45
cmp dword [rsi - 0x10], 0
je 0x140008d18
cmp dword [rax], 2
jne 0x140008d2d
mov rcx, qword [rax + 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rbx, rax
test rax, rax
je 0x140008d54
mov ecx, dword [rsi]
mov rdx, rax
call fcn.140007fc0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140008d3e
cmp dword [rax], 5
jne 0x140008d2d
mov ecx, dword [rsi]
lea rdx, [0x14006e13e]
call fcn.140007fc0
jmp 0x140008d3e
mov r8, rdi
lea rdx, str.JSON_option__s_invalid
xor ecx, ecx
call fcn.140012120
mov rbx, qword [0x14007f080]
inc ebp
add rsi, 0x20
cmp ebp, 0x1e
jb 0x140008ca3
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov ebx, ecx
call fcn.140001410
test eax, eax
js 0x140008dac
nop dword [rax + rax]
mov rdx, qword [0x14007f550]
mov ecx, eax
call fcn.140007fc0
mov rdx, rdi
mov ecx, ebx
call fcn.140001410
test eax, eax
jns 0x140008d90
movsxd rax, dword [reloc.WS2_32.dll_accept]
cmp eax, ebx
jge 0x140008e01
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [rdi + rbx*8]
lea rdx, str._s:_unsupported_non_option_argument__s_n
mov r8, qword [rdi]
mov rcx, rax
call fcn.140001010
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Try__ccminer_cryptonight___help_for_more_information._n
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x140008c60
Function at 0x14000c1c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14007b100]
xor rax, rsp
mov qword [rbp + 0x47], rax
movups xmm0, xmmword [rcx]
mov rdi, rcx
xor r8d, r8d
movups xmm1, xmmword [rcx + 0x10]
lea rdx, [rbp - 0x39]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbp - 0x79], xmm1
movups xmm1, xmmword [rcx + 0x30]
lea rcx, [rsp + 0x20]
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm1
call fcn.14000aa80
mov r8d, 1
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000aa80
mov ebx, 2
lea rdx, [rbp - 0x39]
mov r8d, ebx
lea rcx, [rbp + 7]
call fcn.14000aa80
lea r8d, [rbx + 1]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000aa80
lea r8d, [rbx + 2]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14000aa80
lea r8d, [rbx + 3]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000aa80
lea r8d, [rbx + 4]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14000aa80
lea r8d, [rbx + 5]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000aa80
lea r8d, [rbx + 6]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14000aa80
lea r8d, [rbx + 7]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x39]
call fcn.14000aa80
xor r9d, r9d
lea rcx, [rbp - 0x4d]
lea rax, [rdi + 0x3c]
lea edx, [rbx + 0xe]
cmp rdi, rcx
ja 0x14000c2d6
lea rcx, [rsp + 0x20]
cmp rax, rcx
jae 0x14000c322
lea r8, [rsp + 0x20]
mov r9d, edx
sub r8, rdi
lea rax, [rsp + 0x20]
sub rax, rdi
lea rcx, [rdi + 0x10]
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm2, xmmword [rax + rcx]
lea rcx, [rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x20], xmm2
sub rbx, 1
jne 0x14000c2f0
movsxd rcx, r9d
cmp rcx, rdx
jge 0x14000c350
lea r8, [rsp + 0x20]
sub r8, rdi
lea rax, [rdi + rcx*4]
sub rdx, rcx
nop dword [rax]
mov ecx, dword [rax + r8]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x14000c340
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14005c440
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000d770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
add qword [rcx + 8], r8
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
xor esi, esi
mov rdi, r8
mov rbp, rdx
test rcx, rcx
je 0x14000d7cc
lea rax, [rcx + r8]
cmp rax, 0x200
jae 0x14000d7cc
shr rcx, 3
lea r8d, [rsi + 0x40]
test dil, 7
je 0x14000d7b4
mov r8d, 0x41
sub r8, rcx
add rcx, 0xa0
add rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x10], rdi
xor edi, edi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000d82d
lea rax, [rcx + rdi]
cmp rax, 0x200
jb 0x14000d82d
shr rcx, 3
mov r8d, 0x40
sub r8, rcx
mov rdx, rbp
add rcx, 0xa0
add rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x10]
mov esi, 0x40
mov rax, rcx
add rcx, 0xfffffffffffffe00
shr rax, 3
add rdi, rcx
sub rsi, rax
mov rcx, rbx
call fcn.14000d6a0
mov qword [rbx + 0x10], 0
cmp rdi, 0x200
jb 0x14000d97b
mov qword [rsp + 0x40], r14
mov r14, rdi
shr r14, 9
imul rax, r14, 0xfffffffffffffe00
mov qword [rsp + 0x48], r15
lea r15, [rsi + rbp]
add rdi, rax
mov rax, r14
shl rax, 6
add rsi, rax
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [r15]
mov rcx, rbx
movups xmmword [rbx + 0xa0], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rbx + 0xb0], xmm1
movups xmm0, xmmword [r15 + 0x20]
movups xmmword [rbx + 0xc0], xmm0
movups xmm1, xmmword [r15 + 0x30]
movups xmmword [rbx + 0xd0], xmm1
mov rax, qword [rbx + 0xa0]
xor qword [rbx + 0x20], rax
mov rax, qword [rbx + 0xa8]
xor qword [rbx + 0x28], rax
mov rax, qword [rbx + 0xb0]
xor qword [rbx + 0x30], rax
mov rax, qword [rbx + 0xb8]
xor qword [rbx + 0x38], rax
mov rax, qword [rbx + 0xc0]
xor qword [rbx + 0x40], rax
mov rax, qword [rbx + 0xc8]
xor qword [rbx + 0x48], rax
mov rax, qword [rbx + 0xd0]
xor qword [rbx + 0x50], rax
mov rax, qword [rbx + 0xd8]
xor qword [rbx + 0x58], rax
call fcn.14000c770
mov rax, qword [rbx + 0xa0]
lea r15, [r15 + 0x40]
xor qword [rbx + 0x60], rax
mov rax, qword [rbx + 0xa8]
xor qword [rbx + 0x68], rax
mov rax, qword [rbx + 0xb0]
xor qword [rbx + 0x70], rax
mov rax, qword [rbx + 0xb8]
xor qword [rbx + 0x78], rax
mov rax, qword [rbx + 0xc0]
xor qword [rbx + 0x80], rax
mov rax, qword [rbx + 0xc8]
xor qword [rbx + 0x88], rax
mov rax, qword [rbx + 0xd0]
xor qword [rbx + 0x90], rax
mov rax, qword [rbx + 0xd8]
xor qword [rbx + 0x98], rax
sub r14, 1
jne 0x14000d870
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
test rdi, rdi
je 0x14000d9a8
mov r8, rdi
lea rdx, [rsi + rbp]
shr r8, 3
lea rcx, [rbx + 0xa0]
and r8d, 0x3f
test dil, 7
je 0x14000d99f
inc r8
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbx + 0x10], rdi
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000dd20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x14007b100]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
lea rsi, reloc.WS2_32.dll_accept
lea r15, [0x140000000]
lea r12, [0x1400726a0]
nop dword [rax]
mov rax, qword [rbx + 0xa0]
lea r9, [rbx + 0x50]
xor rax, qword [rbx]
mov r10d, 4
xor rax, qword [rbx + 0x78]
xor rax, qword [rbx + 0x50]
xor rax, qword [rbx + 0x28]
mov qword [rsp], rax
lea r11d, [r10 + 1]
mov rax, qword [rbx + 0xa8]
xor rax, qword [rbx + 0x80]
xor rax, qword [rbx + 0x58]
xor rax, qword [rbx + 0x30]
xor rax, qword [rbx + 8]
mov qword [rsp + 8], rax
mov rax, qword [rbx + 0xb0]
xor rax, qword [rbx + 0x88]
xor rax, qword [rbx + 0x60]
xor rax, qword [rbx + 0x38]
xor rax, qword [rbx + 0x10]
mov qword [rsp + 0x10], rax
mov rax, qword [rbx + 0xb8]
xor rax, qword [rbx + 0x90]
xor rax, qword [rbx + 0x68]
xor rax, qword [rbx + 0x40]
xor rax, qword [rbx + 0x18]
mov qword [rsp + 0x18], rax
mov rax, qword [rbx + 0x98]
xor rax, qword [rbx + 0x70]
xor rax, qword [rbx + 0x48]
xor rax, qword [rbx + 0x20]
xor rax, qword [rbx + 0xc0]
mov qword [rsp + 0x20], rax
nop dword [rax]
nop dword [rax + rax]
lea ecx, [r10 - 3]
mov eax, 0x66666667
imul ecx
lea r9, [r9 + 8]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
movsxd rax, ecx
mov ecx, r10d
mov r8, qword [rsp + rax*8]
mov eax, 0x66666667
imul r10d
rol r8, 1
inc r10d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
movsxd rax, ecx
xor r8, qword [rsp + rax*8]
xor qword [r9 - 0x58], r8
xor qword [r9 - 0x30], r8
xor qword [r9 - 8], r8
xor qword [r9 + 0x20], r8
xor qword [r9 + 0x48], r8
sub r11, 1
jne 0x14000de10
mov r8, qword [rbx + 8]
lea r10d, [r11 + 0x18]
xor r9d, r9d
nop
movsxd rax, dword [r9 + r15 + 0x72700]
mov ecx, dword [r9 + r15 + 0x726a0]
lea r9, [r9 + 4]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
mov r8, rdx
sub r10, 1
jne 0x14000de80
lea rax, [rbx + 0x10]
lea edi, [r10 + 5]
mov r10, qword [rax - 8]
mov rdx, qword [rax]
mov rcx, r10
mov r8, qword [rax + 8]
not rcx
mov r9, qword [rax + 0x10]
and rcx, rdx
mov r11, qword [rax - 0x10]
lea rax, [rax + 0x28]
xor rcx, r11
not rdx
and rdx, r8
mov qword [rax - 0x38], rcx
xor qword [rax - 0x30], rdx
not r8
and r8, r9
not r9
xor qword [rax - 0x28], r8
and r9, r11
xor qword [rax - 0x20], r9
not r11
and r11, r10
xor qword [rax - 0x18], r11
sub rdi, 1
jne 0x14000deb0
mov rax, qword [rsi]
add rsi, 8
xor qword [rbx], rax
cmp rsi, r12
jl 0x14000dd60
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14005c440
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140012e90
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x260
mov rax, qword [0x14007b100]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r15d, r15d
mov rsi, rdx
mov edi, r15d
or rbx, 0xffffffffffffffff
mov rbp, rcx
inc rbx
cmp byte [rdx + rbx], dil
jne 0x140012ec0
mov byte [rdx + rbx], 0xa
inc rbx
mov qword [rsp + 0x2a0], r14
test rbx, rbx
jle 0x140012f49
nop dword [rax]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], rbp
xor edx, edx
mov dword [rsp + 0x40], 1
lea ecx, [rbp + 1]
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jl 0x140012f74
lea rdx, [rsi + rdi]
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
test eax, eax
jns 0x140012f3e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140012f74
mov rcx, r15
add rdi, rcx
sub rbx, rcx
test rbx, rbx
jg 0x140012ee0
mov eax, 1
mov r14, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005c440
add rsp, 0x260
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x140012f4e
Function at 0x140013b20
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movsxd rdi, ecx
lea rsi, [0x140000000]
mov r9d, 1
mov rbx, r8
mov rcx, qword [rsi + rdi*8 + 0x7bcd0]
lea r8d, [r9 + 0x4b]
call sub.cudart64_80.dll_cudaMemcpy
mov rcx, qword [rsi + rdi*8 + 0x7bd50]
mov r9d, 1
mov rdx, rbx
lea r8d, [r9 + 0x1f]
call sub.cudart64_80.dll_cudaMemcpy
mov rcx, qword [rsi + rdi*8 + 0x7bdd0]
mov edx, 0xff
mov r8d, 8
call sub.cudart64_80.dll_cudaMemset
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x140013bc6
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [rsi + rdi*4 + 0x7f000]
lea r9, [0x14005eaa0]
mov r8, rax
mov dword [rsp + 0x20], 0xb0
lea rcx, [0x14005eae8]
call fcn.140004f00
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140013be0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
movsxd rbx, ecx
lea rdi, [0x140000000]
lea rcx, [rdi + 0x7bcd0]
mov edx, Ordinal_79
lea rcx, [rcx + rbx*8]
call sub.cudart64_80.dll_cudaMalloc
lea rcx, [rdi + 0x7bd50]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rcx + rbx*8]
call sub.cudart64_80.dll_cudaMalloc
lea rcx, [rdi + 0x7bdd0]
mov edx, 8
lea rcx, [rcx + rbx*8]
call sub.cudart64_80.dll_cudaMalloc
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x140013c74
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [rdi + rbx*4 + 0x7f000]
lea r9, [0x14005eb00]
mov r8, rax
mov dword [rsp + 0x20], 0xb8
lea rcx, [0x14005eae8]
call fcn.140004f00
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140013c90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
lea eax, [rdx + 0x7f]
mov dword [rsp + 0x40], 0x80
mov edi, edx
mov dword [rsp + 0x44], 1
movsd xmm0, qword [rsp + 0x40]
cdq
and edx, 0x7f
mov dword [rsp + 0x54], 1
add eax, edx
movsd qword [rsp + 0x40], xmm0
sar eax, 7
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x50], eax
mov rsi, r9
movsd xmm0, qword [rsp + 0x50]
mov ebp, r8d
movsxd rbx, ecx
xor r9d, r9d
xor r8d, r8d
movsd qword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x58], 1
call sub.cudart64_80.dll_cudaConfigureCall
lea r14, [0x140000000]
test eax, eax
jne 0x140013d6e
mov rax, qword [rsp + 0xa8]
mov r9, rsi
mov rdx, qword [r14 + rbx*8 + 0x7bcd0]
mov r8d, ebp
mov qword [rsp + 0x38], rax
mov ecx, edi
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call fcn.140014320
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x140013db0
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [r14 + rbx*4 + 0x7f000]
lea r9, [0x14005eb50]
mov r8, rax
mov dword [rsp + 0x20], Ordinal_200
lea rcx, [0x14005eae8]
call fcn.140004f00
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140013de0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
lea eax, [rdx + 0x7f]
movsxd rdi, ecx
mov esi, edx
mov dword [rsp + 0x44], 1
cdq
mov dword [rsp + 0x30], 0x80
and edx, 0x7f
mov dword [rsp + 0x34], 1
add eax, edx
mov rbp, r9
sar eax, 7
mov r14d, r8d
mov dword [rsp + 0x40], eax
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x140013e75
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
lea rbx, [0x140000000]
mov dword [rsp + 0x20], Ordinal_211
mov edx, dword [rbx + rdi*4 + 0x7f000]
lea r9, [0x14005eba0]
mov r8, rax
lea rcx, [0x14005eae8]
call fcn.140004f00
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movsd xmm0, qword [rsp + 0x30]
lea rdx, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x40]
movsd xmm0, qword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x48], 1
call sub.cudart64_80.dll_cudaConfigureCall
lea rbx, [0x140000000]
test eax, eax
jne 0x140013eec
mov rax, qword [rsp + 0x80]
lea r8, [rdi*8]
mov r9, qword [r8 + rbx + 0x7bdd0]
mov edx, r14d
mov r8, qword [r8 + rbx + 0x7bd50]
mov ecx, esi
mov qword [rsp + 0x20], rax
call fcn.140014410
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x140013f2d
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [rbx + rdi*4 + 0x7f000]
lea r9, [0x14005ebf0]
mov r8, rax
mov dword [rsp + 0x20], Ordinal_211
lea rcx, [0x14005eae8]
call fcn.140004f00
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, qword [rbx + rdi*8 + 0x7bdd0]
mov r9d, 2
mov rcx, rbp
lea r8d, [r9 + 6]
call sub.cudart64_80.dll_cudaMemcpy
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x140013f88
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [rbx + rdi*4 + 0x7f000]
lea r9, str.D:_code_ccminer_cryptonight_cryptonight_cuda_cryptonight_extra.cu
mov r8, rax
mov dword [rsp + 0x20], Ordinal_211
lea rcx, [0x14005eae8]
call fcn.140004f00
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140015690
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, [rsp + 0x30]
call sub.cudart64_80.dll_cudaDriverGetVersion
test eax, eax
je 0x1400156bc
lea rdx, str.Unable_to_query_CUDA_driver_version__Is_an_nVidia_driver_installed_
xor ecx, ecx
call fcn.140012120
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp dword [rsp + 0x30], 0x1f40
jge 0x1400156e7
xor r9d, r9d
lea rdx, str.Driver_does_not_support_CUDA__d._d_API__Update_your_nVidia_driver_
xor ecx, ecx
lea r8d, [r9 + 8]
call fcn.140012120
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rsp + 0x38]
call sub.cudart64_80.dll_cudaGetDeviceCount
test eax, eax
je 0x14001571b
xor ecx, ecx
lea rdx, str.No_CUDA_device_found_
cmp eax, 0x26
jne 0x14001570a
lea rdx, str.Unable_to_query_number_of_CUDA_devices_
call fcn.140012120
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x140015730
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
jle 0x1400158d7
push rbp
push rsi
push r14
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
xor r14d, r14d
mov qword [rsp + 0x68], rdi
mov ebp, ecx
mov qword [rsp + 0x28], r12
mov esi, r14d
mov qword [rsp + 0x20], r15
mov edi, r14d
lea r15, [0x140000000]
mov ebx, r14d
movabs r12, 0x47ae147ae147ae15
nop dword [rax]
nop word [rax + rax]
cmp dword [rbx + r15 + 0x7ed20], r14d
jne 0x1400158a9
mov r8d, dword [rdi + r15 + 0x7efb0]
mov eax, 0x40
shl r8d, 2
cmp dword [rbx + r15 + 0x7edb0], 6
mov dword [rbx + r15 + 0x7ed20], r8d
mov dword [rbx + r15 + 0x7ed24], eax
jge 0x140015800
mov ecx, r8d
shl ecx, 6
cmp ecx, 0x3b6
jl 0x140015800
nop dword [rax + rax]
cmp eax, 2
jle 0x1400158a9
cdq
mov ecx, r8d
sub eax, edx
sar eax, 1
imul ecx, eax
mov dword [rbx + r15 + 0x7ed24], eax
cmp ecx, 0x3b6
jge 0x1400157d0
cmp eax, 2
jle 0x1400158a9
nop dword [rax]
mov ecx, dword [rdi + r15 + 0x7f000]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400158d8
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call sub.cudart64_80.dll_cudaMemGetInfo
test eax, eax
jne 0x14001587a
imul r8, qword [rsp + 0x58], 0x55
mov rax, r12
mul r8
movsxd rax, dword [rbx + r15 + 0x7ed24]
sub r8, rdx
shr r8, 1
add r8, rdx
movsxd rdx, dword [rbx + r15 + 0x7ed20]
imul rdx, rax
shr r8, 6
imul rcx, rdx, 0x2002a8
cmp r8, rcx
ja 0x1400158a9
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + r15 + 0x7ed24], eax
jmp 0x14001589a
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov r8d, dword [rdi + r15 + 0x7f000]
lea rdx, str.GPU__d:_CUDA_error:__s
mov r9, rax
xor ecx, ecx
call fcn.140012120
cmp dword [rbx + r15 + 0x7ed24], 2
jg 0x140015800
inc esi
add rdi, 4
add rbx, 8
cmp esi, ebp
jl 0x140015780
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov r9, rax
lea rdx, str.GPU__d:__s
movsxd rax, esi
xor ecx, ecx
mov r8d, dword [r15 + rax*4 + 0x7f000]
call fcn.140012120
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3