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

Disassembly:
push rsi
push r13
push r14
sub rsp, 0x60
mov rax, qword [0x140066010]
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 0x140016296
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 0x1400163d3
xor ebp, ebp
lea rbx, [rcx + 0x1c0]
mov r15d, ebp
mov r12d, ebp
mov rdi, rbx
test rbx, rbx
je 0x140016421
movzx ecx, byte [rdi]
and ecx, 0x1f
sub ecx, 2
je 0x140016305
sub ecx, 4
je 0x1400162fd
cmp ecx, 1
jne 0x14001631b
mov r15d, ecx
jmp 0x14001631b
mov r12d, 1
jmp 0x14001631b
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.140016150
test eax, eax
je 0x140016426
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x1400162e3
test r15d, r15d
je 0x1400163a1
lea edx, [rdi + 0x3a]
mov rcx, r14
call fcn.1400360d0
lea r8, [rsp + 0x20]
mov rdx, r14
test rax, rax
jne 0x14001634f
lea ecx, [rdi + 2]
call qword [sym.imp.WS2_32.dll_inet_pton]
lea ecx, [rdi + 4]
jmp 0x14001635f
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 0x1400163a1
mov rdi, rbx
nop
movzx eax, byte [rdi]
and al, 0x1f
cmp al, 7
jne 0x140016398
cmp qword [rdi + 8], rbp
jne 0x140016398
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.140051c70
test eax, eax
je 0x140016426
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x140016370
test r12d, r12d
je 0x140016421
movzx eax, byte [rbx]
and al, 0x1f
cmp al, 6
jne 0x1400163c8
cmp qword [rbx + 8], rsi
jne 0x1400163c8
mov rcx, qword [rbx + 0x10]
mov r8, rsi
mov rdx, r14
call fcn.140051c70
test eax, eax
je 0x140016426
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x1400163a6
jmp 0x140016421
lea rbx, [rcx + 0xe0]
test rbx, rbx
je 0x140016421
mov edi, 0x455
mov ebp, 3
nop dword [rax]
cmp qword [rbx + 8], rbp
jne 0x140016418
mov rax, qword [rbx + 0x10]
cmp di, word [rax]
jne 0x140016418
cmp bpl, byte [rax + 2]
jne 0x140016418
lea rcx, [rbx + 0x18]
mov r8, rsi
mov rdx, r14
call fcn.140016150
test eax, eax
je 0x140016426
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x1400163f0
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.1400353c0
add rsp, 0x60
pop r14
pop r13
pop rsi
ret
Function at 0x140017600
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140066010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea r14, [0x14005d0c0]
mov rbx, r9
mov rsi, r8
movzx ebp, dl
mov rdi, rcx
cmp r9, 0x20
jbe 0x14001765a
lea r9, [rsp + 0x28]
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140018c00
mov edx, eax
test eax, eax
jne 0x1400177b1
lea rsi, [rsp + 0x28]
mov ebx, 0x20
cmp dword [rdi + 0x18], 0
mov byte [rsp + 0x20], bpl
mov byte [rsp + 0x21], bl
jne 0x140017730
xor ebp, ebp
mov qword [rdi], r14
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
lea edx, [rbp + 0x68]
lea ecx, [rbp + 1]
call fcn.140039240
mov qword [rdi + 8], rax
test rax, rax
jne 0x140017698
mov edx, 0xffffae80
jmp 0x1400177b1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
mov qword [rax + 0x60], rcx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400177ac
mov ecx, dword [rcx]
sub ecx, 9
je 0x1400176e9
cmp ecx, 1
jne 0x1400177ac
mov rcx, qword [rdi + 8]
call fcn.140020bd0
mov edx, eax
test eax, eax
jne 0x1400177b1
jmp 0x140017729
mov rax, qword [rdi + 8]
mov qword [rax + 0x40], rbp
mov dword [rax + 0x48], 0x6a09e667
mov dword [rax + 0x4c], 0xbb67ae85
mov dword [rax + 0x50], 0x3c6ef372
mov dword [rax + 0x54], 0xa54ff53a
mov dword [rax + 0x58], 0x510e527f
mov dword [rax + 0x5c], 0x9b05688c
mov dword [rax + 0x60], 0x1f83d9ab
mov dword [rax + 0x64], 0x5be0cd19
mov dword [rdi + 0x18], 1
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400177ac
mov ecx, dword [rcx]
sub ecx, 9
je 0x140017758
cmp ecx, 1
jne 0x1400177ac
lea r8d, [rcx + 1]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
call fcn.140021490
jmp 0x14001776c
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
mov r8d, 2
call fcn.1400209d0
mov edx, eax
test eax, eax
jne 0x1400177b1
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400177ac
mov ecx, dword [rcx]
sub ecx, 9
je 0x140017799
cmp ecx, 1
jne 0x1400177ac
mov rcx, qword [rdi + 8]
mov r8, rbx
mov rdx, rsi
call fcn.140021490
mov edx, eax
jmp 0x1400177b1
mov rcx, qword [rdi + 8]
mov r8, rbx
mov rdx, rsi
call fcn.1400209d0
mov edx, eax
jmp 0x1400177b1
mov edx, 0xffffaf00
xor eax, eax
lea rdi, [rsp + 0x28]
mov ecx, 0x20
rep stosb byte [rdi], al
mov eax, edx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400353c0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140017c10
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 0x140017c5c
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 0x140017c40
mov rcx, r9
sub rcx, r10
cmp r10, r9
jae 0x140017d5b
mov qword [rsp + 0x10], rbp
cmp rcx, 0x40
jb 0x140017d35
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 0x140017c9e
cmp rbx, rsi
jae 0x140017d35
lea rax, [rdx - 1]
add rax, r9
lea rbp, [r10 + rdx]
cmp rdi, rax
ja 0x140017cb7
cmp rbx, rbp
jae 0x140017d35
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 0x140017cd0
cmp r10, r9
jae 0x140017d56
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 0x140017d42
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop rdi
ret
Function at 0x140018b90
Capabilities:
Hash data using sha256
Hash data using sha384

Disassembly:
test rcx, rcx
je 0x140018bf7
mov rdx, qword [rcx]
test rdx, rdx
je 0x140018bf7
mov edx, dword [rdx]
sub edx, 9
je 0x140018bb2
cmp edx, 1
jne 0x140018bf7
mov rcx, qword [rcx + 8]
jmp fcn.140020bd0
mov rax, qword [rcx + 8]
xor ecx, ecx
mov qword [rax + 0x40], rcx
mov dword [rax + 0x48], 0x6a09e667
mov dword [rax + 0x4c], 0xbb67ae85
mov dword [rax + 0x50], 0x3c6ef372
mov dword [rax + 0x54], 0xa54ff53a
mov dword [rax + 0x58], 0x510e527f
mov dword [rax + 0x5c], 0x9b05688c
mov dword [rax + 0x60], 0x1f83d9ab
mov dword [rax + 0x64], 0x5be0cd19
xor eax, eax
ret
mov eax, 0xffffaf00
ret

Function at 0x140018c00
Capabilities:
Hash data using sha256
Hash data using sha384

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140066010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, r9
test rcx, rcx
jne 0x140018c32
mov eax, 0xffffaf00
jmp 0x140018da6
mov ecx, dword [rcx]
sub ecx, 9
je 0x140018d1b
cmp ecx, 1
jne 0x140018c28
xor eax, eax
mov qword [rbp + 0x60], 1
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rbp - 0x60], rax
movabs rax, 0x629a292a367cd507
mov qword [rbp - 0x58], rax
movabs rax, 0x9159015a3070dd17
mov qword [rbp - 0x50], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rbp - 0x48], rax
movabs rax, 0x67332667ffc00b31
mov qword [rbp - 0x40], rax
movabs rax, 0x8eb44a8768581511
mov qword [rbp - 0x38], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rbp - 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rbp - 0x28], rax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
call fcn.140021490
mov r8d, eax
test eax, eax
jne 0x140018d06
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400215a0
mov r8d, eax
xor eax, eax
lea rdi, [rbp - 0x70]
mov ecx, 0xd8
rep stosb byte [rdi], al
mov eax, r8d
jmp 0x140018da6
xorps xmm0, xmm0
mov dword [rsp + 0x68], 0x6a09e667
xor eax, eax
mov dword [rsp + 0x6c], 0xbb67ae85
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x70], 0x3c6ef372
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x74], 0xa54ff53a
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x78], 0x510e527f
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x7c], 0x9b05688c
mov dword [rbp - 0x80], 0x1f83d9ab
mov dword [rbp - 0x7c], 0x5be0cd19
call fcn.1400209d0
mov edx, eax
test eax, eax
jne 0x140018d96
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140020ad0
mov edx, eax
xor eax, eax
lea rdi, [rsp + 0x20]
mov ecx, 0x68
rep stosb byte [rdi], al
mov eax, edx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400353c0
mov rdi, qword [rsp + 0x190]
add rsp, 0x180
pop rbp
ret
Function at 0x140019120
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
mov r9, rdx
mov r11, rcx
test r8, r8
je 0x140019149
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 0x140019131
mov eax, r10d
movzx ecx, r10w
shr eax, 0x10
or eax, ecx
ret

Function at 0x140019840
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x140066010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [rsp + 0xc0]
mov r15, r9
mov rsi, qword [rsp + 0xe0]
mov rdi, rcx
mov rbp, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xd8]
cmp rbx, rsi
jb 0x1400199c3
sub rbx, rsi
cmp qword [rsp + 0xd0], rbx
jb 0x1400199c3
mov rax, qword [rcx]
mov ecx, dword [rax + 8]
and ecx, 0xf000
cmp ecx, 0x6000
jne 0x1400199b8
mov qword [r9], rbx
mov r9, r8
mov rdi, qword [rdi + 0x40]
mov r8, rdx
xor edx, edx
mov rcx, rdi
call fcn.14002df90
test eax, eax
jne 0x1400199a5
mov r8, qword [rsp + 0xb0]
mov rdx, r15
mov rcx, rdi
call fcn.14002e230
test eax, eax
jne 0x1400199a5
lea rax, [rsp + 0x30]
mov r9, r14
mov qword [rsp + 0x28], rax
mov r8, rbx
mov rdx, rbp
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call fcn.14002e570
test eax, eax
jne 0x1400199a5
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.14002e830
test eax, eax
jne 0x1400199a5
xor r9d, r9d
lea r11, [rbx + rbp]
mov r8d, r9d
mov r10d, r9d
test rsi, rsi
je 0x1400199be
lea rax, [rsp + 0x38]
sub r11, rax
nop dword [rax + rax]
lea rax, [rsp + 0x38]
add rax, r8
inc r8
movzx ecx, byte [r11 + rax]
movzx edx, byte [rax]
xor edx, ecx
or r10d, edx
cmp r8, rsi
jb 0x140019960
mov edx, r10d
movzx eax, r10w
shr edx, 0x10
or edx, eax
je 0x1400199be
test rbx, rbx
je 0x1400199ad
xor eax, eax
mov rdi, r14
mov rcx, rbx
mov r9d, 0xffff9d00
rep stosb byte [rdi], al
mov eax, r9d
jmp 0x1400199c8
mov r9d, eax
cmp eax, 0xffffffee
jne 0x1400199be
mov r9d, 0xffff9d00
mov eax, r9d
jmp 0x1400199c8
mov r9d, 0xffff9f80
mov eax, r9d
jmp 0x1400199c8
mov eax, 0xffff9f00
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400353c0
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001a340
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 [0x140066010]
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 0x14001a390
mov dl, 1
lea r8, [0x1400682f0]
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 0x14001a3d0
mov byte [0x140068320], 0x63
lea r8d, [r9 + 1]
mov byte [0x140068883], 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 + 0x68320], al
movzx eax, al
mov byte [rax + r12 + 0x68820], r8b
inc r8d
cmp r8d, r10d
jl 0x14001a410
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 + 0x68320]
movzx ecx, dl
movzx eax, dl
sar cl, 7
add al, al
and cl, 0x1b
xor cl, al
movzx eax, byte [rdi + r12 + 0x68820]
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 + 0x69d20], ecx
rol ecx, 8
mov dword [r12 + rdi*4 + 0x69920], ecx
rol ecx, 8
mov dword [r12 + rdi*4 + 0x68d20], ecx
rol ecx, 8
mov dword [r12 + rdi*4 + 0x68920], ecx
test al, al
je 0x14001a576
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 0x14001a580
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 + 0x69520], eax
rol eax, 8
mov dword [r12 + rdi*4 + 0x69120], eax
rol eax, 8
mov dword [r12 + rdi*4 + 0x6a120], eax
rol eax, 8
mov dword [r12 + rdi*4 + 0x68420], eax
inc rdi
sub r10, 1
jne 0x14001a471
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400353c0
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 0x140020bd0
Capabilities:
Hash data using sha384

Disassembly:
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], 1
ret
Function at 0x140028ef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
movzx esi, r8b
movzx edx, word [rdx + 0xa]
mov rbx, rcx
call fcn.140029160
mov r11d, eax
test eax, eax
jne 0x140028fe6
mov r9, qword [0x140068170]
mov rdx, qword [0x140068170]
xor r9, rsi
movzx ecx, word [rdi + 8]
mov r8, r9
movzx eax, word [rbx + 8]
inc cx
shr r8, 1
neg r9
neg r8
inc ax
or r8, r9
shr r8, 0x3f
neg r8
xor rdx, r8
and cx, r8w
not rdx
and ax, dx
mov rdx, qword [rbx]
or cx, ax
dec cx
mov word [rbx + 8], cx
mov r10, qword [rdi]
movzx r9d, word [rdi + 0xa]
movzx eax, r9w
cmp rdx, r10
je 0x140028fbd
test r9, r9
je 0x140028fbd
sub r10, rdx
nop word [rax + rax]
mov rcx, qword [0x140068170]
mov rax, qword [r10 + rdx]
lea rdx, [rdx + 8]
xor rcx, r8
and rax, r8
not rcx
and rcx, qword [rdx - 8]
or rax, rcx
mov qword [rdx - 8], rax
sub r9, 1
jne 0x140028f90
movzx eax, word [rdi + 0xa]
movzx ecx, word [rbx + 0xa]
not r8
movzx eax, ax
cmp rax, rcx
jae 0x140028fe3
nop dword [rax]
mov rcx, qword [rbx]
and qword [rcx + rax*8], r8
inc rax
movzx ecx, word [rbx + 0xa]
cmp rax, rcx
jb 0x140028fd0
mov eax, r11d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140029000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp rcx, rdx
jne 0x140029022
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [0x140068170]
movzx edx, word [rdx + 0xa]
mov qword [rsp + 0x30], rbx
movzx eax, r8b
xor rcx, rax
mov rbx, rcx
neg rcx
shr rbx, 1
neg rbx
or rbx, rcx
mov rcx, rdi
shr rbx, 0x3f
neg rbx
call fcn.140029160
mov r11d, eax
test eax, eax
jne 0x14002913f
movzx edx, word [rdi + 0xa]
mov rcx, rsi
call fcn.140029160
mov r11d, eax
test eax, eax
jne 0x14002913f
mov rdx, qword [0x140068170]
movzx ecx, word [rsi + 8]
xor rdx, rbx
movzx r8d, word [rdi + 8]
inc cx
movzx eax, word [rdi + 8]
and cx, bx
inc ax
inc r8w
and r8w, bx
not rdx
and ax, dx
or cx, ax
dec cx
mov word [rdi + 8], cx
mov rcx, qword [0x140068170]
movzx eax, word [rsi + 8]
xor rcx, rbx
inc ax
not rcx
and ax, cx
or r8w, ax
dec r8w
mov word [rsi + 8], r8w
mov r8, qword [rsi]
mov r10, qword [rdi]
cmp r10, r8
je 0x14002913f
movzx r9d, word [rdi + 0xa]
test r9, r9
je 0x14002913f
sub r10, r8
nop dword [rax]
mov rax, qword [0x140068170]
mov rcx, qword [r10 + r8]
xor rax, rbx
mov rdx, qword [r10 + r8]
lea r8, [r8 + 8]
not rax
and rdx, rbx
and rcx, rax
mov rax, qword [r8 - 8]
and rax, rbx
or rcx, rax
mov rax, qword [0x140068170]
mov qword [r10 + r8 - 8], rcx
xor rax, rbx
mov rcx, qword [r8 - 8]
not rax
and rcx, rax
or rcx, rdx
mov qword [r8 - 8], rcx
sub r9, 1
jne 0x1400290f0
mov rbx, qword [rsp + 0x30]
mov eax, r11d
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14002d5d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov r10, rdx
mov r11, rcx
sub r10, r8
sub r11, r8
xor r9d, r9d
mov ebx, 8
sub rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, r8
nop dword [rax + rax]
mov rcx, qword [r10 + rax]
add r9, 8
xor rcx, qword [rax]
mov qword [r11 + rax], rcx
lea rax, [rax + 8]
lea rcx, [rbx + rax]
cmp rcx, 0x10
jbe 0x14002d600
mov edx, reloc.WS2_32.dll_recv
mov ecx, edx
sub rcx, r9
cmp r9, rdx
jae 0x14002d72f
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r14
cmp rcx, 0x40
jb 0x14002d6fd
lea rbx, [r9 + rdi]
add rdi, 0xf
lea rax, [r8 + 0xf]
lea rbp, [r9 + r8]
cmp rbx, rax
ja 0x14002d662
cmp rdi, rbp
jae 0x14002d6fd
lea rax, [rsi + 0xf]
lea r14, [r9 + rsi]
cmp rbx, rax
ja 0x14002d678
cmp rdi, r14
jae 0x14002d6fd
and ecx, 0x3f
mov rbx, rdx
sub rbx, rcx
lea rax, [rbp + 0x10]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r9, 0x40
movdqu xmm1, xmmword [r10 + rax - 0x10]
movdqu xmm2, xmmword [rax + r10]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r11 + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [r10 + rax - 0x30]
movdqu xmmword [rax + r11 - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [r10 + rax - 0x20]
movdqu xmmword [r11 + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [r11 + rax - 0x20], xmm2
cmp r9, rbx
jb 0x14002d690
cmp r9, rdx
jae 0x14002d725
lea rcx, [r9 + r8]
sub rdx, r9
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r10]
xor al, byte [rcx]
mov byte [rcx + r11], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14002d710
mov rbp, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
pop rdi
ret
Function at 0x14002df90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x140066010]
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 0x14002e210
movabs rax, 0x2000000000000000
cmp r9, rax
jae 0x14002e210
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 0x14002e026
movsd xmm0, qword [r8]
movsd qword [rsi], xmm0
mov eax, dword [r8 + 8]
mov dword [rsi + 8], eax
mov byte [rcx + 0x177], 1
jmp 0x14002e1ed
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 0x14002e09c
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 0x14002e080
mov rcx, rbx
sub rcx, rdx
cmp rdx, rbx
jae 0x14002e195
cmp rcx, 0x40
jb 0x14002e169
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 0x14002e0d9
cmp r8, r10
jae 0x14002e169
cmp r9, r8
jbe 0x14002e169
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 0x14002e100
cmp rdx, rbx
jae 0x14002e195
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 0x14002e180
cmp byte [r14 + 0x189], r15b
jne 0x14002e1ad
lea r8, [r14 + 0x48]
mov rdx, rsi
mov rcx, rsi
call fcn.14002dbe0
add rdi, rbx
sub rbp, rbx
jne 0x14002e050
lea r9d, [rbp + 0x10]
mov rdx, rsi
lea r8, [rsp + 0x38]
mov rcx, rsi
call fcn.140017c10
mov rbx, qword [rsp + 0x88]
cmp byte [r14 + 0x189], r15b
jne 0x14002e1ed
lea r8, [r14 + 0x48]
mov rdx, rsi
mov rcx, rsi
call fcn.14002dbe0
lea rax, [rsp + 0x30]
mov rdx, rsi
lea r9, [r14 + 0x158]
mov qword [rsp + 0x20], rax
mov rcx, r14
call fcn.140019760
mov rsi, qword [rsp + 0x50]
jmp 0x14002e215
mov eax, 0xffffffec
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400353c0
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rbp
ret