joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400547e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rax, [r8 - 1]
mov r13, r9
mov rbp, rax
mov qword [rsp + 0x50], rax
sar rbp, 1
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov r12, rdx
mov r14, rdx
cmp rdx, rbp
jge 0x140054890
nop dword [rax]
nop word [rax + rax]
lea rdi, [r14 + r14]
mov rax, rdi
lea rdx, [rsi + 0x60]
shl rax, 6
lea rcx, [rsi + 0xa0]
add rdx, rax
add rcx, rax
call fcn.14000dd90
lea r14, [rdi + 1]
movzx eax, al
xor rax, 1
shl rbx, 6
add r14, rax
add rbx, rsi
mov rdi, r14
mov rcx, rbx
shl rdi, 6
add rdi, rsi
mov rdx, rdi
call fcn.140012ed0
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x20]
call fcn.140012ed0
mov rbx, r14
cmp r14, rbp
jl 0x140054830
cmp r14, rbp
jne 0x1400548c8
test r15b, 1
jne 0x1400548c8
shl r15, 6
shl rbx, 6
add rbx, rsi
mov rcx, rbx
lea rdi, [r15 + rsi]
lea rdx, [rdi - 0x40]
call fcn.140012ed0
lea rdx, [rdi - 0x20]
lea rcx, [rbx + 0x20]
call fcn.140012ed0
mov rbx, qword [rsp + 0x50]
cmp r12, rbx
jge 0x140054919
nop dword [rax]
lea rdi, [rbx - 1]
sar rdi, 1
lea rdx, [r13 + 0x20]
mov rbp, rdi
shl rbp, 6
add rbp, rsi
lea rcx, [rbp + 0x20]
call fcn.14000dd90
test al, al
je 0x140054919
shl rbx, 6
mov rdx, rbp
add rbx, rsi
mov rcx, rbx
call fcn.140012ed0
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x20]
call fcn.140012ed0
mov rbx, rdi
cmp r12, rdi
jl 0x1400548d0
shl rbx, 6
mov rdx, r13
add rbx, rsi
mov rcx, rbx
call fcn.140012ed0
lea rdx, [r13 + 0x20]
lea rcx, [rbx + 0x20]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.140012ed0

Function at 0x140055f90
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0x13e0
call fcn.14028c760
sub rsp, rax
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rsp + 0x13d8], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov ecx, 1
mov qword [rsp + 0x38], rdx
movabs r8, 0x5851f42d4c957f2d
movabs rax, 0x5555555555555555
mov qword [rsp + 0x13b8], rax
nop word [rax + rax]
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, r8
add rdx, rcx
mov qword [rsp + rcx*8 + 0x38], rdx
inc rcx
cmp rcx, 0x138
jb 0x140055ff0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x138
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140056830
mov r9, rax
lea r8, str._16llX
mov edx, shutdown
lea rcx, [rsp + 0x13c0]
call fcn.140055f30
xorps xmm0, xmm0
lea rax, [rsp + 0x13c0]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], 0
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140056070
lea rdx, [rsp + 0x13c0]
mov rcx, rbx
call fcn.140009000
mov rax, rbx
mov rcx, qword [rsp + 0x13d8]
xor rcx, rsp
call fcn.14028bc70
add rsp, 0x13e0
pop rbx
ret
Function at 0x1400789f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x1408047a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140078a29
mov rdx, qword [rax + 8]
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400d6dc0
xor edx, edx
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400d6dc0

Function at 0x140078a40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x1408047a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r8d, r8d
test rax, rax
je 0x140078a70
mov r9, qword [rax + 8]
jmp 0x140078a73
mov r9, r8
cmp rdi, 0x3fc
ja 0x140078a97
test r9, r9
je 0x140078a97
mov rax, r8
cmp qword [r9 + rax*8], 0
je 0x140078aa7
inc r8d
inc rax
cmp rax, 2
jl 0x140078a84
mov rcx, rbx
add rsp, 0x28
pop rdi
pop rbx
jmp qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
movsxd rax, r8d
mov qword [r9 + rax*8], rbx
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x140078e20
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x140804724], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x140078e7d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.140009110]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret
Function at 0x1400798d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xb0
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x140079916
call fcn.140079a90
xorps xmm0, xmm0
mov dword [rsp + 0x30], ebx
movups xmmword [rsi], xmm0
movsd xmm0, qword [rsp + 0x30]
movsd qword [rsi + 0x10], xmm0
xor eax, eax
jmp 0x140079a19
mov dword [rsp + 0x90], ebx
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rbx
lea rcx, [rsp + 0x98]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
lea rax, [rdi + 0x28]
test rdi, rdi
cmove rax, rbx
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x1408047a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1408047a4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r9, rsi
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140079e00
test rax, rax
je 0x1400799d4
nop dword [rax]
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
mov r9, rsi
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140079e00
test rax, rax
jne 0x1400799b0
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1408047a4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rdi, [rsp + 0x40]
mov esi, 0xa
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400799fe
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add rdi, 8
sub rsi, 1
jne 0x1400799f0
lea rcx, [rsp + 0x98]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
mov rax, rbx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140079b70
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x70
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x1408047a4]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140079cb0
cmp qword [rax], rbx
je 0x140079bac
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140079b98
add rsp, 0x70
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140079cb0
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x140079c70
cmp ecx, 1
jne 0x140079cb0
xorps xmm0, xmm0
mov dword [rbx + 0x50], 2
lea rdx, [rbx + 0x58]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_]
xorps xmm0, xmm0
lea rax, vtable.boost::asio::multiple_exceptions.0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
lea r8, [0x1404605b0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCopyException_void____ptr64__void_const____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
lea rax, vtable.std::exception.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call qword [sym.imp.VCRUNTIME140.dll___std_exception_destroy]
jmp 0x140079c96
xorps xmm0, xmm0
mov dword [rbx + 0x50], 1
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrCurrentException_void____ptr64_]
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x58]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrAssign_void____ptr64__void_const____ptr64_]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_]
add rsp, 0x70
pop rbx
ret
Function at 0x14007ae90
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a8]
sub rsp, 0x4a8
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, r9
mov rsi, rcx
call fcn.14007add0
mov rbx, qword [0x14048a968]
lea r14, [0x14048a960]
xor r15d, r15d
movabs r13, 0x8fafd21e25c5e09b
mov dword [rsp + 0x34], r15d
movabs r12, 0xb2ab117a257edf0d
cmp rbx, r13
je 0x14007af17
cmp rbx, r12
je 0x14007af17
mov rax, qword [0x14048a960]
mov edx, 0x2734
mov rcx, r14
call qword [rax + 0x30]
mov rbx, qword [0x14048a968]
jmp 0x14007af19
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x50]
add eax, 2
mov dword [rsp + 0x30], 0x2734
mov dword [rsp + 0x40], eax
mov rcx, rdi
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x50], xmm0
call fcn.140077fc0
test al, al
jne 0x14007afc5
mov dword [rsp + 0x34], r15d
cmp rbx, r13
je 0x14007af81
cmp rbx, r12
je 0x14007af81
mov rax, qword [0x14048a960]
mov edx, 0x2733
mov rcx, r14
call qword [rax + 0x30]
mov rbx, qword [0x14048a968]
jmp 0x14007af83
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x50]
add eax, 2
mov dword [rsp + 0x30], 0x2733
mov dword [rsp + 0x40], eax
mov rcx, rdi
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x50], xmm0
call fcn.140077fc0
test al, al
je 0x14007b0f3
cmp rsi, 0xffffffffffffffff
jne 0x14007b008
mov dword [rsp + 0x34], r15d
cmp rbx, r13
je 0x14007aff9
cmp rbx, r12
je 0x14007aff9
mov rax, qword [0x14048a960]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
mov dword [rsp + 0x30], 0x2719
jmp 0x14007b0d1
mov al, 1
mov dword [rsp + 0x30], 0x2719
jmp 0x14007b0d1
lea ecx, [rsi + 1]
mov qword [rbp + 0x188], rsi
lea r9, [rsp + 0x70]
mov dword [rbp + 0x180], 1
lea r8, [rbp + 0x180]
mov qword [rsp + 0x78], rsi
xor edx, edx
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x20], r15
call qword [sym.imp.WS2_32.dll_select]
mov edx, eax
mov rcx, rdi
shr edx, 0x1f
mov ebx, eax
call fcn.14007aad0
test ebx, ebx
js 0x14007b0f3
lea rax, [rsp + 0x4c]
mov dword [rsp + 0x48], r15d
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x4c], 4
mov r8d, 0x1007
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
mov rcx, rdi
mov ebx, eax
setne dl
call fcn.14007aad0
cmp ebx, 0xffffffff
je 0x14007b0f3
mov rax, qword [0x14048a968]
mov ebx, dword [rsp + 0x48]
mov dword [rsp + 0x34], r15d
cmp rax, r13
je 0x14007b0c8
cmp rax, r12
je 0x14007b0c8
mov rax, qword [0x14048a960]
mov edx, ebx
mov rcx, r14
call qword [rax + 0x30]
jmp 0x14007b0cd
test ebx, ebx
setne al
mov dword [rsp + 0x30], ebx
movzx eax, al
mov qword [rsp + 0x38], r14
add eax, 2
movups xmm0, xmmword [rsp + 0x30]
mov dword [rsp + 0x40], eax
movsd xmm1, qword [rsp + 0x40]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14028bc70
add rsp, 0x4a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14007b900
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov dword [rax + 0x20], r9d
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rbx, qword [rsp + 0xb0]
lea r9, [rax + 0x20]
xor r14d, r14d
mov qword [rax - 0x58], r14
mov qword [rax - 0x60], r14
mov dword [rax - 0x68], r14d
mov dword [rax + 0x20], r14d
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebp, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x14048a968]
lea rdi, [0x14048a960]
movabs r12, 0x8fafd21e25c5e09b
mov dword [rsp + 0x44], r14d
mov esi, eax
movabs r15, 0xb2ab117a257edf0d
cmp rcx, r12
je 0x14007b98f
cmp rcx, r15
je 0x14007b98f
mov rcx, qword [0x14048a960]
mov edx, esi
mov rax, qword [rcx + 0x30]
mov rcx, rdi
call rax
jmp 0x14007b994
test esi, esi
setne al
movzx eax, al
movabs r10, 0x4800144005b3
add eax, 2
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rsp + 0x40]
mov dword [rsp + 0x50], eax
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov r9d, dword [rbx + 0x10]
cmp r9d, 1
je 0x14007b9d5
mov eax, dword [rbx]
mov r8d, eax
jmp 0x14007ba05
mov rcx, qword [rbx + 8]
mov rax, r10
mov r8d, dword [rbx]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add eax, r8d
cmp eax, 0x40
jne 0x14007ba62
mov rax, qword [0x14048a968]
mov dword [rsp + 0x44], r14d
cmp rax, r12
je 0x14007ba34
cmp rax, r15
je 0x14007ba34
mov rax, qword [0x14048a960]
mov edx, 0x2746
mov rcx, rdi
call qword [rax + 0x30]
jmp 0x14007ba36
mov al, 1
movzx eax, al
mov dword [rsp + 0x40], 0x2746
add eax, 2
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rsp + 0x40]
mov dword [rsp + 0x50], eax
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x14007baab
cmp r9d, 1
jne 0x14007ba95
mov rcx, qword [rbx + 8]
mov rax, r10
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add r8d, eax
cmp r8d, 0x4d2
jne 0x14007baab
mov edx, 0x274d
mov rcx, rbx
call fcn.1400d6f50
test ebp, ebp
je 0x14007bab6
mov eax, 0xffffffff
jmp 0x14007badf
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x14007bacd
lea rdi, [0x14048a978]
cmp eax, 1
je 0x14007bacd
mov rdi, qword [rbx + 8]
mov r8, rdi
mov rcx, rbx
call fcn.140077ec0
mov eax, dword [rsp + 0xa8]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400869e0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor eax, eax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rax
mov dword [rbp - 0x69], 0x67452301
mov dword [rbp - 0x65], 0xefcdab89
mov dword [rbp - 0x61], 0x98badcfe
mov dword [rbp - 0x5d], 0x10325476
mov dword [rbp - 0x59], 0xc3d2e1f0
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x79]
call fcn.140086390
mov r8d, 0x24
lea rdx, str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
lea rcx, [rbp - 0x79]
call fcn.140086390
nop
mov rdi, qword [rbp - 0x71]
shl rdi, 6
mov rax, qword [rbp - 0x79]
add rdi, rax
shl rdi, 3
mov byte [rbp + rax - 0x55], 0x80
mov r10, qword [rbp - 0x79]
inc r10
mov rax, r10
mov qword [rbp - 0x79], rax
cmp r10, 0x40
jae 0x140086aa6
nop dword [rax + rax]
mov byte [rbp + rax - 0x55], 0
mov rax, qword [rbp - 0x79]
inc rax
mov qword [rbp - 0x79], rax
cmp rax, 0x40
jb 0x140086a90
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x55]
call fcn.140084a10
cmp r10, 0x38
jbe 0x140086adb
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.140084c80
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rax
mov dword [rbp + 0x33], edi
shr rdi, 0x20
mov dword [rbp + 0x2f], edi
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.140084c80
movzx eax, byte [rbp - 0x69]
mov byte [rbp + 0x3a], al
movzx eax, byte [rbp - 0x68]
mov byte [rbp + 0x39], al
movzx eax, byte [rbp - 0x67]
mov byte [rbp + 0x38], al
movzx eax, byte [rbp - 0x66]
mov byte [rbp + 0x37], al
movzx eax, byte [rbp - 0x65]
mov byte [rbp + 0x3e], al
movzx eax, byte [rbp - 0x64]
mov byte [rbp + 0x3d], al
movzx eax, byte [rbp - 0x63]
mov byte [rbp + 0x3c], al
movzx eax, byte [rbp - 0x62]
mov byte [rbp + 0x3b], al
movzx eax, byte [rbp - 0x61]
mov byte [rbp + 0x42], al
movzx eax, byte [rbp - 0x60]
mov byte [rbp + 0x41], al
movzx eax, byte [rbp - 0x5f]
mov byte [rbp + 0x40], al
movzx eax, byte [rbp - 0x5e]
mov byte [rbp + 0x3f], al
movzx eax, byte [rbp - 0x5d]
mov byte [rbp + 0x46], al
movzx eax, byte [rbp - 0x5c]
mov byte [rbp + 0x45], al
movzx eax, byte [rbp - 0x5b]
mov byte [rbp + 0x44], al
movzx eax, byte [rbp - 0x5a]
mov byte [rbp + 0x43], al
movzx eax, byte [rbp - 0x59]
mov byte [rbp + 0x4a], al
movzx eax, byte [rbp - 0x58]
mov byte [rbp + 0x49], al
movzx eax, byte [rbp - 0x57]
mov byte [rbp + 0x48], al
movzx eax, byte [rbp - 0x56]
mov byte [rbp + 0x47], al
mov rax, qword [rbx]
cmp rax, 0x1c
jae 0x140086b9e
mov r8d, 0x1c
sub r8, rax
lea rcx, [rbx + 8]
add rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbx], 0x1c
mov byte [rbx + 0x24], 0
lea rcx, [rbx + 8]
mov r8d, shutdown
lea rdx, [rbp + 0x37]
call fcn.1400848e0
mov rdx, rax
mov rcx, rbx
call fcn.1400d7640
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14028bc70
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400d3d20
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
movzx ebx, dl
mov rdi, rcx
mov eax, 1
lock xadd dword [0x140804790], eax
inc eax
cmp eax, 1
jne 0x1400d3d6d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x140804794], eax
test bl, bl
je 0x1400d3df6
xor ebx, ebx
lock xadd dword [0x140804794], ebx
test ebx, ebx
je 0x1400d3df6
mov rax, qword [0x14048a968]
movabs rcx, 0x8fafd21e25c5e09b
mov qword [rsp + 0x200], rsi
lea rsi, [0x14048a960]
mov dword [rsp + 0x24], 0
cmp rax, rcx
je 0x1400d3dd0
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x1400d3dd0
mov rax, qword [0x14048a960]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400d3dd2
mov al, 1
movzx eax, al
add eax, 2
mov qword [rsp + 0x28], rsi
mov rsi, qword [rsp + 0x200]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], ebx
cmp eax, 1
je 0x1400d3e1a
test al, 1
jne 0x1400d3e1a
mov rax, rdi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14028bc70
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rdi
ret
lea rdx, str.winsock
lea rcx, [rsp + 0x20]
call fcn.1400786b0
int3
Function at 0x1400d49f0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp - 9], rax
mov eax, dword [rcx + 0x40]
mov rdi, rcx
mov dword [rbp - 0x39], eax
xor esi, esi
mov eax, dword [rcx + 0x44]
mov ebx, select
mov dword [rbp - 0x35], eax
mov eax, dword [rcx + 0x48]
lea r14, [rdi + 0x3c]
mov dword [rbp - 0x31], eax
mov eax, dword [rcx + 0x4c]
mov dword [rbp - 0x2d], eax
mov eax, dword [rcx + 0x50]
movdqu xmm9, xmmword [rbp - 0x39]
mov dword [rbp - 0x29], eax
mov eax, dword [rcx + 0x54]
mov dword [rbp - 0x25], eax
mov eax, dword [rcx + 0x58]
mov dword [rbp - 0x21], eax
mov eax, dword [rcx + 0x5c]
mov rcx, qword [rcx + 0x60]
mov dword [rbp - 0x1d], eax
mov rax, rcx
movdqu xmm8, xmmword [rbp - 0x29]
shr rax, 4
mov dword [rbp - 0x19], eax
lea rax, [rbp - 0xd]
shr rcx, 0x24
mov dword [rbp - 0x69], 0x61707865
mov dword [rbp - 0x65], 0x3320646e
mov dword [rbp - 0x61], 0x79622d32
mov dword [rbp - 0x5d], 0x6b206574
mov dword [rbp - 0x15], ecx
mov dword [rbp - 0xd], 0xdeadbeef
mov dword [rbp - 0x11], 0xdeadbeef
movdqu xmm7, xmmword [rbp - 0x19]
movdqu xmm6, xmmword [rbp - 0x69]
movdqu xmmword [rbp - 0x49], xmm6
cmp rdi, rax
ja 0x1400d4af9
lea rax, [rbp - 0x49]
cmp r14, rax
jb 0x1400d4af9
mov r8d, ebx
lea rdx, [rbp - 0x49]
sub r8, rsi
lea rcx, [rdi + rsi*4]
shl r8, 2
lea rdx, [rdx + rsi*4]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call fcn.1400d5ca0
jmp 0x1400d4b24
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm9
movups xmmword [rdi + 0x20], xmm8
movups xmmword [rdi + 0x30], xmm7
mov rcx, rdi
call fcn.1400d5ca0
lea rax, [rbp - 0xd]
cmp rdi, rax
ja 0x1400d4b51
lea rax, [rbp - 0x49]
cmp r14, rax
jb 0x1400d4b51
lea rdx, [rbp - 0x49]
mov rcx, rsi
sub rdx, rdi
lea rax, [rdi + rsi*4]
sub rbx, rcx
nop word [rax + rax]
mov ecx, dword [rdx + rax]
add dword [rax], ecx
lea rax, [rax + 4]
sub rbx, 1
jne 0x1400d4b40
jmp 0x1400d4b89
movdqu xmm0, xmmword [rdi]
paddd xmm6, xmm0
movdqu xmmword [rdi], xmm6
movdqu xmm0, xmmword [rdi + 0x10]
paddd xmm0, xmm9
movdqu xmmword [rdi + 0x10], xmm0
movdqu xmm0, xmmword [rdi + 0x20]
paddd xmm0, xmm8
movdqu xmmword [rdi + 0x20], xmm0
movdqu xmm0, xmmword [rdi + 0x30]
paddd xmm0, xmm7
movdqu xmmword [rdi + 0x30], xmm0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14028bc70
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret