joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010d1d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test r8, r8
je 0x14010d410
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbx
push rbp
push r14
push r15
sub rsp, 0x68
mov rbx, qword [rsp + 0xb0]
mov r14, r9
mov qword [rax + 8], rsi
mov r15, rcx
mov qword [rax - 0x28], rdi
xor ebp, ebp
mov qword [rax - 0x30], r12
mov r12, qword [rsp + 0xc8]
mov qword [rax - 0x38], r13
mov r13d, dword [rsp + 0xc0]
nop
movups xmm0, xmmword [rbx]
movzx eax, bpl
mov ecx, 7
and al, 7
mov rsi, rbp
sub cl, al
shr rsi, 3
mov eax, 1
mov r8, r14
shl eax, cl
mov rdx, rbx
mov rcx, rbx
and al, byte [rsi + r15]
neg al
movups xmmword [rsp + 0x20], xmm0
sbb dil, dil
and dil, 0x80
call r12
movzx r9d, dil
xor r9b, byte [rbx]
movzx eax, r9b
test r13d, r13d
jne 0x14010d270
movzx r9d, dil
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x20]
movzx ecx, r8b
shr cl, 7
add dl, dl
or dl, cl
add r8b, r8b
mov byte [rbx], dl
movzx edx, byte [rsp + 0x22]
movzx ecx, dl
add dl, dl
shr cl, 7
or cl, r8b
movzx r8d, byte [rsp + 0x23]
mov byte [rbx + 1], cl
movzx ecx, r8b
shr cl, 7
add r8b, r8b
or cl, dl
movzx edx, byte [rsp + 0x24]
mov byte [rbx + 2], cl
movzx ecx, dl
shr cl, 7
add dl, dl
or cl, r8b
movzx r8d, byte [rsp + 0x25]
mov byte [rbx + 3], cl
movzx ecx, r8b
shr cl, 7
add r8b, r8b
or cl, dl
movzx edx, byte [rsp + 0x26]
mov byte [rbx + 4], cl
movzx ecx, dl
shr cl, 7
add dl, dl
or cl, r8b
movzx r8d, byte [rsp + 0x27]
mov byte [rbx + 5], cl
movzx ecx, r8b
shr cl, 7
add r8b, r8b
or cl, dl
movzx edx, byte [rsp + 0x28]
mov byte [rbx + 6], cl
movzx ecx, dl
shr cl, 7
add dl, dl
or cl, r8b
movzx r8d, byte [rsp + 0x29]
mov byte [rbx + 7], cl
movzx ecx, r8b
shr cl, 7
add r8b, r8b
or cl, dl
movzx edx, byte [rsp + 0x2a]
mov byte [rbx + 8], cl
movzx ecx, dl
shr cl, 7
add dl, dl
or cl, r8b
movzx r8d, byte [rsp + 0x2b]
mov byte [rbx + 9], cl
movzx ecx, r8b
shr cl, 7
add r8b, r8b
or cl, dl
movzx edx, byte [rsp + 0x2c]
mov byte [rbx + 0xa], cl
movzx ecx, dl
shr cl, 7
add dl, dl
or cl, r8b
movzx r8d, byte [rsp + 0x2d]
mov byte [rbx + 0xb], cl
movzx ecx, r8b
shr cl, 7
or cl, dl
movzx edx, byte [rsp + 0x2e]
mov byte [rbx + 0xc], cl
add r8b, r8b
movzx ecx, dl
shr r9b, 7
shr cl, 7
add dl, dl
or r8b, cl
and al, 0x80
mov byte [rbx + 0xd], r8b
movzx r8d, byte [rsp + 0x2f]
movzx ecx, r8b
add r8b, r8b
or r9b, r8b
shr cl, 7
or cl, dl
mov byte [rbx + 0xf], r9b
mov r9, qword [rsp + 0x98]
mov edx, ebp
mov byte [rbx + 0xe], cl
and edx, 7
mov ecx, 7
sub ecx, edx
movzx r8d, byte [rsi + r9]
btr r8d, ecx
movzx ecx, bpl
and cl, 7
inc rbp
shr al, cl
or r8b, al
mov byte [rsi + r9], r8b
cmp rbp, qword [rsp + 0xa0]
jb 0x14010d220
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
add rsp, 0x68
pop r15
pop r14
pop rbp
pop rbx
ret
Function at 0x14010d4d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp dword [rsp + 0x90], 0
mov r10, r9
mov r15, qword [rsp + 0x88]
mov rdi, r8
mov rbp, qword [rsp + 0x80]
mov rsi, rdx
mov r14, rcx
mov ebx, dword [r15]
je 0x14010d62e
test ebx, ebx
je 0x14010d544
nop word [rax + rax]
test rdi, rdi
je 0x14010d544
movzx eax, byte [r14]
dec rdi
mov ecx, ebx
inc r14
xor byte [rcx + rbp], al
movzx eax, byte [rcx + rbp]
mov byte [rsi], al
inc rsi
inc ebx
and ebx, 0xf
jne 0x14010d520
mov r9, qword [rsp + 0x98]
cmp rdi, 0x10
jb 0x14010d5f4
mov r15, rsi
mov r13, rdi
shr r13, 4
mov r12, r14
imul rax, r13, 0xfffffffffffffff0
sub r15, rbp
sub r12, rbp
add rdi, rax
mov rax, r13
shl rax, 4
add rsi, rax
mov qword [rsp + 0x68], rsi
add r14, rax
mov rsi, qword [rsp + 0x78]
nop word [rax + rax]
mov r8, rsi
mov rdx, rbp
mov rcx, rbp
call r9
cmp ebx, 0x10
jae 0x14010d5ca
mov edx, recv
mov ecx, ebx
sub edx, ebx
add rcx, rbp
shr edx, 3
inc edx
mov rax, qword [r12 + rcx]
xor qword [rcx], rax
mov rax, qword [rcx]
mov qword [r15 + rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x14010d5b2
mov r9, qword [rsp + 0x98]
add r15, 0x10
add r12, 0x10
xor ebx, ebx
sub r13, 1
jne 0x14010d590
mov rsi, qword [rsp + 0x68]
mov r10, qword [rsp + 0x78]
mov r15, qword [rsp + 0x88]
test rdi, rdi
je 0x14010d73b
mov r8, r10
mov rdx, rbp
mov rcx, rbp
call r9
nop dword [rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r14]
xor byte [rcx + rbp], al
movzx eax, byte [rcx + rbp]
mov byte [rcx + rsi], al
sub rdi, 1
jne 0x14010d610
jmp 0x14010d73b
test ebx, ebx
je 0x14010d658
test rdi, rdi
je 0x14010d658
movzx edx, byte [r14]
dec rdi
mov ecx, ebx
inc r14
movzx eax, byte [rcx + rbp]
xor al, dl
mov byte [rsi], al
inc rsi
inc ebx
mov byte [rcx + rbp], dl
and ebx, 0xf
jne 0x14010d632
mov r13, qword [rsp + 0x98]
cmp rdi, 0x10
jb 0x14010d705
mov r12, rdi
mov r15, rsi
shr r12, 4
sub r15, rbp
imul rax, r12, 0xfffffffffffffff0
add rdi, rax
mov qword [rsp + 0x70], rdi
mov rdi, qword [rsp + 0x78]
nop dword [rax + rax]
mov r8, rdi
mov rdx, rbp
mov rcx, rbp
call r13
cmp ebx, 0x10
jae 0x14010d6df
mov r9d, sendto
mov r8d, ebx
sub r9d, ebx
mov r10, r14
shr r9d, 3
add r8, rbp
sub r10, rsi
inc r9d
nop dword [rax]
mov rax, qword [r8]
lea rcx, [r15 + r8]
mov rdx, qword [rcx + r10]
lea r8, [r8 + 8]
xor rax, rdx
mov qword [rcx], rax
mov qword [r8 - 8], rdx
sub r9, 1
jne 0x14010d6c0
add rsi, 0x10
add r15, 0x10
add r14, 0x10
xor ebx, ebx
sub r12, 1
jne 0x14010d690
mov rdi, qword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
mov r15, qword [rsp + 0x88]
test rdi, rdi
je 0x14010d73b
mov r8, r10
mov rdx, rbp
mov rcx, rbp
call r13
nop word [rax + rax]
mov ecx, ebx
inc ebx
movzx edx, byte [rcx + r14]
movzx eax, byte [rcx + rbp]
xor al, dl
mov byte [rcx + rsi], al
mov byte [rcx + rbp], dl
sub rdi, 1
jne 0x14010d720
mov dword [r15], ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14010d760
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x38], 0
mov rdi, r8
mov r14, rdx
mov rbp, rcx
je 0x14010d787
mov eax, 0xfffffffe
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, r8
cmp rcx, rax
ja 0x14010d882
cmp rcx, r8
jb 0x14010d882
mov qword [rsp + 0x40], rbx
lea rbx, [rbp + 0x40]
mov qword [rsp + 0x48], rsi
mov esi, dword [rbp + 0x174]
mov qword [rsp + 0x50], r12
mov qword [rbp + 0x30], rcx
test esi, esi
je 0x14010d815
nop dword [rax + rax]
test rdi, rdi
je 0x14010d800
movzx eax, byte [r14]
lea rbx, [rbp + 0x40]
mov ecx, esi
inc r14
dec rdi
xor byte [rcx + rbx], al
inc esi
and esi, 0xf
jne 0x14010d7d0
lea r12, [rbp + 0x60]
mov rcx, rbx
mov rdx, r12
call fcn.14010eb30
jmp 0x14010d819
test esi, esi
jne 0x14010d862
lea r12, [rbp + 0x60]
mov rcx, rbx
mov rdx, r12
call fcn.14010eb30
jmp 0x14010d819
lea r12, [rbp + 0x60]
mov qword [rsp + 0x58], r15
mov r15, rdi
and r15, 0xfffffffffffffff0
je 0x14010d83e
mov r9, r15
mov r8, r14
mov rdx, r12
mov rcx, rbx
call fcn.14010e9d0
add r14, r15
sub rdi, r15
mov r15, qword [rsp + 0x58]
test rdi, rdi
je 0x14010d862
mov esi, edi
sub r14, rbp
nop dword [rax]
movzx eax, byte [r14 + rbx - 0x40]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x14010d850
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov r12, qword [rsp + 0x50]
mov dword [rbp + 0x174], esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
or eax, 0xffffffff
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14010e700
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
sub rsp, 0x28
xor r13d, r13d
mov rdi, r8
mov qword [rcx + 0x30], r13
mov rsi, rdx
mov qword [rcx + 0x38], r13
mov rbx, rcx
mov qword [rcx + 0x170], r13
cmp r8, 0xc
jne 0x14010e749
movsd xmm0, qword [rdx]
lea edi, [r8 - 0xb]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 0x1000000
jmp 0x14010e880
mov qword [rsp + 0x50], rbp
mov rbp, rdi
mov qword [rsp + 0x58], r12
mov qword [rcx + 0x40], r13
mov qword [rsp + 0x60], r14
mov qword [rcx + 0x48], r13
cmp rdi, 0x10
jb 0x14010e80f
mov qword [rsp + 0x20], r15
mov r15, rdi
shr r15, 4
imul rax, r15, 0xfffffffffffffff0
add rdi, rax
movzx eax, byte [rsi]
lea rdx, [rbx + 0x60]
xor byte [rbx + 0x40], al
lea rcx, [rbx + 0x40]
movzx eax, byte [rsi + 1]
xor byte [rbx + 0x41], al
movzx eax, byte [rsi + 2]
xor byte [rbx + 0x42], al
movzx eax, byte [rsi + 3]
xor byte [rbx + 0x43], al
movzx eax, byte [rsi + 4]
xor byte [rbx + 0x44], al
movzx eax, byte [rsi + 5]
xor byte [rbx + 0x45], al
movzx eax, byte [rsi + 6]
xor byte [rbx + 0x46], al
movzx eax, byte [rsi + 7]
xor byte [rbx + 0x47], al
movzx eax, byte [rsi + 8]
xor byte [rbx + 0x48], al
movzx eax, byte [rsi + 9]
xor byte [rbx + 0x49], al
movzx eax, byte [rsi + 0xa]
xor byte [rbx + 0x4a], al
movzx eax, byte [rsi + 0xb]
xor byte [rbx + 0x4b], al
movzx eax, byte [rsi + 0xc]
xor byte [rbx + 0x4c], al
movzx eax, byte [rsi + 0xd]
xor byte [rbx + 0x4d], al
movzx eax, byte [rsi + 0xe]
xor byte [rbx + 0x4e], al
movzx eax, byte [rsi + 0xf]
xor byte [rbx + 0x4f], al
call fcn.14010eb30
add rsi, 0x10
sub r15, 1
jne 0x14010e780
mov r15, qword [rsp + 0x20]
test rdi, rdi
je 0x14010e83e
lea rcx, [rbx + 0x40]
sub rsi, rbx
nop dword [rax + rax]
movzx eax, byte [rsi + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x14010e820
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.14010eb30
shl rbp, 3
lea rdx, [rbx + 0x60]
bswap rbp
xor qword [rbx + 0x48], rbp
lea rcx, [rbx + 0x40]
call fcn.14010eb30
mov rax, qword [rbx + 0x40]
mov edi, dword [rbx + 0x4c]
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov qword [rbx], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 8], rax
bswap edi
nop dword [rax]
mov qword [rbx + 0x40], r13
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x48], r13
mov rcx, rbx
mov r8, qword [rbx + 0x180]
call qword [rbx + 0x178]
inc edi
bswap edi
mov dword [rbx + 0xc], edi
add rsp, 0x28
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x14010e9d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
movzx eax, byte [rcx + 0xf]
lea rsi, [r8 + 0xe]
mov rbx, rcx
lea r13, [0x1402014a0]
sub rbx, r8
mov rbp, r9
mov r14, rdx
mov r15, rcx
nop word [rax + rax]
movzx r8d, byte [rsi + 1]
mov rdi, rsi
movzx edx, al
mov r12d, sendto
xor r8, rdx
mov rcx, r8
and r8d, 0xf
add r8, r8
and rcx, 0xfffffffffffffff0
mov rax, qword [r14 + r8*8 + 8]
mov r9, qword [r14 + r8*8]
mov rdx, rax
lea r8, [rcx + r14]
shr rax, 4
and edx, 0xf
mov rcx, r9
shr rcx, 4
shl r9, 0x3c
or rax, r9
mov r11, qword [r13 + rdx*8]
xor r11, rcx
xor r11, qword [r8]
xor rax, qword [r8 + 8]
nop word [rax + rax]
movzx ecx, byte [rdi]
movzx edx, byte [rbx + rdi]
lea rdi, [rdi - 1]
xor rdx, rcx
mov rcx, r11
mov r10, rdx
shl r11, 0x3c
and edx, 0xf
shr rcx, 4
add rdx, rdx
and r10, 0xfffffffffffffff0
lea r8, [r14 + rdx*8]
mov rdx, rax
shr rax, 4
and edx, 0xf
or r11, rax
xor r11, qword [r8 + 8]
mov r9, qword [r13 + rdx*8]
mov rdx, r11
xor r9, rcx
shr rdx, 4
xor r9, qword [r8]
mov rcx, r11
and ecx, 0xf
mov rax, r9
shr rax, 4
mov r11, qword [r13 + rcx*8]
xor r11, rax
mov rax, r9
xor r11, qword [r10 + r14]
shl rax, 0x3c
or rax, rdx
xor rax, qword [r10 + r14 + 8]
sub r12, 1
jne 0x14010ea70
bswap rax
mov qword [r15 + 8], rax
add rsi, 0x10
shr rax, 0x38
sub rbx, 0x10
bswap r11
mov qword [r15], r11
sub rbp, 0x10
jne 0x14010ea10
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret

Function at 0x14010eb30
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movzx eax, byte [rcx + 0xf]
lea r14, [0x1402014a0]
mov r8d, eax
mov rdi, rdx
and eax, 0xf
mov rbx, rcx
add rax, rax
and r8, 0xfffffffffffffff0
mov esi, recv
mov r9, qword [rdx + rax*8]
mov rax, qword [rdx + rax*8 + 8]
mov rcx, r9
mov rdx, rax
shr rcx, 4
and edx, 0xf
shr rax, 4
shl r9, 0x3c
or rax, r9
mov r11, qword [r14 + rdx*8]
xor r11, rcx
xor r11, qword [r8 + rdi]
xor rax, qword [r8 + rdi + 8]
nop dword [rax + rax]
movzx ecx, byte [rsi + rbx]
mov rdx, rax
shr rax, 4
mov r10d, ecx
and ecx, 0xf
and edx, 0xf
add rcx, rcx
and r10, 0xfffffffffffffff0
lea r8, [rdi + rcx*8]
mov rcx, r11
shl r11, 0x3c
mov r9, qword [r14 + rdx*8]
or r11, rax
xor r11, qword [r8 + 8]
shr rcx, 4
mov rdx, r11
xor r9, rcx
shr rdx, 4
xor r9, qword [r8]
mov rcx, r11
and ecx, 0xf
mov rax, r9
shr rax, 4
mov r11, qword [r14 + rcx*8]
xor r11, rax
mov rax, r9
xor r11, qword [r10 + rdi]
shl rax, 0x3c
or rax, rdx
xor rax, qword [r10 + rdi + 8]
sub rsi, 1
jns 0x14010eba0
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
bswap r11
bswap rax
mov qword [rbx], r11
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 8]
ret
Function at 0x14010eff0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx edi, byte [rcx]
mov rbp, r9
mov r14, qword [rcx + 0x28]
mov r12, r8
mov r15, qword [rcx + 0x30]
mov r13, rdx
mov byte [rsp + 0x70], dil
mov rbx, rcx
test dil, 0x40
jne 0x14010f030
lea rdx, [rcx + 0x10]
mov r8, r15
call r14
xor esi, esi
movzx edi, dil
and edi, 7
mov eax, recv
sub eax, edi
mov byte [rbx], dil
mov dword [rsp + 0x88], eax
mov ecx, esi
cmp eax, 0xf
jae 0x14010f077
mov edx, eax
add rdx, rbx
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [rdx], sil
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub rdi, 1
jne 0x14010f060
movzx eax, byte [rbx + 0xf]
or rcx, rax
mov byte [rbx + 0xf], 1
cmp rcx, rbp
je 0x14010f08f
or eax, 0xffffffff
jmp 0x14010f19d
cmp rbp, 0x10
jb 0x14010f10f
mov rsi, rbp
shr rsi, 4
imul rax, rsi, 0xfffffffffffffff0
add rbp, rax
nop dword [rax]
nop word [rax + rax]
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rbx
call r14
mov eax, 8
dec eax
add byte [rax + rbx + 8], 1
jne 0x14010f0d0
test eax, eax
jne 0x14010f0c3
mov rax, qword [r13]
lea rdx, [rbx + 0x10]
xor rax, qword [rsp + 0x20]
lea rcx, [rbx + 0x10]
mov qword [r12], rax
mov r8, r15
xor qword [rbx + 0x10], rax
mov rax, qword [r13 + 8]
xor rax, qword [rsp + 0x28]
mov qword [r12 + 8], rax
xor qword [rbx + 0x18], rax
call r14
add r13, 0x10
add r12, 0x10
sub rsi, 1
jne 0x14010f0b0
test rbp, rbp
je 0x14010f157
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rbx
call r14
test rbp, rbp
je 0x14010f14a
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rcx + r13]
inc esi
xor al, byte [rsp + rcx + 0x20]
mov byte [rcx + r12], al
xor byte [rcx + rbx + 0x10], al
mov ecx, esi
cmp rcx, rbp
jb 0x14010f130
lea rcx, [rbx + 0x10]
mov r8, r15
mov rdx, rcx
call r14
mov ecx, dword [rsp + 0x88]
cmp ecx, 0x10
jae 0x14010f174
mov eax, reloc.WS2_32.dll_recv
lea rdi, [rbx + rcx]
sub eax, ecx
mov ecx, eax
xor eax, eax
rep stosb byte [rdi], al
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rbx
call r14
mov rax, qword [rsp + 0x20]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x28]
xor qword [rbx + 0x18], rax
movzx eax, byte [rsp + 0x70]
mov byte [rbx], al
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14010f1c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
mov rax, qword [rcx + 0x28]
mov r14, r9
mov r12, qword [rcx + 0x30]
mov r13, r8
mov byte [rsp + 0x80], dil
mov r10, rdx
mov qword [rsp + 0x98], rax
mov rbx, rcx
test dil, 0x40
jne 0x14010f21a
mov r8, r12
mov rdx, rsi
call rax
mov r10, qword [rsp + 0x88]
xor ebp, ebp
movzx edi, dil
and edi, 7
mov r15d, sendto
sub r15d, edi
mov byte [rbx], dil
mov ecx, ebp
cmp r15d, 0xf
jae 0x14010f257
mov edx, r15d
add rdx, rbx
nop dword [rax]
movzx eax, byte [rdx]
mov byte [rdx], bpl
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub rdi, 1
jne 0x14010f240
movzx eax, byte [rbx + 0xf]
or rcx, rax
mov byte [rbx + 0xf], 1
cmp rcx, r14
je 0x14010f26f
or eax, 0xffffffff
jmp 0x14010f35a
mov rdi, r14
shr rdi, 4
test rdi, rdi
je 0x14010f2bb
mov qword [rsp + 0x28], rsi
mov r9, r12
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rdx, r13
mov rcx, r10
call qword [rsp + 0xa0]
shl rdi, 4
add qword [rsp + 0x88], rdi
add r13, rdi
sub r14, rdi
je 0x14010f313
shr rdi, 4
mov rcx, rbx
mov rdx, rdi
call fcn.14010fa40
test r14, r14
je 0x14010f313
mov rdi, qword [rsp + 0x98]
lea rdx, [rsp + 0x30]
mov r8, r12
mov rcx, rbx
call rdi
test r14, r14
je 0x14010f308
mov rdx, qword [rsp + 0x88]
mov rcx, rbp
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc ebp
xor al, byte [rsp + rcx + 0x30]
mov byte [rcx + r13], al
xor byte [rcx + rsi], al
mov ecx, ebp
cmp rcx, r14
jb 0x14010f2f0
mov r8, r12
mov rdx, rsi
mov rcx, rsi
call rdi
cmp r15d, 0x10
jae 0x14010f32b
mov ecx, reloc.WS2_32.dll_recv
mov edi, r15d
sub ecx, r15d
add rdi, rbx
xor eax, eax
rep stosb byte [rdi], al
mov r8, r12
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rsp + 0x98]
mov rax, qword [rsp + 0x30]
xor qword [rsi], rax
mov rax, qword [rsp + 0x38]
xor qword [rbx + 0x18], rax
movzx eax, byte [rsp + 0x80]
mov byte [rbx], al
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140111130
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rcx
xor ecx, ecx
test r8, r8
je 0x140111235
cmp r8, 0x40
jb 0x14011120c
lea r11, [r9 - 1]
lea rax, [r8 - 1]
add r11, r8
add rax, rdx
cmp r9, rax
ja 0x140111168
cmp r11, rdx
jae 0x14011120c
lea rax, [r8 - 1]
add rax, r10
cmp r9, rax
ja 0x14011117d
cmp r11, r10
jae 0x14011120c
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
mov rdi, r8
and rdi, 0xffffffffffffffc0
mov r11, r10
mov rbx, r9
sub r11, rdx
mov rax, rdx
sub rbx, rdx
nop dword [rax]
movdqu xmm0, xmmword [rax]
add rcx, 0x40
movdqu xmm1, xmmword [r11 + rax]
movdqu xmm2, xmmword [r11 + rax + 0x10]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r11 + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm2, xmmword [r11 + rax - 0x10]
movdqu xmmword [rbx + rax - 0x20], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x10], xmm2
cmp rcx, rdi
jb 0x1401111a0
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rcx, r8
jae 0x140111235
sub r10, rdx
lea rax, [rcx + rdx]
sub r9, rdx
sub r8, rcx
nop
movzx ecx, byte [rax + r10]
xor cl, byte [rax]
mov byte [rax + r9], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x140111220
add rsp, 8
ret

Function at 0x140111240
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
mov r14, qword [rcx + 0x28]
mov rbx, rdx
mov rbp, rcx
cmp rdx, r14
ja 0x14011126c
shl rbx, 4
add rbx, qword [rcx + 0x58]
mov rax, rbx
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov rcx, qword [rcx + 0x30]
cmp rbx, rcx
jb 0x1401112b3
sub rdx, rcx
lea r8, str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_modes_ocb128.c
add rdx, 4
mov r9d, WSAStartup
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x30], rdx
shl rdx, 4
call fcn.14006c090
test rax, rax
jne 0x1401112af
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rbp + 0x58], rax
cmp r14, rbx
jae 0x140111328
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov r12, rbx
mov qword [rsp + 0x58], r15
mov r15, r14
shl r15, 4
sub r12, r14
mov r14, rbx
nop dword [rax]
mov rcx, qword [rbp + 0x58]
mov edx, 1
add rcx, r15
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
shr dil, 7
mov r8, rsi
neg dil
and dil, 0x87
call fcn.140110f80
xor byte [rsi + 0xf], dil
add r15, 0x10
sub r12, 1
jne 0x1401112e0
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
shl rbx, 4
add rbx, qword [rbp + 0x58]
mov rax, rbx
mov qword [rbp + 0x28], r14
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x140115360
Capabilities:
Encode data using xor

Disassembly:
cmp dword [rsp + 0x30], 0
je 0x140115378
lea rax, [0x1401139f0]
mov qword [rsp + 0x30], rax
jmp fcn.14010ca70
lea rax, [0x140112bb0]
mov qword [rsp + 0x30], rax
jmp fcn.14010c7d0
Function at 0x140116ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [rbp + 0x50]
mov rsi, rdx
movzx edx, byte [rax + 4]
lea rdi, [rax + 1]
mov r13, qword [rbp + 0x58]
lea r9, [rdi + 5]
mov r12, rcx
shl edx, 0x18
movzx r10d, byte [rax]
xor r15d, r15d
movzx eax, byte [rdi]
mov r14d, r8d
movzx ecx, byte [r9]
mov ebx, dword [r13]
shl eax, 0x10
shl r10d, 0x18
or r10d, eax
shl ecx, 8
movzx eax, byte [rdi + 1]
shl eax, 8
or r10d, eax
movzx eax, byte [rdi + 2]
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 0x10
or edx, eax
mov dword [rbp - 8], r10d
movzx eax, byte [r9 + 1]
or ecx, eax
mov byte [rbp - 0xd], r10b
or edx, ecx
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 8
mov dword [rbp - 4], edx
mov byte [rbp - 0xa], al
mov byte [rbp - 9], dl
test r8d, r8d
je 0x14011706d
mov r13, qword [rbp + 0x48]
sub r12, rsi
movzx r8d, dl
movzx r9d, r10b
nop
dec r14d
test ebx, ebx
jne 0x14011700f
mov rdx, r13
lea rcx, [rbp - 8]
call fcn.140116820
mov r10d, dword [rbp - 8]
mov eax, r10d
mov edx, dword [rbp - 4]
movzx r9d, r10b
shr eax, 0x18
movzx r8d, dl
mov byte [rbp - 0x10], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xa], al
inc r15d
mov byte [rbp - 0xd], r10b
mov byte [rbp - 9], dl
movsxd rax, ebx
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [r12 + rsi]
mov byte [rsi], cl
inc rsi
inc ebx
and ebx, 7
test r14d, r14d
jne 0x140116fb0
mov r13, qword [rbp + 0x58]
test r15d, r15d
je 0x14011706d
mov rcx, qword [rbp + 0x50]
mov eax, r10d
shr eax, 0x18
mov byte [rcx], al
mov eax, r10d
shr eax, 0x10
mov byte [rdi], al
mov eax, edx
shr eax, 0x18
shr r10d, 8
mov byte [rdi + 1], r10b
mov byte [rdi + 2], r9b
mov byte [rdi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [rdi + 4], al
shr edx, 8
mov byte [rdi + 5], dl
mov byte [rdi + 6], r8b
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov dword [r13], ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbp
ret