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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x40], edi
movups xmm0, xmmword [edi + 0x3c8]
movups xmmword [ebp - 0x34], xmm0
test ebx, ebx
jle 0x4074e5
dec ebx
add edx, 3
shr ebx, 4
inc ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ebx
push esi
movzx ecx, byte [edx - 3]
lea esi, [edx - 1]
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
call fcn.00407360
add esp, 8
xor edi, edi
mov edx, dword [ebp + edi - 0x34]
lea esi, [esi + 4]
mov ebx, dword [ebp + edi - 0x14]
mov ecx, edx
shr ecx, 0x18
mov eax, ebx
shr eax, 0x18
xor cl, al
mov eax, ebx
mov byte [esi - 6], cl
mov ecx, edx
shr ecx, 0x10
shr eax, 0x10
xor cl, al
mov eax, ebx
mov byte [esi - 5], cl
mov ecx, edx
shr eax, 8
xor dl, bl
shr ecx, 8
xor cl, al
mov byte [esi - 3], dl
mov eax, dword [ebp + edi - 0x24]
mov dword [ebp + edi - 0x34], eax
add edi, 4
mov byte [esi - 4], cl
cmp edi, 0x10
jl 0x407464
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x4073c0
movups xmm0, xmmword [ebp - 0x34]
mov eax, edi
pop esi
pop edi
pop ebx
movups xmmword [eax + 0x3c8], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
movups xmmword [edi + 0x3c8], xmm0
pop edi
xor ecx, ebp
pop ebx
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
Function at 0x408240
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
movups xmm0, xmmword [ebx + 0x3c8]
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
test edi, edi
jle 0x40839d
mov edx, dword [ebp - 8]
dec edi
shr edi, 4
add esi, 2
inc edi
nop word [eax + eax]
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 3]
xor dword [ebp - 0x14], ecx
movzx ecx, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
xor dword [ebp - 0x10], ecx
movzx ecx, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
xor dword [ebp - 0xc], ecx
movzx ecx, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
xor edx, ecx
push ebx
mov dword [ebp - 8], edx
call fcn.00408220
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, ecx
mov byte [esi + 1], cl
shr eax, 0x18
mov byte [esi - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 1], al
mov eax, ecx
mov ecx, dword [ebp - 0x10]
shr eax, 8
mov byte [esi], al
mov eax, ecx
shr eax, 0x18
mov byte [esi + 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], al
mov eax, ecx
shr eax, 8
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 6], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 7], al
mov eax, ecx
shr eax, 8
mov edx, dword [ebp - 8]
lea esi, [esi + 0x10]
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
mov byte [esi - 7], cl
mov byte [esi - 4], al
mov byte [esi - 3], dl
sub edi, 1
jne 0x408280
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
pop edi
pop esi
movups xmmword [ebx + 0x3c8], xmm0
xor ecx, ebp
pop ebx
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
Function at 0x4095e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4a1600]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov ecx, edx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x8c], eax
lea esi, [ecx + 1]
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x94], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409610
lea eax, [ebp - 0x84]
sub ecx, esi
push eax
push ecx
push edx
call fcn.0041e730
mov eax, dword [ebp + 0x1c]
xor edi, edi
add eax, 0x1f
mov dword [ebp - 0x88], edi
cdq
add esp, 0xc
and edx, 0x1f
lea ebx, [edx + eax]
sar ebx, 5
test ebx, ebx
jle 0x4096fe
mov eax, dword [ebp + 0x14]
nop dword [eax]
mov ecx, dword [ebp - 0x8c]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x10]
xor esi, esi
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
test eax, eax
jle 0x4096c6
lea eax, [edi + 1]
mov dword [ebp - 0x90], eax
mov edi, eax
lea eax, [ebp - 0x44]
push eax
push edx
push ecx
lea eax, [ebp - 0x84]
xor ecx, ecx
push eax
test esi, esi
mov eax, edi
cmovne eax, ecx
push eax
call fcn.00409440
add esp, 0x14
lea ecx, [ebp - 0x44]
mov edx, 0x20
xor eax, eax
nop
movups xmm0, xmmword [ebp + eax - 0x24]
movups xmm1, xmmword [ebp + eax - 0x44]
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x24], xmm1
add eax, 0x10
cmp eax, 0x20
jl 0x4096a0
inc esi
cmp esi, dword [ebp + 0x14]
jl 0x409675
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp + 0x1c]
mov ecx, edi
cmp edi, esi
jge 0x4096ec
mov edi, dword [ebp - 0x94]
lea edx, [ebp - 0x24]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [edi + ecx], al
add ecx, ebx
cmp ecx, esi
jl 0x4096d8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0x14]
inc edi
mov dword [ebp - 0x88], edi
cmp edi, ebx
jl 0x409650
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.004248d0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00429c0c
mov esp, ebp
pop ebp
ret
Function at 0x40a690
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movups xmm0, xmmword [0x48c5e8]
movups xmmword [eax + 0x1000], xmm0
lea edx, [eax + 0x800]
movups xmm0, xmmword [0x48c5f8]
movups xmmword [eax + 0x1010], xmm0
movups xmm0, xmmword [0x48c608]
movups xmmword [eax + 0x1020], xmm0
movups xmm0, xmmword [0x48c618]
movups xmmword [eax + 0x1030], xmm0
movq xmm0, qword [0x48c628]
movq qword [eax + 0x1040], xmm0
xor eax, eax
nop word [eax + eax]
mov ecx, dword [eax + 0x48c630]
lea edx, [edx + 4]
mov dword [edx - 0x804], ecx
mov ecx, dword [eax + 0x48ca30]
mov dword [edx - 0x404], ecx
mov ecx, dword [eax + 0x48ce30]
mov dword [edx - 4], ecx
mov ecx, dword [eax + 0x48d230]
add eax, 4
mov dword [edx + 0x3fc], ecx
cmp eax, 0x400
jl 0x40a6f0
pop ebp
ret

Function at 0x40a730
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov ebx, dword [ecx + 0x1048]
mov edi, dword [ecx + 0x104c]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
test eax, eax
jle 0x40a825
push esi
mov esi, dword [ebp + 8]
dec eax
shr eax, 3
add esi, 2
inc eax
mov dword [ebp + 0xc], eax
nop word [eax + eax]
movzx ebx, byte [esi + 1]
movzx eax, byte [esi]
movzx edi, byte [esi + 5]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [esi - 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 4]
or edi, eax
movzx eax, byte [esi + 3]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 2]
shl edi, 8
or edi, eax
lea eax, [ebp - 0x10]
push ecx
push eax
push edi
push ebx
call fcn.004098d0
mov ecx, dword [ebp - 4]
lea esi, [esi + 8]
xor ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, dword [ebp - 8]
mov eax, ecx
xor edx, dword [ebp - 0xc]
shr eax, 8
mov byte [esi - 9], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 8], al
mov eax, edx
shr eax, 8
mov byte [esi - 5], al
mov eax, edx
mov byte [esi - 0xa], cl
shr ecx, 0x18
mov byte [esi - 6], dl
shr eax, 0x10
shr edx, 0x18
sub dword [ebp + 0xc], 1
mov byte [esi - 7], cl
mov ecx, dword [ebp + 0x10]
mov byte [esi - 4], al
mov byte [esi - 3], dl
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
jne 0x40a770
mov eax, ecx
pop esi
mov dword [eax + 0x104c], edi
pop edi
mov dword [eax + 0x1048], ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x104c], edi
pop edi
mov dword [ecx + 0x1048], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a840
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [edi + 0x1048]
mov ebx, dword [edi + 0x104c]
test eax, eax
jle 0x40a90b
push esi
mov esi, dword [ebp + 8]
dec eax
shr eax, 3
add esi, 2
inc eax
mov dword [ebp + 0x10], eax
movzx ecx, byte [esi + 5]
lea eax, [ebp - 8]
shl ecx, 8
push edi
push eax
movzx eax, byte [esi + 4]
or ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
xor ecx, ebx
push ecx
movzx ecx, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 2]
shl ecx, 8
or ecx, eax
xor ecx, edx
push ecx
call fcn.00409d00
mov edx, dword [ebp - 8]
lea esi, [esi + 8]
mov ebx, dword [ebp - 4]
mov eax, edx
shr eax, 8
add esp, 0x10
mov byte [esi - 9], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 7], al
mov eax, ebx
shr eax, 8
mov byte [esi - 5], al
mov eax, ebx
shr eax, 0x10
mov byte [esi - 4], al
mov eax, ebx
shr eax, 0x18
sub dword [ebp + 0x10], 1
mov byte [esi - 0xa], dl
mov byte [esi - 6], bl
mov byte [esi - 3], al
jne 0x40a871
pop esi
mov dword [edi + 0x104c], ebx
mov dword [edi + 0x1048], edx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a9e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov ebx, dword [ecx + 0x1048]
mov edi, dword [ecx + 0x104c]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
test eax, eax
jle 0x40aad9
push esi
mov esi, dword [ebp + 8]
dec eax
shr eax, 3
add esi, 2
inc eax
mov dword [ebp + 0xc], eax
nop word [eax + eax]
movzx ebx, byte [esi - 2]
movzx eax, byte [esi - 1]
movzx edi, byte [esi + 2]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [esi]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 3]
or edi, eax
movzx eax, byte [esi + 4]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 5]
shl edi, 8
or edi, eax
lea eax, [ebp - 0x10]
push ecx
push eax
push edi
push ebx
call fcn.004098d0
mov ecx, dword [ebp - 4]
lea esi, [esi + 8]
xor ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, dword [ebp - 8]
mov eax, ecx
xor edx, dword [ebp - 0xc]
shr eax, 0x18
mov byte [esi - 0xa], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 9], al
mov eax, ecx
shr eax, 8
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
sub dword [ebp + 0xc], 1
mov byte [esi - 7], cl
mov ecx, dword [ebp + 0x10]
mov byte [esi - 4], al
mov byte [esi - 3], dl
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
jne 0x40aa20
mov eax, ecx
pop esi
mov dword [eax + 0x104c], edi
pop edi
mov dword [eax + 0x1048], ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x104c], edi
pop edi
mov dword [ecx + 0x1048], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aaf0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [edi + 0x1048]
mov ebx, dword [edi + 0x104c]
test eax, eax
jle 0x40abbb
push esi
mov esi, dword [ebp + 8]
dec eax
shr eax, 3
add esi, 2
inc eax
mov dword [ebp + 0x10], eax
movzx ecx, byte [esi + 2]
lea eax, [ebp - 8]
shl ecx, 8
push edi
push eax
movzx eax, byte [esi + 3]
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 1]
xor ecx, ebx
push ecx
movzx ecx, byte [esi - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
xor ecx, edx
push ecx
call fcn.00409d00
mov edx, dword [ebp - 8]
lea esi, [esi + 8]
mov ebx, dword [ebp - 4]
mov eax, edx
shr eax, 0x18
add esp, 0x10
mov byte [esi - 0xa], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 9], al
mov eax, edx
shr eax, 8
mov byte [esi - 8], al
mov eax, ebx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, ebx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, ebx
shr eax, 8
sub dword [ebp + 0x10], 1
mov byte [esi - 7], dl
mov byte [esi - 4], al
mov byte [esi - 3], bl
jne 0x40ab21
pop esi
mov dword [edi + 0x104c], ebx
mov dword [edi + 0x1048], edx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40abd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x1048]
mov edx, dword [edi + 0x104c]
mov dword [ebp - 4], eax
mov dword [ebp + 0x10], edx
test ebx, ebx
jle 0x40ac69
push esi
mov esi, dword [ebp + 8]
dec ebx
shr ebx, 3
add esi, 2
inc ebx
push edi
lea ecx, [ebp - 0xc]
push ecx
push edx
push eax
call fcn.00409d00
mov ecx, dword [ebp - 0xc]
lea esi, [esi + 8]
xor byte [esi - 7], cl
mov eax, ecx
shr eax, 0x18
add esp, 0x10
xor byte [esi - 0xa], al
mov eax, ecx
shr eax, 0x10
xor byte [esi - 9], al
mov eax, ecx
mov ecx, dword [ebp - 8]
xor byte [esi - 3], cl
mov edx, dword [ebp + 0x10]
shr eax, 8
xor byte [esi - 8], al
mov eax, ecx
shr eax, 0x18
xor byte [esi - 6], al
mov eax, ecx
shr eax, 0x10
xor byte [esi - 5], al
mov eax, ecx
mov ecx, dword [ebp - 4]
shr eax, 8
xor byte [esi - 4], al
add edx, 1
mov dword [ebp + 0x10], edx
lea eax, [ecx + 1]
cmovne eax, ecx
mov dword [ebp - 4], eax
sub ebx, 1
jne 0x40ac00
pop esi
mov dword [edi + 0x104c], edx
mov dword [edi + 0x1048], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dc30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], eax
test edx, edx
je 0x40dd4b
mov ecx, dword [ebp + 8]
lea eax, [edx - 1]
add ecx, 2
shr eax, 3
inc eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], eax
push edi
nop dword [eax]
movzx ebx, byte [ecx - 2]
movzx eax, byte [ecx - 1]
movzx edi, byte [ecx + 2]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [ecx]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 3]
or edi, eax
movzx eax, byte [ecx + 4]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 5]
shl edi, 8
or edi, eax
lea eax, [esi + 0x110]
push eax
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040e060
lea eax, [esi + 0x88]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 0x10]
push eax
call fcn.0040ea40
push esi
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 0x10]
push eax
call fcn.0040e060
mov ecx, dword [ebp + 0xc]
add esp, 0x30
mov eax, dword [ebp + 0x10]
xor eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
mov eax, edx
shr eax, 0x18
mov byte [ecx - 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx - 1], al
mov eax, edx
shr eax, 8
mov byte [ecx], al
mov byte [ecx + 1], dl
mov edx, dword [ebp + 0x10]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 3], al
mov eax, edx
shr eax, 8
mov byte [ecx + 4], al
mov eax, edi
mov byte [ecx + 5], dl
add ecx, 8
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], eax
jne 0x40dc70
pop edi
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dd60
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [esi + 0x80]
mov ebx, dword [esi + 0x84]
test ecx, ecx
je 0x40de59
push edi
mov edi, dword [ebp + 8]
lea eax, [ecx - 1]
shr eax, 3
add edi, 2
inc eax
mov dword [ebp + 0x10], eax
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi - 1]
xor ecx, ebx
push esi
push ecx
movzx ecx, byte [edi - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 8]
xor ecx, edx
push ecx
push eax
call fcn.0040ea40
lea eax, [esi + 0x88]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push dword [ebp - 8]
push eax
call fcn.0040e060
lea eax, [esi + 0x110]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push dword [ebp - 8]
push eax
call fcn.0040ea40
mov edx, dword [ebp - 8]
lea edi, [edi + 8]
mov ebx, dword [ebp - 4]
mov eax, edx
shr eax, 0x18
add esp, 0x30
mov byte [edi - 0xa], al
mov eax, edx
shr eax, 0x10
mov byte [edi - 9], al
mov eax, edx
shr eax, 8
mov byte [edi - 8], al
mov eax, ebx
shr eax, 0x18
mov byte [edi - 6], al
mov eax, ebx
shr eax, 0x10
mov byte [edi - 5], al
mov eax, ebx
shr eax, 8
sub dword [ebp + 0x10], 1
mov byte [edi - 7], dl
mov byte [edi - 4], al
mov byte [edi - 3], bl
jne 0x40dd93
pop edi
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40de70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov ebx, dword [ecx + 0x80]
mov edi, dword [ecx + 0x84]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
test eax, eax
je 0x40df69
push esi
mov esi, dword [ebp + 8]
dec eax
shr eax, 3
add esi, 2
inc eax
mov dword [ebp + 0xc], eax
nop word [eax + eax]
movzx ebx, byte [esi - 2]
movzx eax, byte [esi - 1]
movzx edi, byte [esi + 2]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [esi]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 3]
or edi, eax
movzx eax, byte [esi + 4]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 5]
push ecx
shl edi, 8
or edi, eax
lea eax, [ebp - 0x10]
push edi
push ebx
push eax
call fcn.0040e060
mov ecx, dword [ebp - 4]
lea esi, [esi + 8]
xor ecx, dword [ebp - 0x10]
add esp, 0x10
mov edx, dword [ebp - 8]
mov eax, ecx
xor edx, dword [ebp - 0xc]
shr eax, 0x18
mov byte [esi - 0xa], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 9], al
mov eax, ecx
shr eax, 8
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
sub dword [ebp + 0xc], 1
mov byte [esi - 7], cl
mov ecx, dword [ebp + 0x10]
mov byte [esi - 4], al
mov byte [esi - 3], dl
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
jne 0x40deb0
mov eax, ecx
pop esi
mov dword [eax + 0x84], edi
pop edi
mov dword [eax + 0x80], ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x84], edi
pop edi
mov dword [ecx + 0x80], ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40df80
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [edi + 0x80]
mov ebx, dword [edi + 0x84]
test eax, eax
je 0x40e04b
push esi
mov esi, dword [ebp + 8]
dec eax
shr eax, 3
add esi, 2
inc eax
mov dword [ebp + 0x10], eax
movzx ecx, byte [esi + 2]
movzx eax, byte [esi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 1]
xor ecx, ebx
push edi
push ecx
movzx ecx, byte [esi - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 8]
xor ecx, edx
push ecx
push eax
call fcn.0040ea40
mov edx, dword [ebp - 8]
lea esi, [esi + 8]
mov ebx, dword [ebp - 4]
mov eax, edx
shr eax, 0x18
add esp, 0x10
mov byte [esi - 0xa], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 9], al
mov eax, edx
shr eax, 8
mov byte [esi - 8], al
mov eax, ebx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, ebx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, ebx
shr eax, 8
sub dword [ebp + 0x10], 1
mov byte [esi - 7], dl
mov byte [esi - 4], al
mov byte [esi - 3], bl
jne 0x40dfb1
pop esi
mov dword [edi + 0x84], ebx
mov dword [edi + 0x80], edx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret