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

Disassembly:
mov eax, 0x28
call fcn.100657e0
mov eax, dword [0x10240114]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], 0
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
shl eax, 8
or edx, eax
movzx ebx, byte [edi + 4]
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 7]
shl eax, 0x10
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], edx
movzx eax, byte [edi + 6]
or ecx, eax
mov byte [esp + 0x2c], dl
mov eax, edx
shl ecx, 0x10
shr eax, 8
or ebx, ecx
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x20], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x33], al
test ebp, ebp
je 0x10146e65
mov edi, dword [esp + 0x3c]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x10146e12
push 1
push dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
call fcn.10134090
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov eax, edx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x2c], dl
mov byte [esp + 0x30], bl
mov byte [esp + 0x33], al
mov al, byte [esp + esi + 0x2c]
inc esi
mov ecx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
test ebp, ebp
jne 0x10146db0
test ecx, ecx
je 0x10146e65
mov ecx, dword [esp + 0x28]
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 5], al
mov eax, ebx
mov byte [ecx], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ecx + 4], bl
shr ebx, 0x18
mov byte [ecx + 3], dl
mov byte [ecx + 6], al
mov byte [ecx + 7], bl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100645b9
add esp, 0x28
ret
Function at 0x10147910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.100657e0
mov eax, dword [0x10240114]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], 0
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
shl eax, 8
or edx, eax
movzx ebx, byte [edi + 4]
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 7]
shl eax, 0x10
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], edx
movzx eax, byte [edi + 6]
or ecx, eax
mov byte [esp + 0x34], dl
mov eax, edx
shl ecx, 0x10
shr eax, 8
or ebx, ecx
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x20], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
test ebp, ebp
je 0x10147abf
mov edi, dword [esp + 0x44]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x10147a68
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push eax
call fcn.10136020
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov ebx, dword [esp + 0x20]
mov eax, edx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x34], dl
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
mov al, byte [esp + esi + 0x34]
inc esi
mov ecx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
test ebp, ebp
jne 0x10147a00
test ecx, ecx
je 0x10147abf
mov ecx, dword [esp + 0x30]
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 5], al
mov eax, ebx
mov byte [ecx], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ecx + 4], bl
shr ebx, 0x18
mov byte [ecx + 3], dl
mov byte [ecx + 6], al
mov byte [ecx + 7], bl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100645b9
add esp, 0x30
ret
Function at 0x10149310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.100657e0
mov eax, dword [0x10240114]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], 0
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
movzx ebx, byte [edi + 4]
shl eax, 0x10
movzx ecx, byte [edi + 6]
shl edx, 0x18
or edx, eax
shl ebx, 0x18
movzx eax, byte [edi + 2]
shl eax, 8
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 3]
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 0x10
or ebx, eax
mov dword [esp + 0x1c], edx
movzx eax, byte [edi + 7]
or ecx, eax
mov byte [esp + 0x2f], dl
mov eax, edx
or ebx, ecx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 8
mov dword [esp + 0x20], ebx
mov byte [esp + 0x32], al
mov byte [esp + 0x33], bl
test ebp, ebp
je 0x101494a7
mov edi, dword [esp + 0x3c]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x10149450
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.10148910
mov edx, dword [esp + 0x24]
add esp, 8
mov ebx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 8
inc dword [esp + 0x14]
mov byte [esp + 0x2f], dl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], bl
mov al, byte [esp + esi + 0x2c]
inc esi
mov ecx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
test ebp, ebp
jne 0x101493f0
test ecx, ecx
je 0x101494a7
mov ecx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [ecx], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, edx
shr eax, 8
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 3], dl
mov byte [ecx + 6], al
mov byte [ecx + 7], bl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100645b9
add esp, 0x28
ret
Function at 0x1014a000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.100657e0
mov eax, dword [0x10240114]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], 0
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
shl eax, 8
or edx, eax
movzx ebx, byte [edi + 4]
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 7]
shl eax, 0x10
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], edx
movzx eax, byte [edi + 6]
or ecx, eax
mov byte [esp + 0x2c], dl
mov eax, edx
shl ecx, 0x10
shr eax, 8
or ebx, ecx
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x20], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x33], al
test ebp, ebp
je 0x1014a193
mov edi, dword [esp + 0x3c]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x1014a140
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.10149cc0
mov edx, dword [esp + 0x24]
add esp, 8
mov ebx, dword [esp + 0x20]
mov eax, edx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x2c], dl
mov byte [esp + 0x30], bl
mov byte [esp + 0x33], al
mov al, byte [esp + esi + 0x2c]
inc esi
mov ecx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
test ebp, ebp
jne 0x1014a0e0
test ecx, ecx
je 0x1014a193
mov ecx, dword [esp + 0x28]
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 5], al
mov eax, ebx
mov byte [ecx], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ecx + 4], bl
shr ebx, 0x18
mov byte [ecx + 3], dl
mov byte [ecx + 6], al
mov byte [ecx + 7], bl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100645b9
add esp, 0x28
ret
Function at 0x1014ac80
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.1014aea0
add esp, 0xc
test eax, eax
js 0x1014ae87
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x1014ad00
lea esi, [ebp + 8]
lea esi, [esi + edi*4]
lea eax, [ebp + 8]
nop dword [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 0x1014acc0
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x1014ae82
lea esi, [ebp + 4]
movzx eax, byte [esi + 0xd]
lea esi, [esi + 0x10]
mov edx, dword [esi - 4]
inc edi
movzx ecx, byte [eax*4 + 0x102030a0]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x102044a0]
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x10203ca0]
movzx eax, byte [esi - 2]
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x102040a0]
movzx eax, dl
mov edx, dword [esi]
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x102048a0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi - 4], ecx
movzx ecx, byte [eax*4 + 0x102030a0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x102040a0]
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x102044a0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x10203ca0]
movzx eax, dl
mov edx, dword [esi + 4]
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x102048a0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi], ecx
movzx ecx, byte [eax*4 + 0x102030a0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x102040a0]
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x102044a0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x10203ca0]
movzx eax, dl
mov edx, dword [esi + 8]
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x102048a0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi + 4], ecx
movzx ecx, byte [eax*4 + 0x102030a0]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x102040a0]
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x102044a0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x10203ca0]
movzx eax, dl
movzx eax, byte [eax*4 + 0x102030a0]
xor ecx, dword [eax*4 + 0x102048a0]
mov dword [esi + 8], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x1014ad14
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1014b9c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.100657e0
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x34]
mov edi, dword [edi]
mov dword [esp + 0x10], edi
test edi, edi
je 0x1014ba09
mov ecx, dword [esp + 0x30]
nop dword [eax]
test esi, esi
je 0x1014ba09
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
mov dword [esp + 0x10], edi
jne 0x1014b9f0
mov edx, dword [esp + 0x2c]
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x24], ecx
cmp esi, 0x10
jb 0x1014bada
nop dword [eax]
mov eax, esi
mov edx, ecx
shr eax, 4
xor edi, edi
add ecx, eax
cmp ecx, eax
cmovae edi, ecx
neg edx
mov dword [esp + 0x24], edi
cmp ecx, eax
mov edi, dword [esp + 0x2c]
push edi
push dword [esp + 0x2c]
cmovae edx, eax
push edx
push ebx
push ebp
mov dword [esp + 0x28], edx
call dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
add esp, 0x14
mov eax, edx
mov byte [edi + 0xf], dl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, edx
shr eax, 8
mov byte [edi + 0xe], al
test edx, edx
jne 0x1014bab6
mov edx, 0xc
mov eax, 1
nop
movzx ecx, byte [edx + edi - 1]
dec edx
add eax, ecx
mov byte [edx + edi], al
shr eax, 8
test edx, edx
jne 0x1014baa0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, edx
shl eax, 4
sub esi, eax
add ebx, eax
add ebp, eax
cmp esi, 0x10
jae 0x1014ba40
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2c]
test esi, esi
je 0x1014bb48
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
push edx
push dword [esp + 0x2c]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xe], al
mov byte [edx + 0xf], cl
test ecx, ecx
jne 0x1014bb29
push edx
call fcn.1014bb90
add esp, 4
mov eax, dword [esp + 0x30]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x1014bb36
mov eax, dword [esp + 0x34]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1014c190
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.100657e0
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x38]
or eax, dword [ebp + 0x3c]
je 0x1014c1af
mov eax, 0xfffffffe
pop ebp
pop ecx
ret
push esi
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov eax, esi
add eax, dword [ebp + 0x30]
adc ecx, dword [ebp + 0x34]
cmp ecx, 0x20000000
ja 0x1014c27f
jb 0x1014c1d4
test eax, eax
jne 0x1014c27f
push ebx
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebp + 0x16c]
mov dword [ebp + 0x30], eax
mov dword [esp + 0x14], ecx
push edi
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x1014c220
nop
test esi, esi
je 0x1014c271
mov al, byte [edi]
dec esi
xor byte [ecx + ebp + 0x40], al
inc edi
inc ecx
and ecx, 0xf
mov dword [esp + 0x18], ecx
jne 0x1014c1f0
lea eax, [ebp + 0x60]
push eax
lea ebx, [ebp + 0x40]
push ebx
call fcn.1014d830
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x1014c223
lea ebx, [ebp + 0x40]
mov eax, esi
lea ecx, [ebp + 0x60]
and eax, 0xfffffff0
mov dword [esp + 0x10], eax
je 0x1014c245
push eax
push edi
push ecx
push ebx
call fcn.1014d600
add edi, dword [esp + 0x20]
add esp, 0x10
sub esi, dword [esp + 0x10]
test esi, esi
je 0x1014c26d
mov ecx, esi
nop dword [eax + eax]
mov al, byte [edi]
lea edi, [edi + 1]
xor byte [ebx], al
lea ebx, [ebx + 1]
sub esi, 1
jne 0x1014c250
pop edi
pop ebx
pop esi
mov dword [ebp + 0x16c], ecx
xor eax, eax
pop ebp
pop ecx
ret
mov ecx, dword [esp + 0x18]
pop edi
pop ebx
pop esi
mov dword [ebp + 0x16c], ecx
xor eax, eax
pop ebp
pop ecx
ret
pop esi
or eax, 0xffffffff
pop ebp
pop ecx
ret
Function at 0x1014d3d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.100657e0
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
push edi
mov dword [esi + 0x30], 0
lea edi, [esi + 0x40]
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 ebp, 0xc
jne 0x1014d43f
mov eax, dword [esp + 0x28]
lea ebx, [ebp - 0xb]
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x1000000
jmp 0x1014d572
mov ebx, dword [esp + 0x28]
lea edx, [esi + 0x60]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [esi + 0x48], 0
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x4c], 0
mov dword [esp + 0x14], edx
cmp ebp, 0x10
jb 0x1014d4df
mov eax, ebp
lea ecx, [esi + 0x41]
shr eax, 4
mov esi, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
lea edx, [ebx + 2]
mov eax, ecx
mov edi, 4
nop word [eax + eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 5]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 2], cl
sub edi, 1
jne 0x1014d490
push dword [esp + 0x14]
push esi
call fcn.1014d830
mov ecx, dword [esp + 0x20]
add esp, 8
add ebx, 0x10
sub ebp, 0x10
sub dword [esp + 0x2c], 1
jne 0x1014d480
mov esi, dword [esp + 0x24]
lea edi, [esi + 0x40]
lea edx, [esi + 0x60]
test ebp, ebp
je 0x1014d4fe
mov ecx, edi
mov al, byte [ebx]
lea ebx, [ebx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub ebp, 1
jne 0x1014d4e5
push edx
push edi
call fcn.1014d830
add esp, 8
mov edx, dword [esp + 0x1c]
xor ebx, ebx
shld ebx, edx, 3
xor byte [esi + 0x4b], bl
mov eax, ebx
shl edx, 3
xor byte [esi + 0x4f], dl
mov ecx, edx
shrd ecx, eax, 0x18
mov eax, ebx
xor byte [esi + 0x4c], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
xor byte [esi + 0x4d], cl
shrd eax, ebx, 8
xor byte [esi + 0x4e], al
lea eax, [esi + 0x60]
push eax
push edi
call fcn.1014d830
movzx ebx, byte [esi + 0x4c]
add esp, 8
movzx eax, byte [esi + 0x4d]
mov ecx, dword [edi + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0x4e]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0x4f]
shl ebx, 8
or ebx, eax
mov eax, dword [edi]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [edi], 0
lea eax, [esi + 0x20]
mov dword [edi + 4], 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
inc ebx
add esp, 0xc
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
pop edi
shr eax, 8
mov byte [esi + 0xe], al
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1014e100
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.100657e0
mov eax, dword [0x10240114]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
push edi
mov edi, dword [esp + 0x50]
mov al, byte [esi]
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov byte [esp + 0x13], al
lea eax, [esi + 0x10]
test byte [esp + 0x13], 0x40
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
jne 0x1014e15f
push ecx
push eax
push esi
call ebx
mov edx, dword [esp + 0x20]
add esp, 0xc
movzx eax, byte [esp + 0x13]
mov ebx, 0xf
and eax, 7
xor ecx, ecx
sub ebx, eax
mov byte [esi], al
mov dword [esp + 0x28], ebx
cmp ebx, 0xf
jae 0x1014e193
nop dword [eax + eax]
movzx eax, byte [esi + ebx]
or ecx, eax
mov byte [esi + ebx], 0
inc ebx
shl ecx, 8
cmp ebx, 0xf
jb 0x1014e180
movzx eax, byte [esi + 0xf]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x1014e1b7
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100645b9
add esp, 0x30
ret
mov ebx, edi
shr ebx, 4
test ebx, ebx
je 0x1014e1f3
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x20]
push ebx
push edx
push ebp
call dword [esp + 0x38]
shl ebx, 4
add esp, 0x18
add dword [esp + 0x14], ebx
add ebp, ebx
sub edi, ebx
je 0x1014e24d
shr ebx, 4
push ebx
push esi
call fcn.1014ea90
mov ebx, dword [esp + 0x1c]
add esp, 8
jmp 0x1014e1fd
mov ebx, dword [esp + 0x14]
mov eax, edi
test eax, eax
je 0x1014e24d
push dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test edi, edi
je 0x1014e238
lea ecx, [esp + 0x2c]
mov eax, ecx
lea edx, [esi + 0x10]
sub ebp, eax
sub ebx, eax
nop
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [ebx + ecx - 1], al
xor byte [edx - 1], al
sub edi, 1
jne 0x1014e220
mov ebp, dword [esp + 0x18]
lea ebx, [esi + 0x10]
mov edi, dword [esp + 0x1c]
push ebp
push ebx
push ebx
call edi
add esp, 0xc
jmp 0x1014e258
mov edi, dword [esp + 0x1c]
lea ebx, [esi + 0x10]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jae 0x1014e277
mov eax, 0x10
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.1007d020
add esp, 0xc
push ebp
lea eax, [esp + 0x30]
push eax
push esi
call edi
mov eax, dword [esp + 0x38]
add esp, 0xc
xor dword [ebx], eax
mov eax, dword [esp + 0x30]
xor dword [ebx + 4], eax
mov eax, dword [esp + 0x34]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x38]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x3c]
pop edi
mov byte [esi], al
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100645b9
add esp, 0x30
ret