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

Disassembly:
mov eax, 0x28
call fcn.101b79b0
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
movzx edx, byte [edi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
shl edx, 0x10
add eax, 1
shl ecx, 0x18
or ecx, edx
xor edx, edx
mov dh, byte [eax - 1]
add eax, 1
movzx ebx, byte [eax + 1]
add eax, 1
add eax, 1
or ecx, edx
movzx edx, byte [eax - 3]
or ecx, edx
movzx edx, byte [eax - 2]
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
xor ebx, ebx
mov bh, byte [eax]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x2f], cl
mov bl, byte [eax + 1]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2d], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
cmp dword [esp + 0x44], 0
mov dword [esp + 0x20], edx
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x1013b455
mov ebx, dword [esp + 0x3c]
sub dword [esp + 0x18], 1
test esi, esi
jne 0x1013b3b9
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.1013a4a0
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x34], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov byte [esp + 0x35], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
add esp, 8
add dword [esp + 0x10], 1
mov byte [esp + 0x2f], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
xor al, byte [ebx]
add esi, 1
mov byte [ebp], al
add ebp, 1
add ebx, 1
and esi, 7
cmp dword [esp + 0x18], 0
jne 0x1013b353
cmp dword [esp + 0x10], 0
je 0x1013b43c
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x28]
mov ebx, ecx
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
add eax, 1
shr ebx, 8
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov ecx, edx
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
add eax, 1
shr ecx, 0x10
mov byte [eax], cl
add eax, 1
mov ecx, edx
shr ecx, 8
mov byte [eax], cl
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101b40e2
add esp, 0x28
ret
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101b40e2
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b40e2
add esp, 0x28
ret
Function at 0x1013c6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.101b79b0
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
xor edx, edx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov dh, byte [edi + 1]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
add eax, 1
xor ebx, ebx
mov bh, byte [eax]
add eax, 1
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x2c], cl
mov dword [esp + 0x10], 0
or edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
mov bl, byte [eax]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ebx, 0x10
or edx, ebx
mov ebx, ecx
shr ecx, 0x18
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [esp + 0x44], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x1013c881
sub dword [esp + 0x18], 1
test esi, esi
jne 0x1013c7dd
mov ecx, dword [esp + 0x24]
push 1
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.10124540
mov ebx, dword [esp + 0x28]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x3c], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 0xc
add dword [esp + 0x10], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax]
add esi, 1
mov byte [ebp], cl
add eax, 1
add ebp, 1
and esi, 7
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
jne 0x1013c777
cmp dword [esp + 0x10], 0
je 0x1013c868
mov eax, dword [esp + 0x28]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
add eax, 1
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101b40e2
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101b40e2
add esp, 0x28
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b40e2
add esp, 0x28
ret
Function at 0x1013e790
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
cmp ebp, 2
push esi
mov esi, ecx
je 0x1013e80f
test eax, eax
je 0x1013e7db
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0
call fcn.10113990
add esp, 0x10
cmp dword [esp + 0x18], 0xffffffff
je 0x1013e7db
push 0x3b
push str.cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.100dc5a0
add esp, 0x14
pop esi
xor eax, eax
pop ebp
ret
cmp dword [esp + 0x14], 0
je 0x1013e80b
cmp edi, 0x40a
je 0x1013e802
cmp edi, 0x43f
je 0x1013e802
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1013e807
mov eax, 0x20
cmp esi, eax
je 0x1013e80f
push 0x41
jmp 0x1013e7c0
push ebx
push 0x46
push str.cryptoececx_meth.c
push 0x40
call fcn.100de190
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1013e845
push 0x48
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.100dc5a0
add esp, 0x14
pop ebx
pop esi
xor eax, eax
pop ebp
ret
test ebp, ebp
jne 0x1013e85d
mov ecx, dword [esp + 0x18]
push esi
push ecx
push ebx
call fcn.101b4f90
add esp, 0xc
jmp case.0x1013e98e.1036
cmp edi, 0x40a
je 0x1013e87d
cmp edi, 0x43f
je 0x1013e87d
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1013e882
mov eax, 0x20
push 0x50
push str.cryptoececx_meth.c
push eax
call fcn.100ea7d0
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [ebx + 0x3c], esi
jne 0x1013e8b5
push 0x52
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.100dc5a0
add esp, 0x14
jmp 0x1013e908
cmp ebp, 2
jne 0x1013e948
cmp edi, 0x40a
je 0x1013e8de
cmp edi, 0x43f
je 0x1013e8de
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1013e8e3
mov eax, 0x20
push eax
push esi
call fcn.100da370
add esp, 8
test eax, eax
jg 0x1013e91e
push 0x57
push str.cryptoececx_meth.c
push esi
call fcn.100ea7f0
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.cryptoececx_meth.c
push ebx
call fcn.100de200
add esp, 0xc
pop ebx
pop esi
xor eax, eax
pop ebp
ret
cmp edi, 0x40a
jne 0x1013e937
mov dl, byte [esi + 0x1f]
and byte [esi], 0xf8
and dl, 0x3f
or dl, 0x40
mov byte [esi + 0x1f], dl
jmp 0x1013e97c
cmp edi, 0x40b
jne 0x1013e97c
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x1013e97c
cmp edi, 0x40a
je 0x1013e968
cmp edi, 0x43f
je 0x1013e968
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x1013e96d
mov eax, 0x20
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call fcn.101b4f90
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x1013e98e.1036
movzx ecx, byte [eax + 0x1013e9e8]
jmp dword [ecx*4 + 0x1013e9d4]
push esi
push ebx
call fcn.10173b20
jmp 0x1013e9b7
push esi
push ebx
call fcn.10173a50
jmp 0x1013e9b7
push esi
push ebx
call fcn.101668b0
jmp 0x1013e9b7
push esi
push ebx
call fcn.10164be0
add esp, 8
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
call fcn.100d3aa0
add esp, 0xc
pop ebx
pop esi
mov eax, 1
pop ebp
ret
Function at 0x10146780
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.101b79b0
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, edx
push ebp
mov esi, 1
push eax
mov ebx, ecx
shl esi, cl
mov dword [esp + 0x18], edi
call fcn.100d4aa0
add esp, 8
test eax, eax
jne 0x101467bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x10146829
xor ebx, ebx
test ebp, ebp
jle 0x10146994
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x10146809
jmp 0x101467e0
mov eax, ecx
xor eax, dword [esp + 0x44]
add ecx, 1
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
mov eax, dword [edi + ecx*4 - 4]
neg ebp
and ebp, 1
neg ebp
and ebp, eax
or edx, ebp
cmp ecx, esi
jl 0x101467e0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [eax + ebx*4], edx
lea eax, [esi*4]
add ebx, 1
add edi, eax
cmp ebx, dword [esp + 0x40]
jl 0x101467d0
jmp 0x10146994
mov edx, dword [esp + 0x44]
lea ecx, [ebx - 2]
mov eax, edx
sar eax, cl
mov edi, 1
shl edi, cl
lea ebx, [eax - 1]
shr ebx, 0x1f
lea ecx, [edi - 1]
and edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
not edx
shr edx, 0x1f
and ebx, edx
mov ecx, eax
xor ecx, 1
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ebp, [ecx - 1]
not ecx
shr ecx, 0x1f
shr ebp, 0x1f
and ebp, ecx
xor eax, 3
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ebx
neg edx
neg ebp
neg ecx
and ebx, 1
and edx, 1
and ebp, 1
and ecx, 1
xor eax, eax
neg edx
neg ebp
neg ecx
neg ebx
cmp dword [esp + 0x40], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jle 0x10146994
lea edx, [esi*4]
mov dword [esp + 0x34], edx
lea ebx, [ebx]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x20], esi
jle 0x1014696e
mov eax, dword [esp + 0x10]
lea edx, [eax + edi*4]
mov dword [esp + 0x1c], edx
lea edx, [eax + edi*8]
mov dword [esp + 0x18], edx
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
and edx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, ebp
or ecx, edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
and edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
or edx, ecx
mov eax, esi
xor eax, dword [esp + 0x44]
add esi, 1
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4 - 4]
neg ecx
and ecx, 1
and eax, ebx
neg ecx
or eax, edx
and ecx, eax
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, 4
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
cmp esi, edi
jl 0x10146900
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x34]
add dword [esp + 0x10], edx
add eax, 1
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
jl 0x101468d0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x10149290
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
push ebx
mov esi, ecx
call fcn.100d3700
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, 0x72
mov eax, dword [esp + 0x14]
jne 0x1014938c
push ebp
push edi
mov ebx, esi
push eax
shr ebx, 1
and esi, 1
push ecx
lea ebp, [esi + ebx]
push ebp
push edx
call fcn.100f2c80
mov ecx, dword [esp + 0x30]
mov edx, eax
call fcn.10149030
add esp, 0x14
test eax, eax
je 0x1014930c
push 0x104
push str.cryptokdf_tls1_prf.c
push edi
call fcn.100de150
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10149312
push 0x105
push str.cryptokdf_tls1_prf.c
push 0x41
push 0x6f
push 0x34
call fcn.100dc5a0
add esp, 0x14
pop ebp
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edi
push eax
push ecx
add ebx, edx
push ebp
push ebx
call fcn.100dfd10
mov ecx, esi
mov edx, eax
call fcn.10149030
add esp, 0x14
test eax, eax
jne 0x10149354
push 0x10a
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.100de220
add esp, 0x10
pop ebp
pop esi
xor eax, eax
pop ebx
ret
test edi, edi
jbe 0x1014936f
mov eax, dword [esp + 0x1c]
mov ecx, esi
sub ecx, eax
mov ebp, edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
add eax, 1
sub ebp, 1
jne 0x10149362
push 0x10f
push str.cryptokdf_tls1_prf.c
push edi
push esi
call fcn.100de220
add esp, 0x10
pop ebp
pop esi
mov eax, 1
pop ebx
ret
push edi
push eax
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edx
mov edx, ebx
call fcn.10149030
add esp, 0x14
neg eax
sbb eax, eax
pop esi
neg eax
pop ebx
ret
Function at 0x10154df0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x10154eb7
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x10154e11
cmp al, 0x6b
jne 0x10154eb7
cmp al, 0x6b
lea edx, [ecx + 1]
jne 0x10154e7b
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x10154e35
mov al, byte [edx]
add edx, 1
cmp al, 0xba
je 0x10154e35
cmp al, 0xbb
jne 0x10154e5b
add ecx, 1
cmp ecx, esi
jl 0x10154e21
sub esi, ecx
test ecx, ecx
jne 0x10154e7e
push 0x50
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100dc5a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x48
push str.crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.100dc5a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x10154ea4
push 0x59
push str.crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.100dc5a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.101b4f90
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x3d
push str.crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.100dc5a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x101557f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
push esi
mov esi, edx
je 0x1015584b
test esi, esi
je 0x1015584b
push edi
mov edi, dword [ecx + 0x14]
cmp esi, edi
jae 0x1015580a
mov edi, esi
xor eax, eax
test edi, edi
jbe 0x1015581e
mov dl, byte [eax + ebp]
xor byte [ecx + eax + 0x18], dl
add eax, 1
cmp eax, edi
jb 0x10155810
mov eax, dword [ecx + 0x14]
cmp esi, eax
pop edi
jbe 0x1015584b
sub esi, eax
cmp esi, 0x10
jbe 0x10155832
mov esi, 0x10
xor eax, eax
test esi, esi
jbe 0x1015584b
mov edx, dword [ecx + 0x14]
add edx, eax
mov dl, byte [edx + ebp]
xor byte [ecx + eax + 0x38], dl
add eax, 1
cmp eax, esi
jb 0x10155838
pop esi
pop ebp
ret

Function at 0x10155850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
mov dword [esp + 0xc], 0x10
jle 0x10155876
push esi
mov eax, edi
sub ecx, edi
mov esi, ebp
mov dl, byte [ecx + eax]
xor byte [eax], dl
add eax, 1
sub esi, 1
jne 0x10155868
pop esi
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 8]
push ebp
push edi
lea eax, [esp + 0x14]
push eax
push edi
push edx
call fcn.100ecb70
add esp, 0x14
test eax, eax
je 0x1015589f
cmp dword [esp + 0xc], ebp
jne 0x1015589f
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10164d60
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
push ebp
lea ecx, [ebx + 0xc]
push esi
lea eax, [edx + 4]
sub ebx, edx
mov ebp, 4
mov esi, dword [eax - 4]
mov edx, dword [ecx - 0xc]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax - 4], esi
xor dword [ecx - 0xc], edx
mov esi, dword [eax]
mov edx, dword [ebx + eax]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax], esi
xor dword [ebx + eax], edx
mov esi, dword [eax + 4]
mov edx, dword [ecx - 4]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 4], esi
xor dword [ecx - 4], edx
mov esi, dword [eax + 8]
mov edx, dword [ecx]
xor edx, esi
and edx, edi
xor esi, edx
mov dword [eax + 8], esi
xor dword [ecx], edx
add eax, 0x10
add ecx, 0x10
sub ebp, 1
jne 0x10164d72
pop esi
pop ebp
pop ebx
ret
Function at 0x101735e0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x240
call fcn.101b79b0
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0x23c], eax
mov eax, dword [esp + 0x250]
push ebx
mov ebx, dword [esp + 0x248]
push ebp
mov ebp, dword [esp + 0x250]
push esi
mov esi, dword [esp + 0x260]
lea ecx, [esp + 0xb0]
push edi
push ecx
mov dword [esp + 0x14], eax
call fcn.101076b0
push 0x20
lea edx, [esp + 0xbc]
push esi
push edx
call fcn.10108680
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x1a0]
push ecx
call fcn.10107df0
mov dl, byte [esp + 0x1c3]
and byte [esp + 0x1a4], 0xf8
and dl, 0x3f
lea eax, [esp + 0xcc]
or dl, 0x40
push eax
mov byte [esp + 0x1c7], dl
call fcn.101076b0
push 0x20
lea ecx, [esp + 0x1cc]
push ecx
lea edx, [esp + 0xd8]
push edx
call fcn.10108680
mov eax, dword [esp + 0x284]
push eax
lea ecx, [esp + 0xe0]
push ebp
push ecx
call fcn.10108680
lea edx, [esp + 0xe8]
push edx
lea eax, [esp + 0x204]
push eax
call fcn.10107df0
lea esi, [esp + 0x208]
call fcn.1016ce00
mov ecx, esi
lea edx, [esp + 0x50]
call fcn.1016b370
lea edi, [esp + 0x50]
mov esi, ebx
call fcn.1016a7c0
lea ecx, [esp + 0xf0]
push ecx
call fcn.101076b0
add esp, 0x40
push 0x20
lea edx, [esp + 0xb8]
push ebx
push edx
call fcn.10108680
mov eax, dword [esp + 0x1c]
push 0x20
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.10108680
mov edx, dword [esp + 0x274]
push edx
lea eax, [esp + 0xd0]
push ebp
push eax
call fcn.10108680
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x234]
push edx
call fcn.10107df0
lea esi, [esp + 0x238]
call fcn.1016ce00
mov eax, esi
push eax
add ebx, 0x20
push ebx
lea edx, [esp + 0x200]
lea ecx, [esp + 0x1c0]
call fcn.1016f030
lea ecx, [esp + 0xe8]
push 0xd8
push ecx
call fcn.100f9f20
lea edx, [esp + 0x208]
push 0x40
push edx
call fcn.100f9f20
add esp, 0x44
lea eax, [esp + 0x18c]
push 0x40
push eax
call fcn.100f9f20
mov ecx, dword [esp + 0x254]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.101b40e2
add esp, 0x240
ret

Function at 0x10173a50
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0xe4
call fcn.101b79b0
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xec]
push esi
mov esi, dword [esp + 0xec]
push edi
lea ecx, [esp + 0xa8]
push ecx
push 0x20
push eax
call fcn.101087a0
mov dl, byte [esp + 0xd3]
and byte [esp + 0xb4], 0xf8
and dl, 0x3f
or dl, 0x40
mov byte [esp + 0xd3], dl
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x14]
call fcn.1016b370
lea edi, [esp + 0x14]
call fcn.1016a7c0
lea eax, [esp + 0xb4]
push 0x40
push eax
call fcn.100f9f20
mov ecx, dword [esp + 0xfc]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.101b40e2
add esp, 0xe4
ret
Function at 0x10173b20
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x140
call fcn.101b79b0
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
push edi
mov ecx, 8
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148]
and byte [esp + 0x12c], 0xf8
shr ecx, 0x18
and cl, 0x3f
or cl, 0x40
mov byte [esp + 0x14b], cl
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x64]
mov dword [esp + 0x10], eax
call fcn.1016b370
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
add edx, eax
sub eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x90]
add edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xbc]
add esi, edx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0xc0]
add edi, esi
sub ecx, dword [esp + 0x90]
sub edx, dword [esp + 0x94]
sub esi, dword [esp + 0x98]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xc4]
add ebx, edi
sub edi, dword [esp + 0x9c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0xc8]
add ebx, ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xa0]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0xcc]
add ebx, ebp
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xcc]
sub eax, dword [esp + 0xa4]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0xd0]
add ebx, ebp
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xa8]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xd4]
add ebx, ebp
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xd4]
add ebp, ebx
sub eax, dword [esp + 0xac]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], eax
sub ebx, dword [esp + 0xb0]
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x64], ebx
call fcn.101693a0
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edx
call fcn.10167120
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.10166dc0
lea ecx, [esp + 0x13c]
push 0x20
push ecx
call fcn.100f9f20
mov ecx, dword [esp + 0x164]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b40e2
add esp, 0x140
ret
Function at 0x1017e780
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x1017e799
mov esi, edi
mov edi, eax
jmp 0x1017e79b
mov esi, eax
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x10]
push edx
push ebx
call fcn.100d4aa0
add esp, 8
test eax, eax
jne 0x1017e7b4
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x1017e7d7
jmp 0x1017e7c0
mov ecx, dword [edi]
mov edx, dword [esi]
mov ecx, dword [ecx + eax*4]
xor ecx, dword [edx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [edi + 4]
jl 0x1017e7c0
cmp eax, dword [esi + 4]
jge 0x1017e7f2
lea esp, [esp]
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [esi + 4]
jl 0x1017e7e0
mov edx, dword [esi + 4]
push ebx
mov dword [ebx + 4], edx
call fcn.100d4530
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret