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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.006fed10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
je 0x690d7f
mov edx, dword [ebp + 0x18]
test edi, edi
je 0x690d7f
mov al, byte [esi + edx]
dec edi
xor al, byte [ecx]
inc esi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and esi, 0xf
jne 0x690d68
cmp edi, 0x10
jb 0x690dfd
mov edx, dword [ebp + 0x18]
mov eax, ebx
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
jmp 0x690db3
mov edx, dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push edx
call dword [ebp + 0x20]
add esp, 0xc
cmp esi, 0x10
jae 0x690de8
mov eax, dword [ebp + 0x18]
mov edx, 0xf
sub edx, esi
add eax, esi
mov esi, dword [ebp - 4]
shr edx, 2
inc edx
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x690dd6
add dword [ebp - 4], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
sub dword [ebp - 8], 1
jne 0x690db0
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x690e32
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push eax
push eax
call dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [esi + eax]
add esi, edi
nop
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x690e20
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6912d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.006fed10
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x164]
mov edx, dword [edi + 0x160]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x38]
or eax, dword [edi + 0x3c]
je 0x691302
mov eax, 0xfffffffe
pop edi
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, esi
add eax, dword [edi + 0x30]
adc ecx, dword [edi + 0x34]
cmp ecx, 0x20000000
ja 0x6913c4
jb 0x691326
test eax, eax
jne 0x6913c4
push ebx
mov ebx, dword [edi + 0x16c]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
test ebx, ebx
je 0x69136d
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
nop dword [eax]
test esi, esi
je 0x691357
mov al, byte [ecx]
dec esi
xor byte [ebx + edi + 0x40], al
inc ecx
inc ebx
mov dword [ebp - 4], ecx
and ebx, 0xf
jne 0x691340
jmp 0x69135b
test ebx, ebx
jne 0x6913b5
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
call edx
mov eax, dword [ebp - 4]
add esp, 8
jmp 0x691373
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, esi
and ecx, 0xfffffff0
mov dword [ebp - 0xc], ecx
je 0x691395
push ecx
push eax
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x40]
push eax
call dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add esp, 0x10
add dword [ebp - 4], eax
sub esi, eax
test esi, esi
je 0x6913b5
xor ecx, ecx
mov ebx, esi
test esi, esi
je 0x6913b5
lea edx, [edi + 0x40]
mov edi, dword [ebp - 4]
mov al, byte [ecx + edi]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jb 0x6913a7
mov edi, dword [ebp + 8]
mov dword [edi + 0x16c], ebx
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
pop esi
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x692160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14
call fcn.006fed10
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x160]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], eax
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp edi, 0xc
jne 0x6921d5
mov eax, dword [ebp + 0xc]
mov edi, 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x1000000
jmp 0x6922d8
mov dword [esi + 0x40], 0
lea edx, [esi + 0x40]
mov dword [edx + 4], 0
mov dword [esi + 0x48], 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edx
mov dword [esi + 0x4c], 0
push ebx
mov ebx, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x692278
lea eax, [esi + 0x60]
mov dword [ebp - 8], eax
lea ecx, [esi + 0x41]
mov eax, edi
mov dword [ebp - 0x10], ecx
shr eax, 4
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov eax, ecx
lea edx, [ebx + 1]
mov esi, 4
nop word [eax + eax]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 4]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 2]
xor byte [eax - 2], cl
sub esi, 1
jne 0x692230
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
add esp, 8
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 0x10], 1
jne 0x692220
mov esi, dword [ebp + 8]
lea edx, [esi + 0x40]
test edi, edi
je 0x692298
xor ecx, ecx
test edi, edi
je 0x69228d
mov al, byte [ecx + ebx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, edi
jb 0x692282
lea eax, [esi + 0x60]
push eax
push edx
call dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x14]
lea ebx, [esi + 0x40]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0x4c], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 0x48], ecx
push ebx
call dword [ebp - 4]
mov eax, dword [ebx]
add esp, 8
mov edi, dword [esi + 0x4c]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x4c]
bswap edi
mov dword [esi + 0xc], eax
pop ebx
mov dword [esi + 0x40], 0
lea eax, [esi + 0x20]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
push dword [esi + 0x174]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x692990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x34
call fcn.006fed10
mov eax, dword [0x8f5da4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
test bl, 0x40
jne 0x6929e2
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
movzx eax, bl
mov edx, 0xf
and eax, 7
xor ecx, ecx
sub edx, eax
mov byte [esi], al
mov dword [ebp - 0x34], edx
cmp edx, 0xf
jae 0x692a13
nop dword [eax + eax]
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x692a00
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x692a37
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006fffda
mov esp, ebp
pop ebp
ret
push edi
mov edi, ebx
shr edi, 4
test edi, edi
je 0x692a70
lea eax, [esi + 0x10]
push eax
push esi
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [ebp - 0x2c]
shl edi, 4
add esp, 0x18
add dword [ebp - 0x1c], edi
add dword [ebp - 0x20], edi
sub ebx, edi
je 0x692ad3
shr edi, 4
push edi
push esi
call fcn.006931d0
add esp, 8
test ebx, ebx
je 0x692ad3
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x692ac2
lea eax, [ebp - 0x14]
sub dword [ebp - 0x1c], eax
sub dword [ebp - 0x20], eax
lea eax, [esi + 0x10]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
nop word [eax + eax]
lea ecx, [ebp - 0x14]
add ecx, edi
movzx edx, byte [esi + ecx]
movzx eax, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x20]
mov byte [eax + ecx], dl
mov eax, dword [ebp - 0x2c]
xor byte [eax + edi], dl
inc edi
cmp edi, ebx
jb 0x692aa0
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x24]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [ebp - 0x28]
add esp, 0xc
jmp 0x692ad6
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jae 0x692af8
mov ecx, 0x10
lea edi, [edx + esi]
sub ecx, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi], al
xor ecx, ebp
pop esi
xor eax, eax
pop ebx
call fcn.006fffda
mov esp, ebp
pop ebp
ret
Function at 0x694610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.006fed10
mov edx, dword [ebp + 0x10]
xor ecx, ecx
test edx, edx
je 0x6946f5
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 0x6946cf
lea eax, [ebx - 1]
add eax, edx
cmp esi, eax
ja 0x694651
lea eax, [esi - 1]
add eax, edx
cmp eax, ebx
jae 0x6946cf
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0x694663
lea eax, [esi - 1]
add eax, edx
cmp eax, edi
jae 0x6946cf
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]
nop dword [eax + eax]
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 0x694690
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ecx, edx
jae 0x6946f2
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
nop dword [eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0x6946e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x694800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.006fed10
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x14]
cmp esi, ebx
jbe 0x6948b1
mov ecx, dword [edi + 0x18]
cmp esi, ecx
jb 0x69485b
mov eax, esi
sub eax, ecx
add eax, 4
and eax, 0xfffffffc
add eax, ecx
push 0x71
mov dword [edi + 0x18], eax
push str.cryptomodesocb128.c
shl eax, 4
push eax
push dword [edi + 0x40]
call fcn.0062abe0
add esp, 0x10
test eax, eax
jne 0x694858
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x40], eax
cmp ebx, esi
jae 0x6948ae
mov eax, esi
mov ecx, ebx
sub eax, ebx
shl ecx, 4
add ebx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov esi, edi
mov dword [ebp - 0xc], ebx
mov eax, dword [esi + 0x40]
add eax, ecx
mov bl, byte [eax]
lea edi, [eax + 0x10]
push edi
shr bl, 7
push 1
neg bl
push eax
and bl, 0x87
call fcn.00694570
mov ecx, dword [ebp - 4]
add esp, 0xc
xor byte [edi + 0xf], bl
add ecx, 0x10
sub dword [ebp - 8], 1
mov dword [ebp - 4], ecx
jne 0x694875
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
mov dword [edi + 0x14], ebx
shl esi, 4
add esi, dword [edi + 0x40]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x698560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
je 0x698576
mov dword [ebp + 0x1c], fcn.00696d50
pop ebp
jmp fcn.00690910
mov dword [ebp + 0x1c], fcn.00696010
pop ebp
jmp fcn.00690680
Function at 0x699ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28
call fcn.006fed10
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.00630f30
add esp, 8
test eax, eax
jne 0x699ae8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 3
jg 0x699b4d
xor ecx, ecx
mov dword [ebp + 0x18], ecx
cmp dword [ebp + 0xc], ecx
jle 0x699c8a
nop dword [eax + eax]
xor esi, esi
xor eax, eax
test ebx, ebx
jle 0x699b2e
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 0x699b08
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 0x699b00
jmp 0x699c8a
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 0x699c8a
lea eax, [ebx*4]
mov dword [ebp - 0x28], eax
nop dword [eax]
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0x18], eax
test esi, esi
jle 0x699c72
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 0x699c10
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 0x699bf0
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 0x69fa20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.006fed10
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0056d520
add esp, 4
cmp eax, 0x72
jne 0x69fba4
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.006517e0
push eax
call fcn.0069f7f0
add esp, 0x1c
test eax, eax
jne 0x69fa80
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 0x104
push str.cryptokdf_tls1_prf.c
push edi
call fcn.0062ab70
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x69fabb
push 0x105
push str.cryptokdf_tls1_prf.c
push 0x41
push 0x6f
push 0x34
call fcn.0063c6c0
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.00635590
push eax
call fcn.0069f7f0
add esp, 0x1c
test eax, eax
jne 0x69fafc
push 0x10a
push str.cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.0062ac80
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 0x69fb84
cmp edi, 0x20
jb 0x69fb5f
lea eax, [edi - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, edi
cmp esi, eax
ja 0x69fb1d
cmp ecx, ebx
jae 0x69fb5f
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]
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 0x69fb31
mov esi, dword [ebp + 0x1c]
cmp edx, edi
jae 0x69fb84
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 0x69fb73
mov edi, dword [ebp + 0x20]
push 0x10f
push str.cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.0062ac80
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.0069f7f0
add esp, 0x1c
neg eax
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6a4620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.006fed10
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 0x6a46df
push edi
mov edi, dword [ebp + 0x10]
cmp esi, 0x20
jb 0x6a46c0
lea eax, [edi - 1]
lea edx, [ebx - 1]
add eax, esi
add edx, esi
cmp ebx, eax
ja 0x6a4661
cmp edx, edi
jae 0x6a46c0
mov eax, esi
and eax, 0x8000001f
jns 0x6a466f
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]
nop dword [eax + eax]
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 0x6a4690
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
cmp ecx, esi
jge 0x6a46de
mov edx, esi
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
nop dword [eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x6a46d0
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.006458d0
add esp, 0x14
test eax, eax
je 0x6a4708
cmp dword [ebp - 4], esi
jne 0x6a4708
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 0x6a4940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x6a49a3
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x6a49a3
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 0x6a4971
mov al, byte [ecx + esi]
xor byte [edi + ecx + 0x18], al
inc ecx
cmp ecx, ebx
jb 0x6a4965
mov eax, dword [edi + 0x14]
cmp edx, eax
jbe 0x6a49a1
sub edx, eax
mov eax, 0x10
cmp edx, eax
cmova edx, eax
xor eax, eax
test edx, edx
je 0x6a49a1
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 0x6a4990
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x6abd60
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x6abde4
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x6abd79
cmp al, 0x6b
jne 0x6abde4
inc ecx
cmp al, 0x6b
jne 0x6abdbb
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x6abd99
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x6abd99
cmp dl, 0xbb
jne 0x6abdad
inc eax
cmp eax, esi
jl 0x6abd87
sub esi, eax
test eax, eax
jne 0x6abdbe
push 0x50
push str.crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x6abdf0
push 0x48
push str.crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x6abdf0
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x6abdd2
push 0x59
push str.crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x6abdf0
push esi
push ecx
push dword [ebp + 8]
call fcn.00700d60
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.0063c6c0
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x6b5dc0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15c
call fcn.006fed10
mov eax, dword [0x8f5da4]
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.00662580
movzx eax, 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.006b9e80
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.006b69f0
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.006b6c30
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.006b6c30
lea eax, [ebp - 0x134]
push eax
push esi
call fcn.006b8370
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.006b8370
movzx eax, byte [ebp - 0x104]
add esp, 0x44
shl al, 7
xor byte [esi + 0x1f], al
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004029a0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.006fffda
mov esp, ebp
pop ebp
ret