joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006b50
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140006b80
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x140006b7f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140006b85
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x140006b7f
mov eax, 0
jmp 0x140006b7f

Function at 0x140007200
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400071b0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400113e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405b2550]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001144f
mov rcx, r9
call fcn.1400112b0
test eax, eax
je 0x14001144f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001144d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140011444
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001144f
add rdx, 0x28
cmp rdx, r9
jne 0x140011430
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x174e738
Capabilities:
Encode data using xor

Disassembly:
jmp 0x174e742
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x174e76b
pop rbp
sub rbp, 0x33
sub rbp, 0x134e738
sub rsp, 0x20
jmp 0x174e78a
mov rax, 0x134e738
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x5bf31eef
xor byte [rax], dl
inc rax
dec rcx
jne 0x174e7a9
jmp 0x174e7c0
cmpsd dword [rsi], dword [rdi]
invalid
Function at 0x14000adb0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000adbd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000adcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000adb5
lea eax, [rcx + 1]
jmp 0x14000addb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14000adee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000add4
sub eax, 3
jb 0x14000ae0e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000ae5d
sar eax, 1
movsxd rbp, eax
jb 0x14000ae44
jmp 0x14000ae1c
add ebx, ebx
jne 0x14000ae1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14000ae44
inc ecx
add ebx, ebx
jne 0x14000ae2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14000ae44
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000ae3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000ae2c
add ecx, 2
jmp 0x14000ae49
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14000ad72
jmp 0x14000adbd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x8000]
mov eax, dword [rdi]
or eax, eax
je 0x14000aeb9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xb1e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14000ae69
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14000aeb3
mov qword [rbx], rax
add rbx, 8
jmp 0x14000ae89
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14000aef3
cmp al, 0xef
ja 0x14000aee5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000aec5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000aed4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14000af47
sub rsp, 0xffffffffffffff80
jmp 0x14000210c
Function at 0x14001173a
Capabilities:
Terminate process

Disassembly:
jmp 0x14001ca50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011762
Capabilities:
Check os version

Disassembly:
jmp 0x140012e30
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400400a5]
call fcn.140011dc0
mov qword [rbp + 0xc8], 0
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140012e7b
mov rax, qword [rbp + 0x28]
cmp dword [rax + 0x118], 0xa
je 0x140012e7d
jmp 0x140012ef2
mov qword [rbp + 0x68], 0
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012ecc
jmp 0x140012ef2
mov rax, qword [rbp + 0x88]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
cmp qword [rbp + 0xc8], 0
jne 0x140012f20
call fcn.140011316
mov qword [rbp + 0xe8], rax
cmp qword [rbp + 0xe8], 0
je 0x140012f20
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x140011915
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001dde0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001de00
xor al, al
jmp 0x14001de81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001de13
xor al, al
jmp 0x14001de81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001de3d
xor al, al
jmp 0x14001de81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001de51
xor al, al
jmp 0x14001de81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001de63
xor al, al
jmp 0x14001de81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001de7f
xor al, al
jmp 0x14001de81
mov al, 1
add rsp, 0x38
ret
Function at 0x140001870
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test rcx, rcx
jle 0x140001947
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp rcx, 0x64
jle 0x1400018dc
xor r8d, r8d
imul rax, rbx, 0xfffffffffffffff6
xor ecx, ecx
lea edx, [r8 + 1]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
lea rdx, [rsp + 0x50]
mov rbx, rax
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov rcx, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movss xmm6, dword [0x14006b258]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm1, xmm1
xorps xmm0, xmm0
sub rax, qword [rsp + 0x58]
cvtsi2ss xmm0, qword [rsp + 0x60]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, xmm6
cvttss2si rax, xmm1
cmp rax, rbx
jl 0x140001900
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
Function at 0x14000eda0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x140072100]
xor rax, rsp
mov qword [rbp + 0x47], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
mov rdi, rcx
lea rdx, [rbp - 0x39]
xor r8d, r8d
movups xmmword [rbp - 0x79], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbp - 0x69], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x49], xmm1
call fcn.14000d4f0
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
mov r8d, 1
call fcn.14000d4f0
mov ebx, 2
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
mov r8d, ebx
call fcn.14000d4f0
lea r8d, [rbx + 1]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000d4f0
lea r8d, [rbx + 2]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14000d4f0
lea r8d, [rbx + 3]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000d4f0
lea r8d, [rbx + 4]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14000d4f0
lea r8d, [rbx + 5]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14000d4f0
lea r8d, [rbx + 6]
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14000d4f0
lea r8d, [rbx + 7]
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.14000d4f0
lea rcx, [rbp - 0x3d]
xor r8d, r8d
lea rax, [rdi + 0x3c]
lea edx, [rbx + 0xe]
cmp rdi, rcx
ja 0x14000eeb2
lea rcx, [rbp - 0x79]
cmp rax, rcx
jae 0x14000eef0
lea rcx, [rbp - 0x79]
lea rax, [rdi + 0x10]
mov r8d, edx
sub rcx, rdi
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x20], xmm2
dec rbx
jne 0x14000eec0
movsxd rcx, r8d
cmp rcx, rdx
jge 0x14000ef20
lea r8, [rbp - 0x79]
lea rax, [rdi + rcx*4]
sub r8, rdi
sub rdx, rcx
nop word [rax + rax]
mov ecx, dword [rax + r8]
lea rax, [rax + 4]
xor dword [rax - 4], ecx
dec rdx
jne 0x14000ef10
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140058040
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000f080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x8c]
xor ebp, ebp
mov rsi, rdx
test ecx, ecx
je 0x14000f0f0
movsxd r9, dword [rbx + 0x88]
mov r10d, 1
mov eax, 8
sub eax, ecx
mov r8d, r10d
shl r8b, cl
movzx ecx, al
dec r8b
shl r8b, cl
mov ecx, 7
and byte [r9 + rbx + 0x47], r8b
sub ecx, dword [rbx + 0x8c]
movsxd rdx, dword [rbx + 0x88]
shl r10b, cl
xor byte [rdx + rbx + 0x47], r10b
mov dword [rbx + 0x8c], ebp
jmp 0x14000f102
movsxd rax, dword [rbx + 0x88]
mov byte [rax + rbx + 0x48], 0x80
inc dword [rbx + 0x88]
mov eax, dword [rbx + 0x88]
cmp eax, 0x38
jle 0x14000f145
cmp eax, 0x40
jge 0x14000f12d
movsxd rax, dword [rbx + 0x88]
mov byte [rax + rbx + 0x48], bpl
inc dword [rbx + 0x88]
cmp dword [rbx + 0x88], 0x40
jl 0x14000f112
lea rdx, [rbx + 0x48]
mov r8d, 0x40
mov rcx, rbx
call fcn.14000ea00
mov dword [rbx + 0x88], ebp
cmp dword [rbx + 0x88], 0x38
jge 0x14000f16b
nop
movsxd rax, dword [rbx + 0x88]
mov byte [rax + rbx + 0x48], bpl
inc dword [rbx + 0x88]
cmp dword [rbx + 0x88], 0x38
jl 0x14000f150
inc dword [rbx + 0x40]
jne 0x14000f173
inc dword [rbx + 0x44]
mov dword [rbx + 0x88], 0x40
nop dword [rax]
dec dword [rbx + 0x88]
movzx eax, byte [rbx + 0x40]
movsxd rcx, dword [rbx + 0x88]
mov byte [rcx + rbx + 0x48], al
shr dword [rbx + 0x40], 8
cmp dword [rbx + 0x88], 0x3c
jg 0x14000f180
cmp dword [rbx + 0x88], 0x38
jle 0x14000f1d2
nop dword [rax + rax]
dec dword [rbx + 0x88]
movzx eax, byte [rbx + 0x44]
movsxd rcx, dword [rbx + 0x88]
mov byte [rcx + rbx + 0x48], al
shr dword [rbx + 0x44], 8
cmp dword [rbx + 0x88], 0x38
jg 0x14000f1b0
lea rdx, [rbx + 0x48]
mov r8d, 0x40
mov rcx, rbx
call fcn.14000ea00
mov rcx, rbx
call fcn.14000eda0
lea rcx, [rbx + 0x20]
sub rsi, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_32
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rsi + rcx - 0x21], al
dec rdx
jne 0x14000f200
mov rsi, qword [rsp + 0x40]
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x48], rbp
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x60], rbp
mov qword [rbx + 0x68], rbp
mov qword [rbx + 0x70], rbp
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x80], rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400107d0
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 [0x140072100]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
lea rsi, reloc.WS2_32.dll_accept
lea r15, [0x140000000]
lea r12, [0x140069f00]
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov r10d, 4
lea r9, [rbx + 0x50]
xor rax, qword [rbx]
lea r11d, [r10 + 1]
xor rax, qword [rbx + 0x78]
xor rax, qword [rbx + 0x50]
xor rax, qword [rbx + 0x28]
mov qword [rsp], rax
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
lea r9, [r9 + 8]
imul ecx
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
rol r8, 1
imul r10d
sar edx, 1
inc r10d
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
dec r11
jne 0x1400108c0
mov r8, qword [rbx + 8]
xor r9d, r9d
lea r10d, [r11 + 0x18]
nop
movsxd rax, dword [r9 + r15 + 0x69de0]
mov ecx, dword [r9 + r15 + 0x69d80]
lea r9, [r9 + 4]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
mov r8, rdx
dec r10
jne 0x140010930
lea rax, [rbx + 0x10]
lea edi, [r10 + 5]
nop
mov r10, qword [rax - 8]
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
mov r11, qword [rax - 0x10]
mov rcx, r10
not rcx
lea rax, [rax + 0x28]
and rcx, rdx
not rdx
and rdx, r8
xor rcx, r11
not r8
xor qword [rax - 0x30], rdx
and r8, r9
not r9
xor qword [rax - 0x28], r8
and r9, r11
not r11
xor qword [rax - 0x20], r9
and r11, r10
mov qword [rax - 0x38], rcx
xor qword [rax - 0x18], r11
dec rdi
jne 0x140010960
mov rax, qword [rsi]
add rsi, 8
xor qword [rbx], rax
cmp rsi, r12
jl 0x140010810
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140058040
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 0x140015c00
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 [0x140072100]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r15d, r15d
mov rsi, rdx
mov rbp, rcx
mov edi, r15d
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdx + rbx], dil
jne 0x140015c30
mov byte [rdx + rbx], 0xa
inc rbx
mov qword [rsp + 0x2a0], r14
test rbx, rbx
jle 0x140015cb9
nop dword [rax]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea ecx, [rbp + 1]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jl 0x140015ce4
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 0x140015cae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140015ce4
mov rcx, r15
sub rbx, rcx
add rdi, rcx
test rbx, rbx
jg 0x140015c50
mov eax, 1
mov r14, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140058040
add rsp, 0x260
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x140015cbe
Function at 0x140018050
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]
mov edi, edx
movsxd rbx, ecx
cdq
mov ebp, r8d
lea r14, [0x140000000]
mov rcx, qword [r14 + rbx*8 + 0x72670]
and edx, 0x7f
mov r8d, 8
add eax, edx
mov edx, 0xff
mov rsi, r9
sar eax, 7
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x30], 0x80
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x34], 1
call sub.cudart64_80.dll_cudaMemset
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x1400180ff
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [r14 + rbx*4 + 0x72580]
lea r9, str.D:_codesync_ccminer_cryptonight_cryptonight_cuda_cryptonight_extra.cu
lea rcx, [0x140059860]
mov r8, rax
mov dword [rsp + 0x20], Ordinal_200
call qword [sym.imp.MSVCR120.dll_printf]
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
movsd xmm0, qword [rsp + 0x30]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
movsd qword [rsp + 0x30], xmm0
movsd xmm0, qword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x48], 1
movsd qword [rsp + 0x40], xmm0
call sub.cudart64_80.dll_cudaConfigureCall
test eax, eax
jne 0x140018166
mov rax, qword [rsp + 0x80]
mov r9, qword [r14 + rbx*8 + 0x72670]
mov r8, qword [r14 + rbx*8 + 0x72630]
mov edx, ebp
mov ecx, edi
mov qword [rsp + 0x20], rax
call fcn.140017d10
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x1400181a9
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [r14 + rbx*4 + 0x72580]
lea r9, str.D:_codesync_ccminer_cryptonight_cryptonight_cuda_cryptonight_extra.cu
lea rcx, [0x140059860]
mov r8, rax
mov dword [rsp + 0x20], 0xc9
call qword [sym.imp.MSVCR120.dll_printf]
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rdx, qword [r14 + rbx*8 + 0x72670]
mov r9d, 2
mov rcx, rsi
lea r8d, [r9 + 6]
call sub.cudart64_80.dll_cudaMemcpy
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x140018206
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [r14 + rbx*4 + 0x72580]
lea r9, str.D:_codesync_ccminer_cryptonight_cryptonight_cuda_cryptonight_extra.cu
lea rcx, [0x140059860]
mov r8, rax
mov dword [rsp + 0x20], Ordinal_211
call qword [sym.imp.MSVCR120.dll_printf]
mov ecx, 1
call qword [sym.imp.MSVCR120.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 0x140018230
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
movsxd rbx, ecx
lea rdi, [0x140000000]
mov edx, Ordinal_79
lea rcx, [rdi + 0x725f0]
lea rcx, [rcx + rbx*8]
call sub.cudart64_80.dll_cudaMalloc
lea rcx, [rdi + 0x72630]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rcx + rbx*8]
call sub.cudart64_80.dll_cudaMalloc
lea rcx, [rdi + 0x72670]
mov edx, 8
lea rcx, [rcx + rbx*8]
call sub.cudart64_80.dll_cudaMalloc
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x1400182c5
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [rdi + rbx*4 + 0x72580]
lea r9, str.D:_codesync_ccminer_cryptonight_cryptonight_cuda_cryptonight_extra.cu
lea rcx, [0x140059860]
mov r8, rax
mov dword [rsp + 0x20], 0xb0
call qword [sym.imp.MSVCR120.dll_printf]
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400182d0
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]
mov edi, edx
mov dword [rsp + 0x30], 0x80
cdq
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], 1
movsd xmm0, qword [rsp + 0x30]
and edx, 0x7f
movsd qword [rsp + 0x30], xmm0
movsxd rbx, ecx
add eax, edx
mov rsi, r9
mov ebp, r8d
sar eax, 7
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x48], 1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x40], xmm0
call sub.cudart64_80.dll_cudaConfigureCall
lea r14, [0x140000000]
test eax, eax
jne 0x14001837a
mov rdx, qword [r14 + rbx*8 + 0x725f0]
mov r9, rsi
mov r8d, ebp
mov ecx, edi
call fcn.140017db0
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x1400183bd
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [r14 + rbx*4 + 0x72580]
lea r9, str.D:_codesync_ccminer_cryptonight_cryptonight_cuda_cryptonight_extra.cu
lea rcx, [0x140059860]
mov r8, rax
mov dword [rsp + 0x20], 0xbb
call qword [sym.imp.MSVCR120.dll_printf]
mov ecx, 1
call qword [sym.imp.MSVCR120.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 0x1400183e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movsxd rdi, ecx
mov r9d, 1
mov rbx, r8
lea rsi, [0x140000000]
lea r8d, [r9 + 0x4b]
mov rcx, qword [rsi + rdi*8 + 0x725f0]
call sub.cudart64_80.dll_cudaMemcpy
mov rcx, qword [rsi + rdi*8 + 0x72630]
mov r9d, 1
lea r8d, [r9 + 0x1f]
mov rdx, rbx
call sub.cudart64_80.dll_cudaMemcpy
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
je 0x14001846f
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov edx, dword [rsi + rdi*4 + 0x72580]
lea r9, str.D:_codesync_ccminer_cryptonight_cryptonight_cuda_cryptonight_extra.cu
lea rcx, [0x140059860]
mov r8, rax
mov dword [rsp + 0x20], 0xa8
call qword [sym.imp.MSVCR120.dll_printf]
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret