joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015c40
Capabilities:
Convert ip address from string

Disassembly:
push rsi
push r13
push r14
sub rsp, 0x60
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r13, r8
mov r14, rdx
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rdx + rsi], 0
jne 0x140015c66
test byte [rcx + 0x280], 0x20
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r15
je 0x140015da3
xor ebp, ebp
lea rbx, [rcx + 0x1c0]
mov r15d, ebp
mov r12d, ebp
mov rdi, rbx
test rbx, rbx
je 0x140015df1
movzx ecx, byte [rdi]
and ecx, 0x1f
sub ecx, 2
je 0x140015cd5
sub ecx, 4
je 0x140015ccd
cmp ecx, 1
jne 0x140015ceb
mov r15d, ecx
jmp 0x140015ceb
mov r12d, 1
jmp 0x140015ceb
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.140014d00
test eax, eax
je 0x140015df6
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x140015cb3
test r15d, r15d
je 0x140015d71
lea edx, [rdi + 0x3a]
mov rcx, r14
call fcn.140031e60
lea r8, [rsp + 0x20]
mov rdx, r14
test rax, rax
jne 0x140015d1f
lea ecx, [rdi + 2]
call qword [sym.imp.WS2_32.dll_inet_pton]
lea ecx, [rdi + 4]
jmp 0x140015d2f
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
mov ecx, reloc.WS2_32.dll_recv
cmp eax, 1
cmove rbp, rcx
test rbp, rbp
je 0x140015d71
mov rdi, rbx
nop
movzx eax, byte [rdi]
and al, 0x1f
cmp al, 7
jne 0x140015d68
cmp qword [rdi + 8], rbp
jne 0x140015d68
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.140032890
test eax, eax
je 0x140015df6
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x140015d40
test r12d, r12d
je 0x140015df1
movzx eax, byte [rbx]
and al, 0x1f
cmp al, 6
jne 0x140015d98
cmp qword [rbx + 8], rsi
jne 0x140015d98
mov rcx, qword [rbx + 0x10]
mov r8, rsi
mov rdx, r14
call fcn.140032890
test eax, eax
je 0x140015df6
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140015d76
jmp 0x140015df1
lea rbx, [rcx + 0xe0]
test rbx, rbx
je 0x140015df1
mov edi, 0x455
mov ebp, 3
nop dword [rax]
cmp qword [rbx + 8], rbp
jne 0x140015de8
mov rax, qword [rbx + 0x10]
cmp di, word [rax]
jne 0x140015de8
cmp bpl, byte [rax + 2]
jne 0x140015de8
lea rcx, [rbx + 0x18]
mov r8, rsi
mov rdx, r14
call fcn.140014d00
test eax, eax
je 0x140015df6
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x140015dc0
or dword [r13], 4
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400310d0
add rsp, 0x60
pop r14
pop r13
pop rsi
ret
Function at 0x140018500
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
xor r10d, r10d
mov r11, rcx
cmp r9, 8
jb 0x14001854c
mov rbx, rdx
mov rdi, rcx
sub rbx, r8
sub rdi, r8
mov esi, 8
mov rax, r8
sub rsi, r8
nop
mov rcx, qword [rbx + rax]
add r10, 8
xor rcx, qword [rax]
mov qword [rdi + rax], rcx
lea rax, [rax + 8]
lea rcx, [rsi + rax]
cmp rcx, r9
jbe 0x140018530
mov rcx, r9
sub rcx, r10
cmp r10, r9
jae 0x14001864b
mov qword [rsp + 0x10], rbp
cmp rcx, 0x40
jb 0x140018625
lea rbx, [r9 - 1]
lea rax, [r8 - 1]
add rbx, r11
add rax, r9
lea rdi, [r10 + r11]
lea rsi, [r10 + r8]
cmp rdi, rax
ja 0x14001858e
cmp rbx, rsi
jae 0x140018625
lea rax, [rdx - 1]
add rax, r9
lea rbp, [r10 + rdx]
cmp rdi, rax
ja 0x1400185a7
cmp rbx, rbp
jae 0x140018625
and ecx, 0x3f
mov rbp, r9
sub rbp, rcx
mov rcx, rdx
lea rax, [rsi + 0x10]
sub rcx, r8
mov rbx, r11
sub rbx, r8
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rax + rcx]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [rax + rbx - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r10, rbp
jb 0x1400185c0
cmp r10, r9
jae 0x140018646
sub rdx, r8
lea rcx, [r10 + r8]
sub r11, r8
sub r9, r10
movzx eax, byte [rcx + rdx]
xor al, byte [rcx]
mov byte [rcx + r11], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x140018632
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret
Function at 0x140019490
Capabilities:
Hash data using sha256
Hash data using sha384

Disassembly:
test rcx, rcx
je 0x1400194bd
mov rdx, qword [rcx]
test rdx, rdx
je 0x1400194bd
mov edx, dword [rdx]
sub edx, 9
je 0x1400194b2
cmp edx, 1
jne 0x1400194bd
mov rcx, qword [rcx + 8]
jmp fcn.140020a70
mov rcx, qword [rcx + 8]
xor edx, edx
jmp fcn.14001fc00
mov eax, 0xffffaf00
ret

Function at 0x140019e70
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9, rdx
mov r11, rcx
test r8, r8
je 0x140019e99
sub r11, rdx
movzx edx, byte [r11 + r9]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
xor ecx, edx
or r10d, ecx
sub r8, 1
jne 0x140019e81
mov eax, r10d
movzx ecx, r10w
shr eax, 0x10
or eax, ecx
ret

Function at 0x14001a0c0
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x14001a1db
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov qword [rsp + 0x10], rbp
xor ebx, ebx
mov qword [rsp + 0x18], r14
lea rbp, [rdx - 1]
mov r14, rdx
mov rdi, rdx
sub r14, r8
mov rsi, rcx
mov r9, qword [0x140063d40]
mov r8, qword [0x140063d40]
xor r9, rbx
mov rax, qword [0x140063d40]
xor r8, r14
mov rcx, r8
xor rcx, r9
sub r9, r8
shr rcx, 0x3f
xor rcx, rax
mov rax, qword [0x140063d40]
mov rdx, rcx
neg rcx
shr rdx, 1
neg rdx
or rdx, rcx
shr rdx, 0x3f
neg rdx
xor rax, rdx
and rdx, r8
not rax
and r9, rax
mov rax, qword [0x140063d40]
or r9, rdx
shr r9, 0x3f
xor rax, r9
mov r10, rax
neg rax
shr r10, 1
neg r10
or r10, rax
shr r10, 0x3f
neg r10
test rbp, rbp
je 0x14001a1ae
mov rax, rsi
mov r11, rbp
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + 1]
lea rax, [rax + 1]
mov r8, qword [0x140063d40]
xor r8, r10
not r8
and r8b, cl
movzx ecx, r10b
and cl, dl
or r8b, cl
mov byte [rax - 1], r8b
sub r11, 1
jne 0x14001a180
movzx ecx, byte [rsi + rdi - 1]
inc rbx
and cl, r10b
mov byte [rsi + rdi - 1], cl
cmp rbx, rdi
jb 0x14001a0f0
mov r14, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
pop rdi
ret

Function at 0x14001ae20
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
lea rbx, [0x140050700]
mov r14, rdx
mov rcx, rbx
test rsi, rsi
je 0x14001ae7e
cmp qword [0x140050700], 0
je 0x14001ae7e
mov rdi, qword [rsi + 8]
cmp qword [rcx + 8], rdi
jne 0x14001ae71
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call fcn.140032890
test eax, eax
je 0x14001ae99
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x14001ae58
mov eax, 0xffffffd2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
test rbx, rbx
je 0x14001ae7e
mov eax, dword [rbx + 0x20]
mov dword [r14], eax
xor eax, eax
jmp 0x14001ae83
Function at 0x14001aeb0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
mov rsi, rcx
lea rbx, [0x140050610]
mov r14, r8
mov r15, rdx
mov rcx, rbx
test rsi, rsi
je 0x14001af16
cmp qword [0x140050610], 0
je 0x14001af16
mov rdi, qword [rsi + 8]
cmp qword [rcx + 8], rdi
jne 0x14001af09
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call fcn.140032890
test eax, eax
je 0x14001af36
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x14001aef0
mov eax, 0xffffffd2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
test rbx, rbx
je 0x14001af16
mov eax, dword [rbx + 0x20]
mov dword [r15], eax
mov eax, dword [rbx + 0x24]
mov dword [r14], eax
xor eax, eax
jmp 0x14001af1b
Function at 0x14001b2a0
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x200], rax
xor r8d, r8d
lea r9, [rsp + 0x100]
mov dl, 1
mov r10d, 0x100
nop word [rax + rax]
movzx eax, dl
movzx ecx, dl
sar cl, 7
mov byte [r9], dl
lea r9, [r9 + 1]
and cl, 0x1b
mov byte [rsp + rax], r8b
movzx eax, dl
add al, al
inc r8d
xor cl, al
xor dl, cl
cmp r8d, r10d
jl 0x14001b2f0
mov dl, 1
lea r8, [0x140065f50]
mov r9d, 0xa
nop word [rax + rax]
movzx eax, dl
movzx ecx, dl
mov dword [r8], eax
lea r8, [r8 + 4]
movzx eax, dl
sar cl, 7
and cl, 0x1b
add al, al
movzx edx, cl
xor dl, al
sub r9, 1
jne 0x14001b330
mov byte [0x140063d50], 0x63
lea r8d, [r9 + 1]
mov byte [0x140064eb3], r9b
lea r12, [0x140000000]
nop dword [rax]
movzx eax, byte [rsp + r9 + 1]
lea rcx, [rsp + 0x1ff]
sub rcx, rax
lea r9, [r9 + 1]
movzx edx, byte [rcx]
movzx ecx, dl
rol cl, 1
xor dl, cl
rol cl, 1
xor dl, cl
rol cl, 1
movzx eax, cl
rol al, 1
xor al, cl
xor al, dl
xor al, 0x63
mov byte [r9 + r12 + 0x63d50], al
movzx eax, al
mov byte [rax + r12 + 0x64e50], r8b
inc r8d
cmp r8d, r10d
jl 0x14001b370
mov rsi, qword [rsp + 0xe]
xor edi, edi
mov rbp, qword [rsp + 0xd]
mov r14, qword [rsp + 0xb]
mov r15, qword [rsp + 9]
movzx edx, byte [rdi + r12 + 0x63d50]
movzx ecx, dl
movzx eax, dl
sar cl, 7
add al, al
and cl, 0x1b
xor cl, al
movzx eax, byte [rdi + r12 + 0x64e50]
movzx r8d, cl
mov ecx, r8d
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, r8d
mov dword [r12 + rdi*4 + 0x63e50], ecx
rol ecx, 8
mov dword [r12 + rdi*4 + 0x64250], ecx
rol ecx, 8
mov dword [r12 + rdi*4 + 0x64650], ecx
rol ecx, 8
mov dword [r12 + rdi*4 + 0x64a50], ecx
test al, al
je 0x14001b4d6
movzx r8d, byte [rsp + rax]
mov eax, 0x80808081
movzx ecx, sil
add ecx, r8d
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, r15b
add ecx, r8d
movzx r9d, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, bpl
add ecx, r8d
movzx r11d, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, r14b
add ecx, r8d
movzx ebx, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rsp + rax + 0x100]
jmp 0x14001b4e0
xor r9d, r9d
xor r11d, r11d
xor ebx, ebx
xor eax, eax
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, r11d
shl eax, 8
xor eax, r9d
mov dword [r12 + rdi*4 + 0x64f50], eax
rol eax, 8
mov dword [r12 + rdi*4 + 0x65350], eax
rol eax, 8
mov dword [r12 + rdi*4 + 0x65750], eax
rol eax, 8
mov dword [r12 + rdi*4 + 0x65b50], eax
inc rdi
sub r10, 1
jne 0x14001b3d1
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400310d0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14001cd90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx eax, byte [rcx]
lea r13, [rdx - 0xb]
mov r10, qword [0x140063d40]
mov rdi, rcx
xor ebx, ebx
mov rbp, r9
cmp r9, r13
mov r12, r9
mov rsi, rdx
cmova rbp, r13
xor r10, rax
movzx eax, byte [rcx + 1]
mov rcx, qword [0x140063d40]
xor rcx, rax
mov rax, qword [0x140063d40]
xor rax, rcx
mov rcx, qword [0x140063d40]
xor rax, 2
xor rcx, rax
mov rax, r10
shr rax, 1
neg r10
neg rax
mov r11, rcx
shr r11, 1
or rax, r10
mov r10, qword [0x140063d40]
neg r11
shr rax, 0x3f
neg rcx
or r11, rcx
neg rax
shr r11, 0x3f
neg r11
or r11, rax
mov eax, 2
cmp rax, rdx
jae 0x14001ce8e
nop dword [rax]
movzx ecx, byte [rax + rdi]
inc rax
mov rdx, qword [0x140063d40]
xor rdx, rcx
mov rcx, qword [0x140063d40]
xor rcx, rdx
mov rdx, qword [0x140063d40]
xor rdx, rcx
mov rcx, rdx
neg rdx
shr rcx, 1
neg rcx
or rcx, rdx
shr rcx, 0x3f
dec rcx
or r10, rcx
mov ecx, r10d
not ecx
and ecx, 1
add rbx, rcx
cmp rax, rsi
jb 0x14001ce40
mov r9, qword [0x140063d40]
mov r15d, esi
mov r8, qword [0x140063d40]
xor r9, rbx
mov rax, qword [0x140063d40]
sub r15d, ebx
xor r8, 8
sub r15d, 3
mov rcx, r8
not r10
xor rcx, r9
sub r9, r8
shr rcx, 0x3f
xor rcx, rax
mov rax, qword [0x140063d40]
mov rdx, rcx
neg rcx
shr rdx, 1
neg rdx
or rdx, rcx
shr rdx, 0x3f
neg rdx
xor rax, rdx
and rdx, r8
not rax
and r9, rax
mov rax, qword [0x140063d40]
or r9, rdx
shr r9, 0x3f
xor rax, r9
mov rcx, rax
neg rax
shr rcx, 1
neg rcx
or rcx, rax
mov rax, qword [0x140063d40]
mov r9, qword [0x140063d40]
mov r8, qword [0x140063d40]
xor r9, rbp
shr rcx, 0x3f
neg rcx
or rcx, r10
or r11, rcx
xor rax, r11
not rax
and r15d, eax
mov eax, ebp
and eax, r11d
or r15d, eax
mov rax, qword [0x140063d40]
xor r8, r15
mov rcx, r8
xor rcx, r9
sub r9, r8
shr rcx, 0x3f
xor rcx, rax
mov rax, qword [0x140063d40]
mov rdx, rcx
neg rcx
shr rdx, 1
neg rdx
or rdx, rcx
shr rdx, 0x3f
neg rdx
xor rax, rdx
and rdx, r8
not rax
and r9, rax
mov rax, qword [0x140063d40]
mov r14, qword [0x140063d40]
or r9, rdx
shr r9, 0x3f
xor rax, r9
mov rbx, rax
neg rax
shr rbx, 1
neg rbx
or rbx, rax
shr rbx, 0x3f
neg rbx
xor r14d, r11d
not r14d
lea rdx, [rdi + 0xb]
and r14d, ebx
mov eax, r11d
and r14d, 0x4400
and eax, 0x4100
or r14d, eax
mov rcx, rbx
or rcx, r11
mov r8, r13
neg r14d
call fcn.14001a1e0
mov rax, qword [0x140063d40]
sub rdi, rbp
xor rax, rbx
mov r8, rbp
not rax
and rbx, rbp
mov eax, eax
mov rdx, rbp
and r15, rax
mov eax, ebx
or r15, rax
lea rbx, [rdi + rsi]
sub r8, r15
mov rcx, rbx
call fcn.14001a0c0
test r12, r12
je 0x14001d038
mov rcx, qword [rsp + 0x60]
mov r8, rbp
mov rdx, rbx
call fcn.140032040
mov rcx, qword [rsp + 0x70]
mov qword [rcx], r15
jmp 0x14001d040
mov rax, qword [rsp + 0x70]
mov qword [rax], r15
mov rbx, qword [rsp + 0x50]
mov eax, r14d
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140020a70
Capabilities:
Hash data using sha384

Disassembly:
test edx, edx
jne 0x140020a7a
mov eax, 0xffffff8b
ret
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rcx + 0x10], rax
movabs rax, 0x629a292a367cd507
mov qword [rcx + 0x18], rax
movabs rax, 0x9159015a3070dd17
mov qword [rcx + 0x20], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rcx + 0x28], rax
movabs rax, 0x67332667ffc00b31
mov qword [rcx + 0x30], rax
movabs rax, 0x8eb44a8768581511
mov qword [rcx + 0x38], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x40], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rcx + 0x48], rax
xor eax, eax
mov dword [rcx + 0xd0], edx
ret
Function at 0x140021730
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rbp, r9
mov qword [rsp + 0x30], r15
mov rdi, r8
mov r14, rcx
test r9, r9
je 0x1400219b6
movabs rax, 0x2000000000000000
cmp r9, rax
jae 0x1400219b6
mov qword [rsp + 0x50], rsi
xorps xmm0, xmm0
lea rsi, [rcx + 0x168]
movups xmmword [rsi], xmm0
movups xmmword [rcx + 0x178], xmm0
mov byte [rcx + 0x188], dl
mov qword [rcx + 0x148], r15
mov qword [rcx + 0x150], r15
cmp r9, 0xc
jne 0x1400217c6
movsd xmm0, qword [r8]
movsd qword [rsi], xmm0
mov eax, dword [r8 + 8]
mov dword [rsi + 8], eax
mov byte [rcx + 0x177], 1
jmp 0x14002198d
lea rax, [r9*8]
mov qword [rsp + 0x88], rbx
bswap rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
nop dword [rax]
nop word [rax + rax]
mov ebx, reloc.WS2_32.dll_recv
mov rdx, r15
cmp rbp, rbx
cmovb rbx, rbp
cmp rbx, 8
jb 0x14002183c
mov r8, rsi
mov r9, rsi
sub r8, rdi
sub r9, rdi
mov r10d, 8
mov rax, rdi
sub r10, rdi
nop dword [rax]
mov rcx, qword [r8 + rax]
add rdx, 8
xor rcx, qword [rax]
mov qword [r9 + rax], rcx
lea rax, [rax + 8]
lea rcx, [r10 + rax]
cmp rcx, rbx
jbe 0x140021820
mov rcx, rbx
sub rcx, rdx
cmp rdx, rbx
jae 0x140021935
cmp rcx, 0x40
jb 0x140021909
lea r8, [rsi - 1]
lea rax, [rdi - 1]
add r8, rbx
add rax, rbx
lea r9, [rdx + rsi]
lea r10, [rdx + rdi]
cmp r9, rax
ja 0x140021879
cmp r8, r10
jae 0x140021909
cmp r9, r8
jbe 0x140021909
and ecx, 0x3f
mov r11, rbx
sub r11, rcx
mov rcx, rsi
lea rax, [r10 + 0x10]
sub rcx, rdi
mov r8, rsi
sub r8, rdi
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rdx, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rax + rcx]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r8 + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [rax + r8 - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [r8 + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [r8 + rax - 0x20], xmm2
cmp rdx, r11
jb 0x1400218a0
cmp rdx, rbx
jae 0x140021935
mov r9, rsi
lea rcx, [rdx + rdi]
mov r10, rsi
sub r9, rdi
sub r10, rdi
mov r8, rbx
sub r8, rdx
nop
movzx eax, byte [rcx + r9]
xor al, byte [rcx]
mov byte [rcx + r10], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x140021920
cmp byte [r14 + 0x189], r15b
jne 0x14002194d
lea r8, [r14 + 0x48]
mov rdx, rsi
mov rcx, rsi
call fcn.140020fe0
add rdi, rbx
sub rbp, rbx
jne 0x1400217f0
lea r9d, [rbp + 0x10]
mov rdx, rsi
lea r8, [rsp + 0x38]
mov rcx, rsi
call fcn.140018500
mov rbx, qword [rsp + 0x88]
cmp byte [r14 + 0x189], r15b
jne 0x14002198d
lea r8, [r14 + 0x48]
mov rdx, rsi
mov rcx, rsi
call fcn.140020fe0
lea rax, [rsp + 0x30]
mov r8d, reloc.WS2_32.dll_recv
lea r9, [r14 + 0x158]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, r14
call fcn.140019970
mov rsi, qword [rsp + 0x50]
jmp 0x1400219bb
mov eax, 0xffffffec
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400310d0
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rbp
ret
Function at 0x140021cb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x150]
mov rsi, rcx
mov r14, r8
mov rbx, rdx
lea rcx, [rax + r8]
cmp rcx, rax
jb 0x140021f0f
movabs rdx, 0x2000000000000000
cmp rcx, rdx
jae 0x140021f0f
mov qword [rsp + 0x40], rbp
mov rbp, rax
mov qword [rsp + 0x48], rdi
and ebp, 0xf
je 0x140021d58
mov edi, reloc.WS2_32.dll_recv
lea rcx, [rsi + 0x178]
sub rdi, rbp
cmp rdi, r8
cmova rdi, r8
add rcx, rbp
mov rdx, rcx
mov r9, rdi
mov r8, rbx
call fcn.140018500
lea r8, [rdi + rbp]
cmp r8, 0x10
jne 0x140021d48
cmp byte [rsi + 0x189], 0
jne 0x140021d48
lea rcx, [rsi + 0x178]
mov rdx, rcx
lea r8, [rsi + 0x48]
call fcn.140020fe0
mov rax, qword [rsi + 0x150]
sub r14, rdi
add rbx, rdi
add rax, rdi
add rax, r14
mov qword [rsi + 0x150], rax
cmp r14, 0x10
jb 0x140021ee0
mov qword [rsp + 0x50], r15
lea rdi, [rsi + 0x178]
mov r15, r14
shr r15, 4
imul rax, r15, 0xfffffffffffffff0
add r14, rax
nop word [rax + rax]
mov r8, rdi
mov r9, rdi
sub r8, rbx
sub r9, rbx
xor edx, edx
mov r10d, 8
sub r10, rbx
mov rax, rbx
nop word [rax + rax]
mov rcx, qword [r8 + rax]
add rdx, 8
xor rcx, qword [rax]
mov qword [r9 + rax], rcx
lea rax, [rax + 8]
lea rcx, [r10 + rax]
cmp rcx, 0x10
jbe 0x140021db0
mov ecx, reloc.WS2_32.dll_recv
sub rcx, rdx
cmp rdx, 0x10
jae 0x140021eb5
cmp rcx, 0x40
jb 0x140021e8e
lea r11, [rdx + rdi]
lea rax, [rbx + 0xf]
lea r10, [rdi + 0xf]
lea rbp, [rdx + rbx]
cmp r11, rax
ja 0x140021e07
cmp r10, rbp
jae 0x140021e8e
cmp r11, r10
jbe 0x140021e8e
and ecx, 0x3f
mov r10d, reloc.WS2_32.dll_recv
sub r10, rcx
lea rax, [rbp + 0x10]
movdqu xmm0, xmmword [rax - 0x10]
add rdx, 0x40
movdqu xmm1, xmmword [r8 + rax - 0x10]
movdqu xmm2, xmmword [rax + r8]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r9 + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [r8 + rax - 0x30]
movdqu xmmword [rax + r9 - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [r8 + rax - 0x20]
movdqu xmmword [r9 + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [r9 + rax - 0x20], xmm2
cmp rdx, r10
jb 0x140021e20
cmp rdx, 0x10
jae 0x140021eb5
mov r10d, reloc.WS2_32.dll_recv
lea rcx, [rdx + rbx]
sub r10, rdx
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor al, byte [rcx]
mov byte [r9 + rcx], al
lea rcx, [rcx + 1]
sub r10, 1
jne 0x140021ea0
cmp byte [rsi + 0x189], 0
jne 0x140021ecd
lea r8, [rsi + 0x48]
mov rdx, rdi
mov rcx, rdi
call fcn.140020fe0
add rbx, 0x10
sub r15, 1
jne 0x140021d90
mov r15, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
test r14, r14
je 0x140021f04
lea rcx, [rsi + 0x178]
mov r9, r14
mov rdx, rcx
mov r8, rbx
call fcn.140018500
xor eax, eax
add rsp, 0x20
pop r14
pop rsi
pop rbx
ret
mov eax, 0xffffffec
add rsp, 0x20
pop r14
pop rsi
pop rbx
ret
Function at 0x140028920
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x40
mov rsi, rcx
mov rbp, r9
lea rcx, [rsp + 0x20]
mov r15, r8
mov rdi, rdx
call fcn.140025480
lea rcx, [rsp + 0x30]
call fcn.140025480
xor edx, edx
lea rcx, [rsi + 0x68]
call fcn.1400253b0
cmp eax, 1
je 0x14002896c
mov eax, 0xffffb080
jmp 0x140028ab9
xor edx, edx
mov qword [rsp + 0x60], r12
mov rcx, rdi
call fcn.1400253b0
mov rbx, qword [rsp + 0x88]
lea rcx, [rsp + 0x20]
test eax, eax
mov rdx, rdi
sete al
mov byte [rbx], al
call fcn.1400227a0
mov r12d, eax
test eax, eax
jne 0x140028a9d
mov r8, rdi
lea rdx, [rsi + 0x68]
lea rcx, [rsp + 0x30]
call fcn.1400285d0
mov r12d, eax
test eax, eax
jne 0x140028a9d
movzx r8d, byte [rbx]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140027df0
mov r12d, eax
test eax, eax
jne 0x140028a9d
lea r8, [rbp + 1]
xor edx, edx
mov rcx, r15
call fcn.1400326f0
xor esi, esi
test rbp, rbp
je 0x140028a3e
mov qword [rsp + 0x68], r14
movzx r14d, byte [rsp + 0x80]
nop
xor ebx, ebx
test r14, r14
je 0x140028a31
mov rdi, rsi
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400253b0
mov rcx, rbx
add rdi, rbp
shl al, cl
inc rbx
or byte [rsi + r15], al
cmp rbx, r14
jb 0x140028a10
inc rsi
cmp rsi, rbp
jb 0x140028a00
mov r14, qword [rsp + 0x68]
xor r11b, r11b
cmp rbp, 1
jb 0x140028a9d
inc r15
nop word [rax + rax]
movzx edx, byte [r15 - 1]
mov r10d, 1
movzx r9d, byte [r15]
lea r15, [r15 + 1]
xor r9b, r11b
mov ecx, edx
and r11b, byte [r15 - 1]
movzx eax, r9b
and al, 1
sub r10b, al
movzx eax, r10b
imul ecx, eax
shl r10b, 7
or r10b, dl
mov byte [r15 - 2], r10b
movzx eax, cl
xor cl, r9b
and al, r9b
mov byte [r15 - 1], cl
or r11b, al
sub rbp, 1
jne 0x140028a50
lea rcx, [rsp + 0x30]
call fcn.140024ca0
lea rcx, [rsp + 0x20]
call fcn.140024ca0
mov eax, r12d
mov r12, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop rdi
pop rsi
ret

Function at 0x14002e6f0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
cmp rcx, rdx
je 0x14002e729
test r8, r8
je 0x14002e729
sub r10, rcx
mov rdx, qword [0x140063d40]
mov rax, qword [r10 + rcx]
lea rcx, [rcx + 8]
xor rdx, r9
and rax, r9
not rdx
and rdx, qword [rcx - 8]
or rax, rdx
mov qword [rcx - 8], rax
sub r8, 1
jne 0x14002e700
ret

Function at 0x14002e730
Capabilities:
Encode data using xor

Disassembly:
mov r11, r8
mov r10, rcx
cmp rcx, rdx
je 0x14002e78f
test r8, r8
je 0x14002e78f
sub r10, rdx
mov rcx, qword [0x140063d40]
mov rax, qword [rdx]
xor rcx, r9
mov r8, qword [r10 + rdx]
lea rdx, [rdx + 8]
and rax, r9
not rcx
and rcx, qword [r10 + rdx - 8]
and r8, r9
or rax, rcx
mov qword [r10 + rdx - 8], rax
mov rax, qword [0x140063d40]
mov rcx, qword [rdx - 8]
xor rax, r9
not rax
and rcx, rax
or rcx, r8
mov qword [rdx - 8], rcx
sub r11, 1
jne 0x14002e743
ret