joyce8/EMBER2024-capa huggingface dataset:
Function at 0x687890
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.006fed10
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 2
je 0x68791c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x6878e8
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
call fcn.00637b00
add esp, 0x10
cmp dword [ebp - 4], 0xffffffff
je 0x6878e8
push 0x3b
push str.cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.0063c6c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x687918
cmp edi, 0x40a
je 0x68790e
cmp edi, 0x43f
je 0x68790e
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x687913
mov eax, 0x20
cmp dword [ebp + 0x18], eax
je 0x68791c
push 0x41
jmp 0x6878ca
push ebx
push 0x46
push str.cryptoececx_meth.c
push 0x40
call fcn.0062ae70
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x687955
push 0x48
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.0063c6c0
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x68796e
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push eax
push ebx
call fcn.00700d60
add esp, 0xc
jmp case.0x687aa0.1036
cmp edi, 0x40a
je 0x68798e
cmp edi, 0x43f
je 0x68798e
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x687993
mov eax, 0x20
push 0x50
push str.cryptoececx_meth.c
push eax
call fcn.006432b0
mov esi, eax
add esp, 0xc
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x6879c6
push 0x52
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.0063c6c0
add esp, 0x14
jmp 0x687a1a
cmp dword [ebp + 0x1c], 2
jne 0x687a5b
cmp edi, 0x40a
je 0x6879f0
cmp edi, 0x43f
je 0x6879f0
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x6879f5
mov eax, 0x20
push eax
push esi
call fcn.00639db0
add esp, 8
test eax, eax
jg 0x687a33
push 0x57
push str.cryptoececx_meth.c
push esi
call fcn.006432a0
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.cryptoececx_meth.c
push ebx
call fcn.0062abb0
add esp, 0xc
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0x40a
jne 0x687a4a
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
jmp 0x687a8e
cmp edi, 0x40b
jne 0x687a8e
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x687a8e
cmp edi, 0x40a
je 0x687a7b
cmp edi, 0x43f
je 0x687a7b
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x687a80
mov eax, 0x20
push eax
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.00700d60
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x687aa0.1036
movzx eax, byte [eax + 0x687afc]
jmp dword [eax*4 + 0x687ae8]
push esi
push ebx
call fcn.006b62e0
jmp 0x687ac9
push esi
push ebx
call fcn.006b5dc0
jmp 0x687ac9
push esi
push ebx
call fcn.006c05d0
jmp 0x687ac9
push esi
push ebx
call fcn.006c25d0
add esp, 8
push ebx
push edi
push dword [ebp + 8]
call fcn.00635600
add esp, 0xc
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x68c600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c
call fcn.006fed10
mov eax, dword [0x8f5da4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0x10], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 9], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xc], dl
test eax, eax
je 0x68c791
mov edi, dword [ebp + 8]
sub dword [ebp - 0x14], edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x68c728
push 1
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.00404180
mov ebx, dword [ebp - 0x20]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x18]
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], dl
mov byte [ebp - 9], al
mov al, byte [ebp + esi - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x68c6d0
test ecx, ecx
je 0x68c77b
mov edi, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006fffda
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006fffda
mov esp, ebp
pop ebp
ret
Function at 0x68d210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x38
call fcn.006fed10
mov eax, dword [0x8f5da4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
push ebx
movzx ebx, byte [ecx]
push esi
mov esi, dword [eax]
push edi
lea edi, [ecx + 1]
mov dword [ebp - 0x38], ecx
mov edx, edi
mov dword [ebp - 0x34], edi
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x24], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x14]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0x10], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xc], dl
test eax, eax
je 0x68d3a8
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x18], ecx
xor edi, edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x68d350
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
call fcn.004042e0
mov ebx, dword [ebp - 0x24]
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
mov ecx, dword [ebp + 8]
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
inc edi
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], dl
mov byte [ebp - 9], al
mov al, byte [ebp + esi - 0x10]
inc esi
mov edx, dword [ebp - 0x18]
and esi, 7
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
test eax, eax
jne 0x68d2f0
test edi, edi
mov edi, dword [ebp - 0x34]
je 0x68d3a8
mov eax, dword [ebp - 0x38]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 2], bl
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.006fffda
mov esp, ebp
pop ebp
ret
Function at 0x68e610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c
call fcn.006fed10
mov eax, dword [0x8f5da4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xd], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 0xa], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 9], dl
test eax, eax
je 0x68e7a3
mov edi, dword [ebp + 8]
sub dword [ebp - 0x14], edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x68e736
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.0068dc30
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
ret
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x18]
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xa], al
mov byte [ebp - 9], dl
mov al, byte [ebp + esi - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x68e6e0
test ecx, ecx
je 0x68e78d
mov edi, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006fffda
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006fffda
mov esp, ebp
pop ebp
ret
Function at 0x68e7c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x80
mov esi, 0x400
mov ecx, edi
mov byte [ebx], 0
cmp dword [ebp + 0xc], ecx
mov edx, esi
cmovle ecx, dword [ebp + 0xc]
test eax, eax
cmovg edx, eax
cmp edx, esi
cmovg edx, esi
mov dword [ebp + 0xc], edx
test ecx, ecx
jle 0x68e811
sub dword [ebp + 0x10], ebx
mov edx, ebx
mov ebx, dword [ebp + 0x10]
mov esi, ecx
nop
mov al, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub esi, 1
jne 0x68e800
mov ebx, dword [ebp + 8]
movzx edx, byte [ecx + ebx - 1]
cmp ecx, edi
jge 0x68e838
mov esi, ebx
sub esi, ecx
nop
movzx eax, byte [esi + ecx]
add eax, edx
movzx eax, al
movzx edx, byte [eax + 0x7df810]
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, edi
jl 0x68e820
mov ecx, dword [ebp + 0xc]
mov edx, 0xff
lea eax, [ecx + 7]
neg ecx
sar eax, 3
and ecx, 7
sub edi, eax
sar edx, cl
lea esi, [edi + ebx]
mov dword [ebp + 8], eax
movzx eax, byte [esi]
and edx, eax
movzx ecx, byte [edx + 0x7df810]
mov byte [esi], cl
test edi, edi
je 0x68e888
mov edx, dword [ebp + 8]
nop word [eax + eax]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x7df810]
mov byte [esi], cl
sub edi, 1
jne 0x68e870
lea esi, [ebx + 0xfc]
mov edi, 0x40
lea edx, [ebx + 0x7e]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x68e896
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x68f310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c
call fcn.006fed10
mov eax, dword [0x8f5da4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0x10], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 9], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xc], dl
test eax, eax
je 0x68f49f
mov edi, dword [ebp + 8]
sub dword [ebp - 0x14], edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x68f436
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.0068efc0
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x18]
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], dl
mov byte [ebp - 9], al
mov al, byte [ebp + esi - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x68f3e0
test ecx, ecx
je 0x68f489
mov edi, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006fffda
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006fffda
mov esp, ebp
pop ebp
ret
Function at 0x68ff40
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00690140
add esp, 0xc
test eax, eax
js 0x690133
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [eax + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x68ffc0
lea esi, [eax + 8]
add eax, 8
lea esi, [esi + edi*4]
nop word [eax + eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x68ff80
mov ebx, dword [ebp + 0x10]
mov edi, 1
cmp dword [ebx + 0xf0], edi
jle 0x69012e
lea esi, [ebx + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
inc edi
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x7dfd10]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x7e0910]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e1110]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e0d10]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e1510]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x7dfd10]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x7e0910]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e1110]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e0d10]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e1510]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x7dfd10]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x7e0910]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e1110]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e0d10]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e1510]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x7dfd10]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x7e0910]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e1110]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e0d10]
movzx eax, dl
movzx eax, byte [eax*4 + 0x7dfd10]
xor ecx, dword [eax*4 + 0x7e1510]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebx + 0xf0]
jl 0x68ffd7
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x690ab0
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 + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp + 0x10], ecx
mov edi, dword [edi]
test edi, edi
je 0x690aef
mov edx, dword [ebp + 0x1c]
test esi, esi
je 0x690aef
mov al, byte [edi + edx]
dec esi
xor al, byte [ecx]
inc edi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and edi, 0xf
jne 0x690ad8
cmp esi, 0x10
jb 0x690b68
mov edx, dword [ebp + 0x1c]
mov eax, ecx
sub eax, edx
xor edi, edi
mov dword [ebp - 8], eax
mov eax, esi
shr eax, 4
mov dword [ebp - 0xc], edi
mov edi, ebx
mov dword [ebp - 4], eax
sub edi, edx
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp + 0x10], ecx
jmp 0x690b24
mov edx, dword [ebp + 0x1c]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.00690d10
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, 4
mov ecx, dword [ebx + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [edi + eax - 4], ecx
sub edx, 1
jne 0x690b41
sub esi, 0x10
add edi, 0x10
add ebx, 0x10
sub dword [ebp - 4], 1
jne 0x690b21
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x690ba4
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.00690d10
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub esi, 1
jne 0x690b92
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x690bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.006fed10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 8], esi
mov dword [ebp + 0x10], ecx
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
je 0x690bfd
mov edx, dword [ebp + 0x1c]
nop
test esi, esi
je 0x690bfd
mov al, byte [edi + edx]
dec esi
xor al, byte [ecx]
inc edi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and edi, 0xf
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
jne 0x690be0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + 0xc]
bswap edx
mov dword [ebp - 4], edx
cmp esi, 0x10
jb 0x690c85
mov edi, esi
shr edi, 4
add edx, edi
mov dword [ebp - 4], edx
cmp edx, edi
jae 0x690c25
sub edi, edx
xor edx, edx
mov dword [ebp - 4], edx
push eax
push dword [ebp + 0x14]
push edi
push ebx
push ecx
call dword [ebp + 0x24]
mov edx, dword [ebp - 4]
add esp, 0x14
mov ecx, dword [ebp + 0x18]
mov eax, edx
bswap eax
mov dword [ecx + 0xc], eax
test edx, edx
jne 0x690c68
mov esi, dword [ebp + 0x18]
mov edx, 0xc
mov ecx, 1
movzx eax, byte [edx + esi - 1]
dec edx
add ecx, eax
mov byte [edx + esi], cl
shr ecx, 8
test edx, edx
jne 0x690c50
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
shl edi, 4
sub esi, edi
add ecx, edi
add ebx, edi
mov dword [ebp - 8], esi
mov dword [ebp + 0x10], ecx
cmp esi, 0x10
jae 0x690c10
mov edi, dword [ebp - 0xc]
test esi, esi
je 0x690cf6
mov ecx, dword [ebp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [ebp + 0x14]
push 1
push ecx
push ecx
movups xmmword [ecx], xmm0
call dword [ebp + 0x24]
mov eax, dword [ebp - 4]
add esp, 0x14
mov ecx, dword [ebp + 0x18]
add eax, 1
bswap eax
mov dword [ecx + 0xc], eax
jne 0x690cd5
mov esi, dword [ebp + 0x18]
mov edx, 0xc
mov ecx, 1
nop dword [eax]
movzx eax, byte [edx + esi - 1]
dec edx
add ecx, eax
mov byte [edx + esi], cl
shr ecx, 8
test edx, edx
jne 0x690cc0
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
sub ebx, eax
mov edx, dword [ebp + 0x10]
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x690ce4
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret