joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14028dc10
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 1
mov rdi, rcx
call fcn.1401d4760
mov rdx, rax
mov rcx, rdi
mov rsi, rax
call fcn.1401d4910
test rax, rax
je 0x14028dc7d
mov qword [rsp + 0x30], rbx
mov r8d, esi
xor ebx, ebx
mov rdx, rax
xor ecx, ecx
lea r9d, [rbx + 2]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
mov rcx, rdi
cmove rbx, rsi
mov rdx, rbx
lea r8, [rbx*8]
call fcn.1401d49a0
mov rcx, rdi
call fcn.1401d4740
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x14028dc85
mov rcx, rdi
call fcn.1401d4740
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1402966c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1402966cb
xor eax, eax
ret
lea r11, [0x1403be6c0]
not ecx
cmp r8d, 8
jb 0x1402967a1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1402966f0
test r8d, r8d
je 0x1402967cd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1402967b0
not ecx
mov eax, ecx
ret
Function at 0x14029b800
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x14029b855
xor ebx, ebx
lea r9, [0x140400fb1]
mov edx, 0x8a
mov dword [rsp + 0x20], ebx
lea ecx, [rbx + 0x20]
lea r8d, [rdx - 3]
call fcn.1401d6370
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov edx, edi
mov qword [rsp + 0x48], rsi
shr edx, 3
mov ecx, ebx
and edx, 1
call fcn.140239d00
test eax, eax
je 0x14029b8d8
mov rsi, rbx
test dil, 4
je 0x14029b8ef
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14029b8ef
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ebx, ebx
lea r9, [0x140400fb1]
mov r8d, eax
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 0xe]
lea ecx, [rbx + 2]
call fcn.1401d6370
mov edx, 0x8a
mov dword [rsp + 0x20], ebx
lea r9, [0x140400fb1]
lea ecx, [rbx + 0x20]
lea r8d, [rdx - 1]
call fcn.1401d6370
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test dil, 0x10
je 0x14029b951
mov edx, 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14029b951
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ebx, ebx
lea r9, [0x140400fb1]
mov r8d, eax
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 0xe]
lea ecx, [rbx + 2]
call fcn.1401d6370
mov edx, 0x8a
mov dword [rsp + 0x20], ebx
mov r8d, edx
lea r9, [0x140400fb1]
lea ecx, [rbx + 0x20]
jmp 0x14029b8d3
mov rcx, rbp
call fcn.14023a360
mov rcx, rbp
mov ebx, eax
call fcn.140187820
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14029b9c4
mov ecx, eax
call fcn.1402610d0
test eax, eax
jne 0x14029b8d8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 2
lea r9, [0x140400fb1]
xor ebx, ebx
mov ecx, edx
mov r8d, eax
mov dword [rsp + 0x20], ebx
call fcn.1401d6370
lea r9, [0x140400fb1]
mov dword [rsp + 0x20], ebx
mov edx, 0x8a
lea ecx, [rbx + 0x20]
lea r8d, [rbx + 0x67]
jmp 0x14029b8d3
mov eax, 1
jmp 0x14029b8da
Function at 0x1402a5580
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x40
movsxd rbx, dword [rsp + 0x80]
xor esi, esi
cmp dword [rsp + 0x88], 2
mov r15, r9
mov edi, edx
mov r13, rcx
lea r14d, [rsi + 0x20]
je 0x1402a5628
test r8, r8
je 0x1402a55fc
mov r9, r8
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call fcn.140258550
cmp dword [rsp + 0x30], 0xffffffff
je 0x1402a55fc
mov ecx, reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], esi
lea r9, [0x140400fb1]
mov edx, 0x10a
lea r8d, [rcx + 0x56]
call fcn.1401d6370
xor eax, eax
jmp 0x1402a5787
test r15, r15
je 0x1402a55d7
cmp edi, 0x40a
je 0x1402a5621
cmp edi, 0x43f
je 0x1402a5621
cmp edi, 0x40b
mov eax, esi
setne al
add eax, 0x38
jmp 0x1402a5624
mov eax, r14d
cmp ebx, eax
jne 0x1402a55d7
xor r8d, r8d
mov qword [rsp + 0x60], rbp
lea rdx, [0x140400fb1]
lea ecx, [r8 + 0x48]
call fcn.1401b7ee0
mov rbp, rax
test rax, rax
jne 0x1402a566b
lea r9, [0x140400fb1]
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1401d6370
xor eax, eax
jmp 0x1402a5782
cmp dword [rsp + 0x88], esi
jne 0x1402a5687
mov r8, rbx
mov rdx, r15
mov rcx, rbp
call fcn.140373e60
jmp 0x1402a5770
cmp edi, 0x40a
je 0x1402a56a9
cmp edi, 0x43f
je 0x1402a56a9
cmp edi, 0x40b
mov rcx, rsi
setne cl
add rcx, 0x38
jmp 0x1402a56ac
mov rcx, r14
xor r8d, r8d
lea rdx, [0x140400fb1]
call fcn.14023aa40
mov qword [rbp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x1402a56e5
lea r9, [0x140400fb1]
mov dword [rsp + 0x20], esi
mov edx, 0x10a
lea ecx, [rax + 0x10]
lea r8d, [rax + 0x41]
call fcn.1401d6370
jmp 0x1402a5739
cmp dword [rsp + 0x88], 2
jne 0x1402a57bd
cmp edi, 0x40a
je 0x1402a5714
cmp edi, 0x43f
je 0x1402a5714
cmp edi, 0x40b
mov r14d, esi
setne r14b
add r14d, 0x38
mov edx, r14d
mov rcx, rbx
call fcn.1401d3e20
test eax, eax
jg 0x1402a574f
xor r8d, r8d
lea rdx, [0x140400fb1]
mov rcx, rbx
call fcn.14023aa60
mov qword [rbp + 0x40], rsi
xor r8d, r8d
lea rdx, [0x140400fb1]
mov rcx, rbp
call fcn.1401b7dd0
xor eax, eax
jmp 0x1402a5782
cmp edi, 0x40a
jne 0x1402a57a1
movzx eax, byte [rbx + 0x1f]
and byte [rbx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rbx + 0x1f], al
mov rdx, rbx
mov rcx, rbp
call fcn.1402f94f0
mov r8, rbp
mov edx, edi
mov rcx, r13
call fcn.1401c12e0
mov eax, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
cmp edi, 0x40b
jne 0x1402a57ee
and byte [rbx], 0xfc
or byte [rbx + 0x37], 0x80
mov rdx, rbx
mov rcx, rbp
call fcn.140302fc0
jmp 0x1402a5770
cmp edi, 0x40a
je 0x1402a57dd
cmp edi, 0x43f
je 0x1402a57dd
cmp edi, 0x40b
setne sil
add rsi, 0x38
jmp 0x1402a57e0
mov rsi, r14
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.140373e60
mov ecx, edi
sub ecx, 0x40a
je 0x1402a5765
sub ecx, 1
je 0x1402a57b0
sub ecx, 0x34
je 0x1402a581f
cmp ecx, 1
jne 0x1402a5770
mov rdx, rbx
mov rcx, rbp
call fcn.140304c50
jmp 0x1402a5770
mov rdx, rbx
mov rcx, rbp
call fcn.1402f93b0
jmp 0x1402a5770
Function at 0x1402b39d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x68
mov ebp, dword [rsp + 0xc0]
mov r13, rcx
mov ecx, ebp
movsxd r14, edx
mov ebx, 1
mov edx, r14d
shl ebx, cl
mov esi, r9d
mov rcx, r13
mov rdi, r8
call fcn.1401bc870
test rax, rax
jne 0x1402b3a23
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x48], r14
mov r11, r14
cmp ebp, 3
jg 0x1402b3a95
test r14d, r14d
jle 0x1402b3c4c
xor r10d, r10d
movsxd rbp, ebx
shl rbp, 3
xor r9d, r9d
xor eax, eax
test ebx, ebx
jle 0x1402b3a7d
mov r8, rdi
nop
mov edx, eax
lea r8, [r8 + 8]
xor edx, esi
inc eax
lea ecx, [rdx - 1]
not edx
shr edx, 0x1f
shr ecx, 0x1f
and edx, ecx
mov rcx, qword [r8 - 8]
neg edx
and edx, 1
neg rdx
and rdx, rcx
or r9, rdx
cmp eax, ebx
jl 0x1402b3a50
mov rax, qword [r13]
add rdi, rbp
mov qword [rax + r10*8], r9
inc r10
cmp r10, r14
jl 0x1402b3a43
jmp 0x1402b3c4c
lea ecx, [rbp - 2]
mov edx, esi
sar edx, cl
mov r8d, 1
shl r8d, cl
movsxd rbp, r8d
lea ecx, [rdx - 1]
shr ecx, 0x1f
lea eax, [r8 - 1]
and esi, eax
mov eax, edx
not eax
shr eax, 0x1f
and eax, ecx
mov ecx, edx
neg eax
xor ecx, 1
and eax, 1
neg rax
mov qword [rsp + 0x30], rax
lea eax, [rcx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and eax, ecx
mov ecx, edx
xor ecx, 2
neg eax
and eax, 1
xor edx, 3
neg rax
mov qword [rsp + 0x38], rax
lea eax, [rcx - 1]
not ecx
shr ecx, 0x1f
shr eax, 0x1f
and eax, ecx
lea ecx, [rdx - 1]
shr ecx, 0x1f
neg eax
and eax, 1
not edx
shr edx, 0x1f
neg rax
and ecx, edx
mov qword [rsp + 0x40], rax
neg ecx
and ecx, 1
neg rcx
mov qword [rsp + 0x28], rcx
test r14d, r14d
jle 0x1402b3c4c
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x60], r15
xor r15d, r15d
movsxd rax, ebx
shl rax, 3
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], r15
nop
xor ebx, ebx
xor r10d, r10d
test rbp, rbp
jle 0x1402b3c0e
mov r13, qword [rsp + 0x30]
mov rax, rbp
mov r15, qword [rsp + 0x38]
neg rax
mov r9, rbp
mov r11, rbp
shl r9, 4
neg r11
add r9, rdi
mov r14, rbp
mov rdi, qword [rsp + 0x40]
lea r12, [rax*8]
add r11, r11
mov rax, qword [r9 + rbp*8]
lea r9, [r9 + 8]
and rax, rcx
mov r8d, r10d
mov rcx, qword [r9 - 8]
xor r8d, esi
mov rdx, qword [r12 + r9 - 8]
and rcx, rdi
or rcx, rax
and rdx, r15
mov rax, qword [r9 + r11*8 - 8]
or rdx, rcx
lea ecx, [r8 - 1]
and rax, r13
shr ecx, 0x1f
or rax, rdx
not r8d
inc r10d
shr r8d, 0x1f
and ecx, r8d
neg ecx
and ecx, 1
neg rcx
and rcx, rax
or rbx, rcx
mov rcx, qword [rsp + 0x28]
sub r14, 1
jne 0x1402b3b91
mov rdi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [r13]
add rdi, rax
mov qword [rsp + 0xb0], rdi
mov qword [rcx + r15*8], rbx
inc r15
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x20], r15
cmp r15, r11
jl 0x1402b3b50
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0xb8]
mov r14d, dword [rsp + 0xa8]
mov dword [r13 + 8], r14d
mov eax, 1
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402b6470
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 0x38
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x1402b6548
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1402b6548
lea rdx, [r8 + 1]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
cmp r10b, 0x6b
jne 0x1402b64f8
lea ebx, [r9 - 3]
mov eax, r8d
test ebx, ebx
jle 0x1402b64c6
nop
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1402b64c6
cmp cl, 0xbb
jne 0x1402b64cc
inc eax
cmp eax, ebx
jl 0x1402b64b0
sub ebx, eax
test eax, eax
jne 0x1402b64fc
mov edx, 0x80
mov dword [rsp + 0x20], r8d
lea r9, [0x140400fb1]
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.1401d6370
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x38
ret
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1402b6531
mov edx, 0x80
mov dword [rsp + 0x20], r8d
lea r9, [0x140400fb1]
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.1401d6370
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.140373e60
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
lea r9, [0x140400fb1]
xor r8d, r8d
mov dword [rsp + 0x20], r8d
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.1401d6370
mov eax, 0xffffffff
add rsp, 0x38
ret

Function at 0x1402c0780
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 8
xor r11d, r11d
test rcx, rcx
je 0x1402c0799
test byte [rcx + 0x5c], 2
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x1402c07a0
lea r10, [0x1403c8530]
test r9d, r9d
jle 0x1402c088d
inc r8
mov qword [rsp], rbx
movzx eax, byte [r8 - 1]
cmp r9d, 3
jb 0x1402c0810
mov ecx, eax
movzx eax, byte [r8]
shl rcx, 8
or rcx, rax
movzx eax, byte [r8 + 1]
shl rcx, 8
or rcx, rax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [rdx], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [rdx + 1], al
mov rax, rcx
shr rax, 6
and eax, 0x3f
and ecx, 0x3f
movzx eax, byte [rax + r10]
mov byte [rdx + 2], al
movzx ecx, byte [rcx + r10]
jmp 0x1402c085f
mov ecx, eax
shl ecx, 0x10
cmp r9d, 2
jne 0x1402c0824
movzx eax, byte [r8]
shl eax, 8
or ecx, eax
mov rax, rcx
shr rax, 0x12
movzx eax, byte [rax + r10]
mov byte [rdx], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [rdx + 1], al
cmp r9d, 1
jne 0x1402c084e
mov al, 0x3d
jmp 0x1402c085a
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + r10]
mov byte [rdx + 2], al
mov cl, 0x3d
lea rax, [rdx + 3]
add r11d, 4
lea rdx, [rax + 1]
mov byte [rax], cl
add r8, 3
sub r9d, 3
test r9d, r9d
jg 0x1402c07b0
mov rbx, qword [rsp]
mov eax, r11d
mov byte [rdx], 0
add rsp, 8
ret
mov byte [rdx], r11b
mov eax, r11d
add rsp, 8
ret
Function at 0x1402cce50
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xd8
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, qword [rdx + 8]
xor esi, esi
mov r15, qword [rdx + 0x10]
mov rax, r12
sub rax, r8
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rdi, r8
mov r13, rdx
mov ebp, esi
cmp r15, r8
jb 0x1402cd026
cmp r8, 0x40
ja 0x1402cd026
lea rax, [rsp + 0x40]
mov qword [r11 + 0x10], rbx
neg rax
mov qword [r11 - 0x38], r14
and eax, 0x3f
lea r14, [rsp + 0x40]
add r14, rax
lea rax, [r8 + 0x100]
cmp r15, rax
jbe 0x1402ccede
mov rbp, r15
sub rbp, r8
sub rbp, 0x100
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, r14
mov rbx, rsi
call fcn.140374500
mov r9, rsi
cmp rbp, r15
jae 0x1402ccf97
mov r11, qword [r13 + 0x20]
mov r10, qword [rsp + 0x28]
lea r13, [r11 + r12]
nop dword [rax]
lea rdx, [r11 + rbp]
mov rax, rbp
xor rax, r10
mov rcx, rdx
sub rcx, r13
xor rcx, r12
lea r8, [rax - 1]
not rax
shr rax, 0x3f
shr r8, 0x3f
and r8, rax
mov rax, rbp
xor rax, r12
neg r8
or rcx, rax
mov rax, r8
xor rcx, rbp
or rax, rsi
shr rcx, 0x3f
and r8, r9
neg rcx
or rbx, r8
mov rsi, rcx
inc rbp
and rsi, rax
movzx eax, byte [rdx]
and al, sil
or byte [r9 + r14], al
inc r9
mov rcx, r9
mov rax, rdi
sub rcx, rdi
xor rax, r9
xor rcx, rdi
or rcx, rax
xor rcx, r9
shr rcx, 0x3f
neg rcx
and r9, rcx
cmp rbp, r15
jb 0x1402ccf10
xor esi, esi
test rdi, rdi
je 0x1402cd00f
mov r9, qword [rsp + 0x30]
mov rax, rbx
and rax, 0xffffffffffffffdf
movzx r8d, byte [rax + r14]
mov rax, rbx
or rax, 0x20
movzx edx, byte [rax + r14]
mov eax, ebx
and eax, 0x20
inc rbx
dec eax
shr eax, 0x1f
neg al
movzx eax, al
mov dword [rsp + 0x28], eax
not eax
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
and cl, dl
and al, r8b
or al, cl
mov rcx, rbx
sub rcx, rdi
mov byte [r9 + rsi], al
xor rcx, rdi
mov rax, rdi
xor rax, rbx
inc rsi
or rcx, rax
xor rcx, rbx
shr rcx, 0x3f
neg rcx
and rbx, rcx
cmp rsi, rdi
jb 0x1402ccfa1
mov r14, qword [rsp + 0xd0]
mov eax, 1
mov rbx, qword [rsp + 0x118]
jmp 0x1402cd028
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14016e5c0
add rsp, 0xd8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402cd050
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 8]
lea rsi, [r9 + 1]
mov rbx, rdx
mov rdx, qword [rdx + 8]
mov r9, qword [rax + 0xc0]
test byte [r9 + 0x60], 1
je 0x1402cd0df
lea rax, [rsi + r8]
cmp rax, rdx
ja 0x1402cd0e4
add qword [rbx + 0x20], r8
sub rdx, r8
add qword [rbx + 0x28], r8
sub qword [rbx + 0x10], r8
mov qword [rbx + 8], rdx
mov rax, qword [rbx + 0x20]
mov rcx, qword [rcx + 0x438]
mov qword [rsp + 0x38], rdi
movzx edi, byte [rdx + rax - 1]
call fcn.14017a9b0
mov rcx, rax
call fcn.1401c63c0
mov rdx, qword [rbx + 8]
and eax, 0x200000
je 0x1402cd0f1
sub rdx, rdi
mov eax, 1
mov rdi, qword [rsp + 0x38]
dec rdx
mov qword [rbx + 8], rdx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
cmp rsi, rdx
jbe 0x1402cd093
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
lea rcx, [rdi + rsi]
mov r8, rdx
sub r8, rcx
mov esi, 0x100
xor r8, rcx
mov rax, rdx
xor rax, rcx
or r8, rax
xor r8, rdx
shr r8, 0x3f
dec r8
cmp rdx, rsi
cmovb rsi, rdx
xor r9d, r9d
test rsi, rsi
je 0x1402cd17a
mov r10, qword [rbx + 0x20]
mov r11, rdi
shr r11, 0x3f
dec r10
add r10, rdx
nop word [rax + rax]
mov rax, r9
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rdi
sub rcx, r9
inc r9
shr rcx, 0x3f
xor cl, al
xor al, r11b
or cl, al
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rdi
and rdx, rcx
not rdx
and r8, rdx
cmp r9, rsi
jb 0x1402cd140
lea rax, [rdi + 1]
not r8
mov rdi, qword [rsp + 0x38]
movzx ecx, r8b
dec rcx
shr rcx, 0x3f
neg rcx
and rax, rcx
sub qword [rbx + 8], rax
mov rbx, qword [rsp + 0x40]
mov dword [rsp + 0x30], ecx
not ecx
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x48]
and ecx, 1
or eax, ecx
add rsp, 0x20
pop rsi
ret
Function at 0x1402ddec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, qword [rbp + 0x60]
mov rdi, rcx
mov r13, qword [rbp + 0x68]
mov esi, r8d
mov qword [rbp - 0x28], r9
mov r12, rdx
xor r15d, r15d
mov qword [rbp - 0x20], r13
movzx r8d, byte [r14 + 3]
movzx edx, byte [r14 + 7]
movzx eax, byte [r14 + 1]
mov ecx, edx
movzx r10d, byte [r14]
movzx r9d, byte [r14 + 4]
mov ebx, dword [r13]
shl eax, 8
or r10d, eax
shl ecx, 8
movzx eax, byte [r14 + 2]
shl eax, 0x10
or r10d, eax
mov byte [rbp - 0x15], r8b
mov eax, r8d
mov byte [rbp - 0x11], dl
shl eax, 0x18
or r10d, eax
movzx eax, byte [r14 + 5]
shl eax, 8
or r9d, eax
mov dword [rbp - 0x30], r10d
movzx eax, byte [r14 + 6]
or ecx, eax
mov byte [rbp - 0x18], r10b
mov eax, ecx
mov byte [rbp - 0x12], cl
shl eax, 0x10
or r9d, eax
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x16], al
mov eax, r9d
shr eax, 8
mov dword [rbp - 0x2c], r9d
mov byte [rbp - 0x14], r9b
mov byte [rbp - 0x13], al
test esi, esi
je 0x1402de06f
mov r13, qword [rbp - 0x28]
sub r12, rdi
movzx edx, r9b
movzx r8d, r10b
dec esi
test ebx, ebx
jne 0x1402de009
lea r8d, [rbx + 1]
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.1402da660
mov r10d, dword [rbp - 0x30]
mov eax, r10d
mov r9d, dword [rbp - 0x2c]
movzx r8d, byte [rbp - 0x30]
movzx edx, byte [rbp - 0x2c]
shr eax, 8
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x16], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0x15], al
mov eax, r9d
shr eax, 8
mov byte [rbp - 0x13], al
mov eax, r9d
shr eax, 0x10
mov byte [rbp - 0x12], al
mov eax, r9d
shr eax, 0x18
mov byte [rbp - 0x11], al
inc r15d
mov byte [rbp - 0x18], r8b
mov byte [rbp - 0x14], dl
movsxd rax, ebx
movzx ecx, byte [rbp + rax - 0x18]
xor cl, byte [rdi]
mov byte [rdi + r12], cl
inc rdi
inc ebx
and ebx, 7
test esi, esi
jne 0x1402ddfa2
mov r13, qword [rbp - 0x20]
test r15d, r15d
je 0x1402de06f
mov eax, r10d
mov byte [r14], r8b
shr eax, 8
mov byte [r14 + 1], al
mov eax, r10d
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, r9d
shr eax, 8
mov byte [r14 + 5], al
mov eax, r9d
shr eax, 0x10
shr r10d, 0x18
shr r9d, 0x18
mov byte [r14 + 7], r9b
mov byte [r14 + 3], r10b
mov byte [r14 + 4], dl
mov byte [r14 + 6], al
mov dword [r13], ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14016e5c0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402deca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, qword [rsp + 0xd0]
mov r13, r9
mov rax, qword [rsp + 0xc0]
mov rdi, rcx
mov rcx, qword [rsp + 0xc8]
mov esi, r8d
mov r12, qword [rsp + 0xd8]
mov r15, rdx
movzx r8d, byte [r14 + 3]
xor ebp, ebp
movzx edx, byte [r14 + 7]
movzx r9d, byte [r14]
movzx r10d, byte [r14 + 4]
mov ebx, dword [r12]
mov qword [rsp + 0x28], rax
movzx eax, byte [r14 + 1]
shl eax, 8
or r9d, eax
mov qword [rsp + 0x30], rcx
movzx eax, byte [r14 + 2]
mov ecx, edx
shl eax, 0x10
or r9d, eax
shl ecx, 8
mov eax, r8d
mov qword [rsp + 0x38], r14
shl eax, 0x18
or r9d, eax
mov qword [rsp + 0x40], r12
movzx eax, byte [r14 + 5]
shl eax, 8
or r10d, eax
mov dword [rsp + 0x20], r9d
movzx eax, byte [r14 + 6]
or ecx, eax
mov byte [rsp + 0x48], r9b
mov eax, ecx
mov byte [rsp + 0x4b], r8b
shl eax, 0x10
or r10d, eax
mov byte [rsp + 0x4e], cl
mov eax, r9d
mov dword [rsp + 0x24], r10d
shr eax, 8
mov byte [rsp + 0x49], al
mov eax, r9d
shr eax, 0x10
mov byte [rsp + 0x4a], al
mov eax, r10d
shr eax, 8
mov byte [rsp + 0x4c], r10b
mov byte [rsp + 0x4d], al
mov byte [rsp + 0x4f], dl
test esi, esi
je 0x1402dee86
mov r12, qword [rsp + 0x28]
sub r15, rdi
mov r14, qword [rsp + 0x30]
nop
dec esi
test ebx, ebx
jne 0x1402dee1b
mov r9, r14
lea rcx, [rsp + 0x20]
mov r8, r12
mov rdx, r13
call fcn.1402dcc10
mov r9d, dword [rsp + 0x20]
mov eax, r9d
mov r10d, dword [rsp + 0x24]
shr eax, 8
mov byte [rsp + 0x49], al
mov eax, r9d
shr eax, 0x10
mov byte [rsp + 0x4a], al
mov eax, r9d
shr eax, 0x18
mov byte [rsp + 0x4b], al
mov eax, r10d
shr eax, 8
mov byte [rsp + 0x4d], al
mov eax, r10d
shr eax, 0x10
mov byte [rsp + 0x4e], al
mov eax, r10d
shr eax, 0x18
mov byte [rsp + 0x4f], al
inc ebp
mov byte [rsp + 0x48], r9b
mov byte [rsp + 0x4c], r10b
movsxd rax, ebx
movzx ecx, byte [rsp + rax + 0x48]
xor cl, byte [rdi]
mov byte [rdi + r15], cl
inc rdi
inc ebx
and ebx, 7
test esi, esi
jne 0x1402dedb0
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
test ebp, ebp
je 0x1402dee86
mov eax, r9d
mov byte [r14], r9b
shr eax, 8
mov byte [r14 + 1], al
mov eax, r9d
shr eax, 0x10
mov byte [r14 + 2], al
mov eax, r10d
shr eax, 8
mov byte [r14 + 5], al
mov eax, r10d
shr eax, 0x10
shr r9d, 0x18
mov byte [r14 + 4], r10b
shr r10d, 0x18
mov byte [r14 + 7], r10b
mov byte [r14 + 3], r9b
mov byte [r14 + 6], al
mov dword [r12], ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14016e5c0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret