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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x28], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x14], 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 - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 8], dl
test eax, eax
je 0x1009a1c5
mov edi, dword [ebp + 8]
sub dword [ebp - 0x10], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x1009a15c
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.10099cf0
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x14]
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + esi - 0xc]
inc esi
mov ecx, dword [ebp - 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x1009a106
test ecx, ecx
je 0x1009a1af
mov edi, dword [ebp - 0x28]
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 - 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
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.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x1009a1e0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1048
push 0x1010f5e0
push esi
call fcn.1003da60
mov ecx, dword [ebp + 0xc]
mov eax, 0x48
mov edi, dword [ebp + 0x10]
add esp, 0xc
cmp ecx, eax
mov dword [ebp + 8], 0
cmovg ecx, eax
mov eax, edi
lea ebx, [ecx + edi]
jmp 0x1009a220
movzx edx, byte [eax]
inc eax
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
mov ecx, dword [ebp + 8]
cmp eax, ebx
cmovae eax, edi
xor dword [esi + ecx*4], edx
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, 0x12
jl 0x1009a220
mov dword [ebp - 8], 0
xor edi, edi
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push esi
push eax
call fcn.1009ac30
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x1009a272
xor edi, edi
lea eax, [ebp - 8]
push esi
push eax
call fcn.1009ac30
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x1009a296
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1009b200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x28], 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 - 0x14], 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 - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 6], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 5], dl
test eax, eax
je 0x1009b389
mov edi, dword [ebp + 8]
sub dword [ebp - 0x10], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x1009b31c
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.1009ac30
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x14]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
inc esi
mov ecx, dword [ebp - 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x1009b2c6
test ecx, ecx
je 0x1009b373
mov edi, dword [ebp - 0x28]
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 - 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
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.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x1009d8c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x28], 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 - 0x14], 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 - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 6], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 5], dl
test eax, eax
je 0x1009da49
mov edi, dword [ebp + 8]
sub dword [ebp - 0x10], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x1009d9dc
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.1009d250
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x14]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
inc esi
mov ecx, dword [ebp - 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x1009d986
test ecx, ecx
je 0x1009da33
mov edi, dword [ebp - 0x28]
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 - 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
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.1003890f
mov esp, ebp
pop ebp
ret

Function at 0x1009da60
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009e5a0

Function at 0x1009da70
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009e7a0
Function at 0x1009f100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
je 0x1009f138
mov edx, dword [ebp + 0x1c]
test edi, edi
je 0x1009f138
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 0x1009f121
cmp edi, 0x10
jb 0x1009f1c4
mov edx, dword [ebp + 0x1c]
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 0x1009f173
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.1009f340
add esp, 0x10
cmp esi, 0x10
jae 0x1009f1b0
mov eax, dword [ebp + 0x1c]
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
dec edx
jne 0x1009f1a0
add dword [ebp - 4], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
dec dword [ebp - 8]
jne 0x1009f170
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x1009f200
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.1009f340
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [esi + eax]
add esi, edi
mov edi, edi
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x1009f1f0
mov eax, dword [ebp + 0x20]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1009f210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
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]
mov dword [ebp - 8], edi
test edi, edi
je 0x1009f24e
mov edx, dword [ebp + 0x1c]
test esi, esi
je 0x1009f24e
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], edi
jne 0x1009f234
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 0x1009f2c7
mov edi, esi
shr edi, 4
add edx, edi
mov dword [ebp - 4], edx
cmp edx, edi
jae 0x1009f276
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 0x1009f2ad
mov edx, dword [ebp + 0x18]
mov ecx, 0xc
lea esp, [esp]
dec ecx
inc byte [ecx + edx]
jne 0x1009f2aa
test ecx, ecx
jne 0x1009f2a0
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 + 0x10], ecx
cmp esi, 0x10
jae 0x1009f261
mov edi, dword [ebp - 8]
test esi, esi
je 0x1009f330
mov ecx, dword [ebp + 0x1c]
xor edx, edx
push eax
push dword [ebp + 0x14]
mov dword [ecx], edx
push 1
mov dword [ecx + 4], edx
push ecx
mov dword [ecx + 8], edx
push ecx
mov dword [ecx + 0xc], edx
call dword [ebp + 0x24]
mov eax, dword [ebp - 4]
add esp, 0x14
mov edx, dword [ebp + 0x18]
inc eax
bswap eax
mov dword [edx + 0xc], eax
jne 0x1009f30a
mov ecx, 0xc
lea esp, [esp]
dec ecx
inc byte [ecx + edx]
jne 0x1009f30a
test ecx, ecx
jne 0x1009f300
mov eax, dword [ebp + 0x1c]
sub ebx, eax
mov edx, dword [ebp + 0x10]
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
lea esp, [esp]
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
dec esi
jne 0x1009f320
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1009f360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
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 0x1009f398
mov edx, dword [ebp + 0x18]
test edi, edi
je 0x1009f398
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 0x1009f381
cmp edi, 0x10
jb 0x1009f414
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 0x1009f3cb
mov edx, dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push edx
call dword [ebp + 0x20]
add esp, 0xc
cmp esi, 0x10
jae 0x1009f400
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 edi, edi
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
dec edx
jne 0x1009f3f0
add dword [ebp - 4], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
dec dword [ebp - 8]
jne 0x1009f3c8
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x1009f445
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
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x1009f435
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1009f8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x38]
or eax, dword [ebx + 0x3c]
je 0x1009f8fc
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, esi
add eax, dword [ebx + 0x30]
adc ecx, dword [ebx + 0x34]
cmp ecx, 0x20000000
ja 0x1009f9c0
jb 0x1009f920
test eax, eax
jne 0x1009f9c0
push edi
mov edi, dword [ebx + 0x16c]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
test edi, edi
je 0x1009f967
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
je 0x1009f94e
mov al, byte [ecx]
dec esi
xor byte [edi + ebx + 0x40], al
inc ecx
inc edi
mov dword [ebp - 4], ecx
and edi, 0xf
jne 0x1009f937
jmp 0x1009f952
test edi, edi
jne 0x1009f9b1
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.100a07b0
mov eax, dword [ebp - 4]
add esp, 8
jmp 0x1009f96d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, esi
and ecx, 0xfffffff0
mov dword [ebp - 8], ecx
je 0x1009f991
push ecx
push eax
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.100a05f0
mov eax, dword [ebp - 8]
add esp, 0x10
add dword [ebp - 4], eax
sub esi, eax
test esi, esi
je 0x1009f9b1
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x1009f9b1
lea edx, [ebx + 0x40]
mov ebx, dword [ebp - 4]
mov al, byte [ecx + ebx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jb 0x1009f9a3
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x16c], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a0420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp edi, 0xc
jne 0x100a04bb
mov ecx, dword [ebp + 0xc]
mov edi, 1
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x100a0592
push ebx
mov ebx, edi
mov dword [ebp - 0xc], ebx
cmp edi, 0x10
jb 0x100a0538
mov edx, dword [ebp + 0xc]
lea eax, [esi + 0x60]
mov ecx, edi
mov dword [ebp - 8], eax
shr ecx, 4
mov ebx, edx
mov eax, ecx
mov dword [ebp - 4], ecx
shl eax, 4
sub ebx, esi
add edx, eax
mov dword [ebp + 0x10], edx
lea edx, [esi + 2]
mov eax, esi
add edx, ebx
mov esi, 4
movzx ecx, byte [ebx + eax]
lea eax, [eax + 4]
xor byte [eax - 4], cl
lea edx, [edx + 4]
movzx ecx, byte [edx - 5]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 2], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 1], cl
dec esi
jne 0x100a04f1
push dword [ebp - 8]
mov esi, dword [ebp + 8]
push esi
call fcn.100a07b0
add esp, 8
add ebx, 0x10
sub edi, 0x10
dec dword [ebp - 4]
jne 0x100a04e5
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0xc]
jmp 0x100a053b
mov eax, dword [ebp + 0xc]
test edi, edi
je 0x100a056c
sub eax, esi
mov ecx, esi
mov dword [ebp + 0x10], eax
mov esi, eax
jmp 0x100a0550
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edi
jne 0x100a0550
mov esi, dword [ebp + 8]
lea eax, [esi + 0x60]
push eax
push esi
call fcn.100a07b0
add esp, 8
xor eax, eax
shld eax, ebx, 3
bswap eax
xor dword [esi + 8], eax
lea eax, [esi + 0x60]
shl ebx, 3
push eax
bswap ebx
xor dword [esi + 0xc], ebx
push esi
call fcn.100a07b0
mov edi, dword [esi + 0xc]
add esp, 8
bswap edi
pop ebx
push dword [esi + 0x174]
lea eax, [esi + 0x20]
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 0x100a05f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
push esi
lea ebx, [eax + 0xe]
sub ecx, eax
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
lea esp, [esp]
movzx eax, byte [edx + 0xf]
movzx ecx, byte [ebx + 1]
mov esi, dword [ebp + 0xc]
xor ecx, eax
mov ebx, ecx
mov dword [ebp + 0x10], 0
and ecx, 0xf
mov dword [ebp - 0x18], 0xe
add ecx, ecx
and ebx, 0xfffffff0
mov eax, dword [esi + ecx*8]
mov edi, dword [esi + ecx*8 + 4]
mov edx, dword [esi + ecx*8 + 8]
mov ecx, dword [esi + ecx*8 + 0xc]
mov esi, edx
shrd edx, ecx, 4
mov dword [ebp - 0x1c], eax
and esi, 0xf
or dword [ebp + 0x10], edx
shr ecx, 4
shl eax, 0x1c
mov edx, dword [esi*4 + 0x101147d0]
or eax, ecx
xor ecx, ecx
xor esi, esi
mov ecx, dword [ebp - 0x1c]
shrd ecx, edi, 4
shr edi, 4
xor esi, ecx
mov ecx, dword [ebp + 0xc]
xor edx, edi
mov edi, dword [ebp + 0x10]
xor esi, dword [ebx + ecx]
xor edx, dword [ebx + ecx + 4]
xor edi, dword [ebx + ecx + 8]
xor eax, dword [ebx + ecx + 0xc]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ebx
jmp 0x100a06a0
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 0x10], 0
movzx edx, byte [ecx + ebx]
movzx ecx, byte [ebx]
mov ebx, esi
xor edx, ecx
shl ebx, 0x1c
mov ecx, edx
xor esi, esi
shr ecx, 4
and edx, 0xf
mov dword [ebp - 0x20], ecx
add edx, edx
mov ecx, edi
shrd edi, eax, 4
and ecx, 0xf
shr eax, 4
or esi, edi
or ebx, eax
xor edi, edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
mov ebx, dword [ecx*4 + 0x101147d0]
mov ecx, dword [ebp - 0x10]
shrd ecx, eax, 4
xor edi, ecx
shr eax, 4
mov ecx, dword [ebp + 0xc]
xor ebx, eax
mov eax, dword [ebp - 4]
xor eax, dword [ecx + edx*8 + 0xc]
xor ebx, dword [ecx + edx*8 + 4]
xor edi, dword [ecx + edx*8]
xor esi, dword [ecx + edx*8 + 8]
mov dword [ebp - 4], eax
mov ecx, esi
mov edx, dword [ebp - 4]
and ecx, 0xf
shrd esi, edx, 4
mov eax, edi
or dword [ebp + 0x10], esi
xor esi, esi
mov ecx, dword [ecx*4 + 0x101147d0]
shrd edi, ebx, 4
shr edx, 4
shl eax, 0x1c
xor esi, edi
mov edi, dword [ebp + 0x10]
or eax, edx
mov edx, dword [ebp - 0x20]
shr ebx, 4
add edx, edx
xor ecx, ebx
mov ebx, dword [ebp + 0xc]
xor esi, dword [ebx + edx*8]
xor ecx, dword [ebx + edx*8 + 4]
xor edi, dword [ebx + edx*8 + 8]
xor eax, dword [ebx + edx*8 + 0xc]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
dec edx
dec ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ebx
test edx, edx
jns 0x100a06a0
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
sub dword [ebp - 0xc], 0x10
add ebx, 0x10
sub dword [ebp + 0x14], 0x10
bswap esi
bswap ecx
bswap edi
bswap eax
mov dword [edx], ecx
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], edi
mov dword [ebp - 8], ebx
jne 0x100a0610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret