joyce8/EMBER2024-capa huggingface dataset:
Function at 0x587390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x10
xor ecx, ecx
test edx, edx
je 0x587465
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
cmp edx, 0x20
jb 0x587443
lea eax, [ebx - 1]
add eax, edx
cmp esi, eax
ja 0x5873ca
lea eax, [esi - 1]
add eax, edx
cmp eax, ebx
jae 0x587443
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0x5873dc
lea eax, [esi - 1]
add eax, edx
cmp eax, edi
jae 0x587443
mov eax, edx
mov edx, edi
sub edx, ebx
and eax, 0xffffffe0
mov dword [ebp - 4], edx
mov edx, esi
sub edx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
mov eax, ebx
mov ebx, dword [ebp - 8]
mov edx, edi
mov edi, dword [ebp - 4]
sub edx, esi
mov dword [ebp - 0xc], edx
lea edx, [esi + 0x10]
movups xmm0, xmmword [eax]
mov esi, dword [ebp - 0xc]
add ecx, 0x20
lea eax, [eax + 0x20]
lea edx, [edx + 0x20]
movups xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [ebx + eax - 0x20], xmm1
movups xmm1, xmmword [esi + edx - 0x20]
mov esi, dword [ebp + 0x14]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp ecx, dword [ebp - 0x10]
jb 0x587404
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ecx, edx
jae 0x587462
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0x587450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x588c00
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x6bc00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x88], edi
mov eax, dword [ecx]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], 0x61707865
mov dword [ebp - 0x40], 0x3320646e
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0x79622d32
mov dword [ebp - 0x38], 0x6b206574
test eax, eax
je 0x588df1
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, 0x40
cmp eax, esi
cmovb esi, eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x8c], esi
push eax
call fcn.00588e00
add esp, 8
xor eax, eax
test esi, esi
je 0x588dcf
cmp esi, 0x20
jb 0x588d93
lea edx, [edi - 1]
lea ecx, [ebp + esi - 0x85]
add edx, esi
cmp edi, ecx
ja 0x588ce9
lea ecx, [ebp - 0x84]
cmp edx, ecx
jae 0x588d93
lea ecx, [ebx - 1]
add ecx, esi
cmp edi, ecx
ja 0x588cfa
cmp edx, ebx
jae 0x588d93
mov ecx, esi
lea edx, [edi + 0x10]
and ecx, 0xffffffe0
lea esi, [ebp - 0x84]
mov dword [ebp - 0x90], ecx
mov ecx, ebx
sub ecx, esi
mov dword [ebp - 0x94], ecx
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x98], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0x94]
sub ecx, edi
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
nop
movups xmm0, xmmword [ebp + eax - 0x84]
lea ecx, [ebx + eax]
movups xmm1, xmmword [ebp + ecx - 0x84]
lea ecx, [esi + eax]
lea edx, [edx + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x74]
add eax, 0x20
movups xmmword [ebp + ecx - 0x84], xmm1
mov ecx, dword [ebp - 0x9c]
movups xmm1, xmmword [ecx + edx - 0x20]
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp eax, edi
jb 0x588d40
mov esi, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
mov ebx, dword [ebp + 0xc]
cmp eax, esi
jae 0x588dcf
lea ecx, [ebp - 0x84]
sub ebx, ecx
lea edx, [ebp - 0x84]
mov ecx, edi
sub ecx, edx
mov dword [ebp - 0x8c], ecx
mov edi, ecx
lea edx, [ebp - 0x84]
add edx, eax
inc eax
mov cl, byte [ebx + edx]
xor cl, byte [edx]
mov byte [edi + edx], cl
cmp eax, esi
jb 0x588db1
mov edi, dword [ebp - 0x88]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
add edi, esi
inc dword [ebp - 0x14]
sub eax, esi
add ebx, esi
mov dword [ebp - 0x88], edi
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x588c95
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0049b637
mov esp, ebp
pop ebp
ret
Function at 0x58d150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, 1
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
shl ebx, cl
call fcn.0051e900
add esp, 8
test eax, eax
jne 0x58d181
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 3
jg 0x58d1e5
xor ecx, ecx
mov dword [ebp + 0x18], ecx
cmp dword [ebp + 0xc], ecx
jle 0x58d31f
xor esi, esi
xor eax, eax
test ebx, ebx
jle 0x58d1c6
nop dword [eax]
mov ecx, eax
xor ecx, dword [ebp + 0x14]
lea edx, [ecx - 1]
not ecx
shr edx, 0x1f
shr ecx, 0x1f
and edx, ecx
neg edx
and edx, 1
neg edx
and edx, dword [edi + eax*4]
inc eax
or esi, edx
cmp eax, ebx
jl 0x58d1a0
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [eax + ecx*4], esi
inc ecx
lea eax, [ebx*4]
mov dword [ebp + 0x18], ecx
add edi, eax
cmp ecx, dword [ebp + 0xc]
jl 0x58d194
jmp 0x58d31f
mov edx, dword [ebp + 0x14]
lea ecx, [esi - 2]
sar edx, cl
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x24], esi
lea eax, [esi - 1]
and ecx, eax
mov eax, edx
mov dword [ebp - 0x10], ecx
not eax
shr eax, 0x1f
lea ecx, [edx - 1]
shr ecx, 0x1f
and ecx, eax
mov eax, edx
neg ecx
xor eax, 1
and ecx, 1
neg ecx
mov dword [ebp - 0x20], ecx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, edx
neg ecx
xor eax, 2
and ecx, 1
xor edx, 3
neg ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [edx - 1]
shr eax, 0x1f
not edx
shr edx, 0x1f
neg ecx
and eax, edx
and ecx, 1
neg eax
xor edx, edx
and eax, 1
mov dword [ebp - 0xc], edx
neg ecx
neg eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], edx
jle 0x58d31f
lea eax, [ebx*4]
mov dword [ebp - 0x28], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0x18], eax
test esi, esi
jle 0x58d307
lea eax, [esi + esi*2]
lea edx, [edi + esi*4]
lea ecx, [edi + esi*8]
mov dword [ebp - 8], edx
lea eax, [edi + eax*4]
mov dword [ebp - 4], ecx
mov dword [ebp + 0x10], eax
mov eax, dword [eax]
mov esi, ebx
mov ecx, dword [ecx]
and ecx, dword [ebp - 0x18]
and eax, dword [ebp - 0x14]
xor esi, dword [ebp - 0x10]
or ecx, eax
mov edx, dword [edx]
and edx, dword [ebp - 0x1c]
mov eax, dword [edi + ebx*4]
or edx, ecx
and eax, dword [ebp - 0x20]
lea ecx, [esi - 1]
shr ecx, 0x1f
not esi
shr esi, 0x1f
or eax, edx
mov edx, dword [ebp - 8]
and ecx, esi
mov esi, dword [ebp - 0x24]
neg ecx
and ecx, 1
inc ebx
neg ecx
add edx, 4
and ecx, eax
mov dword [ebp - 8], edx
or dword [ebp + 0x18], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add eax, 4
add ecx, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], ecx
cmp ebx, esi
jl 0x58d2a5
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add edi, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0xc], edx
cmp edx, dword [ebp + 0xc]
jl 0x58d285
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x593ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00432390
add esp, 4
cmp eax, 0x72
jne 0x593c53
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, eax
push edi
mov edi, dword [ebp + 0x20]
and eax, 1
push edi
push esi
push dword [ebp + 0x18]
shr ecx, 1
push dword [ebp + 0x14]
add eax, ecx
mov dword [ebp - 8], ecx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.00540fc0
push eax
call fcn.005938b0
add esp, 0x1c
test eax, eax
jne 0x593b29
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 0x104
push str.....cryptokdf_tls1_prf.c
push edi
call fcn.0051af00
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x593b64
push 0x105
push str.....cryptokdf_tls1_prf.c
push 0x41
push 0x6f
push 0x34
call fcn.00529800
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0xc]
push edi
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 4]
push eax
call fcn.00521e20
push eax
call fcn.005938b0
add esp, 0x1c
test eax, eax
jne 0x593ba5
push 0x10a
push str.....cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.0051ade0
add esp, 0x10
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edx, edx
test edi, edi
je 0x593c33
cmp edi, 0x20
jb 0x593c0e
lea eax, [edi - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, edi
cmp esi, eax
ja 0x593bc6
cmp ecx, ebx
jae 0x593c0e
mov ecx, edi
mov eax, esi
mov edi, ebx
and ecx, 0xffffffe0
sub edi, esi
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp - 8]
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x593be0
mov esi, dword [ebp + 0x1c]
cmp edx, edi
jae 0x593c33
mov eax, ebx
lea ecx, [edx + esi]
sub eax, esi
mov esi, edi
mov dword [ebp - 8], eax
sub esi, edx
mov edi, eax
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x593c22
mov edi, dword [ebp + 0x20]
push 0x10f
push str.....cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.0051ade0
add esp, 0x10
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005938b0
add esp, 0x1c
neg eax
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x599370
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x5993f4
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x599389
cmp al, 0x6b
jne 0x5993f4
inc ecx
cmp al, 0x6b
jne 0x5993cb
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x5993a9
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x5993a9
cmp dl, 0xbb
jne 0x5993bd
inc eax
cmp eax, esi
jl 0x599397
sub esi, eax
test eax, eax
jne 0x5993ce
push 0x50
push str.....crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x599400
push 0x48
push str.....crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x599400
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x5993e2
push 0x59
push str.....crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x599400
push esi
push ecx
push dword [ebp + 8]
call fcn.005e11d0
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
push 0x3d
push str.....crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00529800
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x59f230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], 0x10
test esi, esi
jle 0x59f2e0
push edi
mov edi, dword [ebp + 0x10]
cmp esi, 0x20
jb 0x59f2c4
lea eax, [edi - 1]
lea edx, [ebx - 1]
add eax, esi
add edx, esi
cmp ebx, eax
ja 0x59f26a
cmp edx, edi
jae 0x59f2c4
mov eax, esi
and eax, 0x8000001f
jns 0x59f278
dec eax
or eax, 0xffffffe0
inc eax
mov edx, esi
mov esi, edi
sub edx, eax
sub esi, ebx
mov dword [ebp - 8], esi
mov eax, ebx
lea esi, [edi + 0x10]
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0xc]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ecx]
add ecx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x59f294
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
cmp ecx, esi
jge 0x59f2df
mov edx, esi
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x59f2d1
pop edi
push esi
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax + 8]
call fcn.00534d70
add esp, 0x14
test eax, eax
je 0x59f309
cmp dword [ebp - 4], esi
jne 0x59f309
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59f500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x59f563
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x59f563
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x14]
cmp edx, ebx
cmovb ebx, edx
xor ecx, ecx
test ebx, ebx
je 0x59f531
mov al, byte [ecx + esi]
xor byte [edi + ecx + 0x18], al
inc ecx
cmp ecx, ebx
jb 0x59f525
mov eax, dword [edi + 0x14]
cmp edx, eax
jbe 0x59f561
sub edx, eax
mov eax, 0x10
cmp edx, eax
cmova edx, eax
xor eax, eax
test edx, edx
je 0x59f561
nop word [eax + eax]
mov ecx, dword [edi + 0x14]
add ecx, eax
mov cl, byte [ecx + esi]
xor byte [edi + eax + 0x38], cl
inc eax
cmp eax, edx
jb 0x59f550
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x5a4ff0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x6bc00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
push esi
mov esi, dword [ebp + 8]
push ecx
push 0x20
push eax
call fcn.00552900
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.005a8160
lea eax, [ebp - 0xe4]
push eax
push esi
call fcn.005a80d0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00538750
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop esi
call fcn.0049b637
mov esp, ebp
pop ebp
ret

Function at 0x5a5060
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x6bc00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x19c]
push edi
mov edi, dword [ebp + 0x14]
push eax
call fcn.005531a0
push 0x20
lea eax, [ebp - 0x19c]
push esi
push eax
call fcn.00553270
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00552980
mov al, byte [ebp - 0x25]
and byte [ebp - 0x44], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 0x25], al
lea eax, [ebp - 0x19c]
push eax
call fcn.005531a0
push 0x20
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00553270
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x19c]
push esi
push ebx
push eax
call fcn.00553270
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00552980
lea eax, [ebp - 0x84]
push eax
call fcn.005ab4d0
add esp, 0x40
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.005a8160
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call fcn.005a80d0
lea eax, [ebp - 0x19c]
push eax
call fcn.005531a0
push 0x20
push dword [ebp - 0x240]
lea eax, [ebp - 0x19c]
push eax
call fcn.00553270
push 0x20
lea eax, [ebp - 0x19c]
push edi
push eax
call fcn.00553270
push esi
lea eax, [ebp - 0x19c]
push ebx
push eax
call fcn.00553270
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00552980
add esp, 0x40
lea eax, [ebp - 0xc4]
push eax
call fcn.005ab4d0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x240]
add eax, 0x20
push eax
call fcn.005a84b0
lea eax, [ebp - 0x19c]
push 0xd8
push eax
call fcn.00538750
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.00538750
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00538750
mov ecx, dword [ebp - 4]
add esp, 0x2c
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0049b637
mov esp, ebp
pop ebp
ret
Function at 0x5a53e0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x6bc00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [ebp - 0x14], xmm1
and al, 0xf8
psrldq xmm1, 0xc
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
movd eax, xmm1
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.005a8160
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005a5550
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.005a73a0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.005a59e0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x4c]
push eax
push eax
call fcn.005a5c80
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.005a7410
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00538750
mov ecx, dword [ebp - 4]
add esp, 0x44
xor ecx, ebp
pop esi
call fcn.0049b637
mov esp, ebp
pop ebp
ret
Function at 0x5add80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
movd xmm0, ebx
lea edi, [eax + 0x3c]
pshufd xmm3, xmm0, 0
lea ecx, [esi + 0x3c]
cmp eax, ecx
ja 0x5addd0
cmp edi, esi
jb 0x5addd0
sub esi, eax
lea edi, [edx + 0x10]
nop dword [eax]
mov edx, dword [eax + esi]
lea eax, [eax + 4]
mov ecx, dword [eax - 4]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [eax + esi - 4], edx
xor dword [eax - 4], ecx
sub edi, 1
jne 0x5addb0
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, esi
lea ecx, [eax + 0x10]
sub edi, eax
nop word [eax + eax]
movups xmm1, xmmword [esi + edx*4]
lea ecx, [ecx + 0x20]
movups xmm2, xmmword [ecx - 0x30]
pxor xmm2, xmm1
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [esi + edx*4], xmm0
add edx, 8
movups xmm0, xmmword [ecx - 0x30]
pxor xmm2, xmm0
movups xmmword [ecx - 0x30], xmm2
movups xmm1, xmmword [edi + ecx - 0x20]
movups xmm2, xmmword [ecx - 0x20]
pxor xmm2, xmm1
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [edi + ecx - 0x20], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm2
movups xmmword [ecx - 0x20], xmm0
cmp edx, 0x10
jb 0x5adde0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5b31e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
je 0x5b31f6
mov dword [ebp + 0x1c], fcn.005ca490
pop ebp
jmp fcn.00582f10
mov dword [ebp + 0x1c], fcn.005c98b0
pop ebp
jmp fcn.00582c90
Function at 0x5c4680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, dword [edx + 4]
mov esi, edx
push edi
mov edi, dword [ebp + 0x10]
cmp ecx, dword [edi + 4]
cmovge esi, edi
cmovge edi, edx
mov dword [ebp + 0xc], esi
push dword [edi + 4]
push ebx
call fcn.0051e900
add esp, 8
test eax, eax
jne 0x5c46b5
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
cmp dword [esi + 4], eax
jle 0x5c46d8
nop dword [eax]
mov ecx, dword [edi]
mov edx, dword [esi]
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], esi
inc eax
mov esi, dword [ebp + 0xc]
cmp eax, dword [esi + 4]
jl 0x5c46c0
cmp eax, dword [edi + 4]
jge 0x5c46f0
nop dword [eax]
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x5c46e0
mov eax, dword [edi + 4]
push ebx
mov dword [ebx + 4], eax
call fcn.0051e660
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5c5650
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x14]
push edi
push esi
xor edi, edi
call fcn.005592e0
push esi
call fcn.00559200
mov esi, eax
add esp, 8
test esi, esi
je 0x5c5833
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
add eax, eax
push eax
push esi
call fcn.0051e900
add esp, 8
test eax, eax
je 0x5c5832
mov eax, dword [ebx + 4]
sub eax, 1
js 0x5c580b
mov edi, eax
nop dword [eax]
mov eax, dword [ebx]
mov edx, dword [eax + edi*4]
mov ecx, edx
shr ecx, 1
mov eax, edx
and eax, 0x20000
and ecx, 0x8000
or ecx, eax
mov eax, edx
and eax, 0x40000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x80000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x100000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x200000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x400000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x800000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x1000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x2000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x4000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x8000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x10000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x20000000
shr ecx, 1
or ecx, eax
mov eax, edx
and eax, 0x40000000
shr ecx, 1
or ecx, eax
and edx, 0x80000001
mov eax, dword [esi]
shr ecx, 1
or ecx, edx
shr ecx, 1
mov dword [eax + edi*8 + 4], ecx
mov eax, dword [ebx]
mov ecx, dword [eax + edi*4]
mov edx, ecx
and edx, 0x8000
mov eax, ecx
add edx, edx
and eax, 0x4000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x2000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x1000
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x800
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x400
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x200
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x100
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x80
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x40
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x20
or edx, eax
mov eax, ecx
add edx, edx
and eax, 0x10
or edx, eax
mov eax, ecx
add edx, edx
and eax, 8
or edx, eax
mov eax, ecx
add edx, edx
and eax, 4
or edx, eax
mov eax, ecx
add edx, edx
and eax, 2
or edx, eax
and ecx, 1
mov eax, dword [esi]
add edx, edx
or edx, ecx
mov dword [eax + edi*8], edx
sub edi, 1
jns 0x5c56a0
xor edi, edi
mov eax, dword [ebx + 4]
add eax, eax
push esi
mov dword [esi + 4], eax
call fcn.0051e660
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.005c4790
add esp, 0x10
mov ecx, 1
test eax, eax
cmovne edi, ecx
pop ebx
push dword [ebp + 0x14]
call fcn.00559180
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret