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

Disassembly:
mov eax, 0x30
call fcn.101bea50
mov eax, dword [0x102f8384]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
push esi
push edi
mov edi, dword [esp + 0x50]
mov esi, dword [eax]
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0
test esi, esi
jns 0x10189961
pop edi
pop esi
mov dword [eax], 0xffffffff
pop ebp
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101bdc82
add esp, 0x30
ret
movzx eax, byte [edi + 1]
push ebx
mov bh, byte [edi]
mov bl, byte [edi + 4]
movzx ecx, bh
shl ecx, 8
or ecx, eax
movzx edx, bl
movzx eax, byte [edi + 2]
shl eax, 8
mov dword [esp + 0x28], ecx
shl ecx, 0x10
or ecx, eax
shl edx, 8
movzx eax, byte [edi + 3]
or ecx, eax
mov byte [esp + 0x38], bl
movzx eax, byte [edi + 5]
or edx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x1c]
mov edi, edx
shl edi, 0x10
mov byte [esp + 0x39], dl
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 7]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x28]
or edi, ecx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x35], al
mov edx, edi
mov eax, ecx
mov dword [esp + 0x18], edi
shr eax, 8
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov byte [esp + 0x34], bh
mov byte [esp + 0x37], cl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], dl
test ebp, ebp
je 0x10189abe
mov edi, dword [esp + 0x44]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x10189a61
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
call fcn.10188ef0
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
inc dword [esp + 0x14]
mov byte [esp + 0x37], cl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], dl
mov al, byte [esp + esi + 0x34]
inc esi
mov ebx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ebx + edi], al
inc edi
mov ebx, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
jne 0x10189a01
test ebx, ebx
je 0x10189abe
mov ebx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x18
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ebx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 5], al
mov eax, edx
shr eax, 8
mov byte [ebx + 3], cl
mov byte [ebx + 6], al
mov byte [ebx + 7], dl
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
pop ebx
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor ecx, esp
call fcn.101bdc82
add esp, 0x30
ret
Function at 0x10189ae0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, 0x400
push ebx
mov ebx, 0x80
mov edx, ebx
cmp dword [esp + 0xc], edx
push ebp
cmovle edx, dword [esp + 0x10]
mov ebp, ecx
test eax, eax
push esi
cmovg ebp, eax
push edi
mov edi, dword [esp + 0x14]
cmp ebp, ecx
cmovg ebp, ecx
mov dword [esp + 0x14], ebp
mov byte [edi], 0
test edx, edx
jle 0x10189b34
mov ebp, dword [esp + 0x1c]
mov ecx, edi
sub ebp, edi
mov esi, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x10189b22
mov ebp, dword [esp + 0x14]
movzx esi, byte [edx + edi - 1]
cmp edx, ebx
jge 0x10189b5c
mov ecx, edi
nop
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
add eax, esi
movzx eax, al
mov al, byte [eax + 0x102d3880]
mov byte [edx + edi], al
inc edx
movzx esi, al
cmp edx, ebx
jl 0x10189b40
mov ecx, dword [esp + 0x14]
add ebp, 7
sar ebp, 3
neg ecx
sub ebx, ebp
and ecx, 7
movzx eax, byte [ebx + edi]
lea esi, [ebx + edi]
mov edx, 0xff
sar edx, cl
and edx, eax
mov al, byte [edx + 0x102d3880]
movzx ecx, al
mov byte [esi], al
test ebx, ebx
je 0x10189baa
nop dword [eax]
movzx eax, byte [esi + ebp - 1]
lea esi, [esi - 1]
xor eax, ecx
mov al, byte [eax + 0x102d3880]
movzx ecx, al
mov byte [esi], al
sub ebx, 1
jne 0x10189b90
lea esi, [edi + 0xfc]
mov edx, 0x7f
nop word [eax + eax]
movzx ecx, byte [edx + edi]
lea esi, [esi - 4]
movzx eax, byte [edi + edx - 1]
shl ecx, 8
or ecx, eax
sub edx, 2
mov dword [esi + 4], ecx
jns 0x10189bc0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1018a630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.101bea50
mov eax, dword [0x102f8384]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
movzx ecx, byte [edx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov bl, byte [edx + 3]
mov esi, dword [eax]
movzx eax, byte [edx + 1]
shl eax, 8
or ecx, eax
mov ebp, dword [esp + 0x4c]
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x20], edx
movzx eax, bl
shl eax, 0x18
or ecx, eax
mov byte [esp + 0x37], bl
movzx eax, byte [edx + 5]
shl eax, 8
movzx edi, byte [edx + 4]
mov dl, byte [edx + 7]
or edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
movzx ecx, dl
shl ecx, 8
movzx eax, byte [eax + 6]
or ecx, eax
mov dword [esp + 0x14], 0
mov eax, ecx
mov byte [esp + 0x3a], cl
shl eax, 0x10
or edi, eax
mov byte [esp + 0x3b], dl
mov eax, dword [esp + 0x10]
mov ebx, edi
mov dword [esp + 0x24], eax
mov byte [esp + 0x34], al
shr eax, 8
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], al
test ebp, ebp
je 0x1018a7d9
mov edi, dword [esp + 0x44]
sub dword [esp + 0x18], edi
dec ebp
test esi, esi
jne 0x1018a77e
push dword [esp + 0x30]
lea eax, [esp + 0x28]
push eax
call fcn.1018a2f0
mov ecx, dword [esp + 0x2c]
add esp, 8
mov ebx, dword [esp + 0x28]
mov eax, ecx
shr eax, 8
mov edx, dword [esp + 0x14]
mov byte [esp + 0x35], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ecx
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 edx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x34], cl
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
mov dword [esp + 0x14], edx
jmp 0x1018a782
mov edx, dword [esp + 0x14]
mov al, byte [esp + esi + 0x34]
inc esi
mov ecx, dword [esp + 0x18]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x10]
test ebp, ebp
jne 0x1018a713
test edx, edx
je 0x1018a7d9
mov edx, dword [esp + 0x20]
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 2], al
mov eax, ebx
shr eax, 8
mov byte [edx + 5], al
mov eax, ebx
mov byte [edx], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [edx + 4], bl
shr ebx, 0x18
mov byte [edx + 3], cl
mov byte [edx + 6], al
mov byte [edx + 7], bl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101bdc82
add esp, 0x30
ret
Function at 0x1018a800
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
mov eax, 8
call fcn.101bea50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0x1048
push 0x102d3980
push edi
call fcn.101c0150
mov ebx, dword [esp + 0x30]
mov esi, 0x48
add esp, 0xc
mov eax, ebx
cmp dword [esp + 0x20], esi
cmovle esi, dword [esp + 0x20]
add esi, ebx
xor ebp, ebp
nop dword [eax]
movzx edx, byte [eax]
inc eax
cmp eax, esi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, esi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, esi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, esi
cmovae eax, ebx
xor dword [edi + ebp*4], edx
inc ebp
cmp ebp, 0x12
jl 0x1018a840
mov dword [esp + 0x10], 0
xor esi, esi
mov dword [esp + 0x14], 0
nop
lea eax, [esp + 0x10]
push edi
push eax
call fcn.1018b2b0
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [edi + esi*4], eax
mov eax, dword [esp + 0x14]
mov dword [edi + esi*4 + 4], eax
add esi, 2
cmp esi, 0x12
jl 0x1018a890
xor esi, esi
lea eax, [esp + 0x10]
push edi
push eax
call fcn.1018b2b0
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [edi + esi*4 + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [edi + esi*4 + 0x4c], eax
add esi, 2
cmp esi, 0x400
jl 0x1018a8b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1018b880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.101bea50
mov eax, dword [0x102f8384]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
push ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
mov esi, dword [eax]
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x4c]
mov bh, byte [edi]
movzx eax, byte [edi + 1]
mov bl, byte [edi + 4]
movzx ecx, bh
shl ecx, 8
or ecx, eax
mov dword [esp + 0x1c], edi
movzx eax, byte [edi + 2]
shl eax, 8
mov dword [esp + 0x28], ecx
shl ecx, 0x10
or ecx, eax
movzx edx, bl
movzx eax, byte [edi + 3]
or ecx, eax
shl edx, 8
movzx eax, byte [edi + 5]
or edx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x1c]
mov edi, edx
shl edi, 0x10
mov byte [esp + 0x39], dl
mov dword [esp + 0x14], 0
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 7]
shl ecx, 8
or ecx, eax
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x28]
or edi, ecx
mov ecx, dword [esp + 0x34]
mov edx, edi
mov byte [esp + 0x35], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov byte [esp + 0x34], bh
mov byte [esp + 0x37], cl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], dl
test ebp, ebp
je 0x1018ba1c
mov edi, dword [esp + 0x44]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x1018b9c5
push dword [esp + 0x30]
lea eax, [esp + 0x24]
push eax
call fcn.1018b2b0
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
inc dword [esp + 0x14]
mov byte [esp + 0x37], cl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], dl
mov al, byte [esp + esi + 0x34]
inc esi
mov ebx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ebx + edi], al
inc edi
mov ebx, dword [esp + 0x14]
test ebp, ebp
jne 0x1018b965
test ebx, ebx
je 0x1018ba1c
mov ebx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x18
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ebx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 5], al
mov eax, edx
shr eax, 8
mov byte [ebx + 3], cl
mov byte [ebx + 6], al
mov byte [ebx + 7], dl
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.101bdc82
add esp, 0x30
ret
Function at 0x1018dce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.101bea50
mov eax, dword [0x102f8384]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
push ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
mov esi, dword [eax]
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x4c]
mov bh, byte [edi]
movzx eax, byte [edi + 1]
mov bl, byte [edi + 4]
movzx ecx, bh
shl ecx, 8
or ecx, eax
mov dword [esp + 0x1c], edi
movzx eax, byte [edi + 2]
shl eax, 8
mov dword [esp + 0x28], ecx
shl ecx, 0x10
or ecx, eax
movzx edx, bl
movzx eax, byte [edi + 3]
or ecx, eax
shl edx, 8
movzx eax, byte [edi + 5]
or edx, eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x1c]
mov edi, edx
shl edi, 0x10
mov byte [esp + 0x39], dl
mov dword [esp + 0x14], 0
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 7]
shl ecx, 8
or ecx, eax
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x28]
or edi, ecx
mov ecx, dword [esp + 0x34]
mov edx, edi
mov byte [esp + 0x35], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov byte [esp + 0x34], bh
mov byte [esp + 0x37], cl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], dl
test ebp, ebp
je 0x1018de7c
mov edi, dword [esp + 0x44]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x1018de25
push dword [esp + 0x30]
lea eax, [esp + 0x24]
push eax
call fcn.1018d6d0
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
inc dword [esp + 0x14]
mov byte [esp + 0x37], cl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], dl
mov al, byte [esp + esi + 0x34]
inc esi
mov ebx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ebx + edi], al
inc edi
mov ebx, dword [esp + 0x14]
test ebp, ebp
jne 0x1018ddc5
test ebx, ebx
je 0x1018de7c
mov ebx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x18
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ebx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 5], al
mov eax, edx
shr eax, 8
mov byte [ebx + 3], cl
mov byte [ebx + 6], al
mov byte [ebx + 7], dl
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.101bdc82
add esp, 0x30
ret
Function at 0x1018e960
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.1018eb70
add esp, 0xc
test eax, eax
js 0x1018eb67
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x1018e9e0
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 0x1018e9a0
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x1018eb62
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 + 0x102d6dc8]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x102d81c8]
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d79c8]
movzx eax, byte [esi - 2]
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d7dc8]
movzx eax, dl
mov edx, dword [esi]
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d85c8]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi - 4], ecx
movzx ecx, byte [eax*4 + 0x102d6dc8]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x102d7dc8]
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d81c8]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d79c8]
movzx eax, dl
mov edx, dword [esi + 4]
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d85c8]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi], ecx
movzx ecx, byte [eax*4 + 0x102d6dc8]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x102d7dc8]
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d81c8]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d79c8]
movzx eax, dl
mov edx, dword [esi + 8]
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d85c8]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi + 4], ecx
movzx ecx, byte [eax*4 + 0x102d6dc8]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x102d7dc8]
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d81c8]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d79c8]
movzx eax, dl
movzx eax, byte [eax*4 + 0x102d6dc8]
xor ecx, dword [eax*4 + 0x102d85c8]
mov dword [esi + 8], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x1018e9f4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1018f670
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.101bea50
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 0x1018f6b9
mov ecx, dword [esp + 0x30]
nop dword [eax]
test esi, esi
je 0x1018f6b9
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 0x1018f6a0
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 0x1018f78a
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 0x1018f766
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 0x1018f750
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 0x1018f6f0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2c]
test esi, esi
je 0x1018f7f8
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 0x1018f7d9
push edx
call fcn.1018f840
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 0x1018f7e6
mov eax, dword [esp + 0x34]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1018f870
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.101bea50
mov eax, dword [esp + 0x2c]
push esi
mov esi, dword [eax]
test esi, esi
jns 0x1018f890
mov dword [eax], 0xffffffff
pop esi
add esp, 0x14
ret
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x30]
test esi, esi
je 0x1018f8bc
mov ecx, dword [esp + 0x38]
test edi, edi
je 0x1018f8bc
mov al, byte [esi + ecx]
dec edi
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebp
inc ebx
and esi, 0xf
jne 0x1018f8a7
mov edx, dword [esp + 0x40]
cmp edi, 0x10
jb 0x1018f955
mov ecx, dword [esp + 0x38]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x10], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x18]
jmp 0x1018f904
mov ecx, dword [esp + 0x38]
push dword [esp + 0x34]
push ecx
push ecx
call edx
add esp, 0xc
cmp esi, 0x10
jae 0x1018f937
mov eax, dword [esp + 0x38]
mov edx, 0xf
sub edx, esi
add eax, esi
shr edx, 2
inc edx
mov ecx, dword [eax + ebp]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x1018f925
mov edx, dword [esp + 0x40]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x10], 1
jne 0x1018f900
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test edi, edi
je 0x1018f987
push dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
push eax
push eax
call edx
mov eax, dword [esp + 0x44]
add esp, 0xc
sub ebp, eax
sub ebx, eax
lea ecx, [esi + eax]
add esi, edi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x1018f975
mov eax, dword [esp + 0x3c]
pop edi
pop ebp
pop ebx
mov dword [eax], esi
pop esi
add esp, 0x14
ret
Function at 0x10190130
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.101bea50
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x38]
or eax, dword [ebp + 0x3c]
je 0x1019014f
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 0x1019021f
jb 0x10190174
test eax, eax
jne 0x1019021f
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 0x101901c0
nop
test esi, esi
je 0x10190211
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 0x10190190
lea eax, [ebp + 0x60]
push eax
lea ebx, [ebp + 0x40]
push ebx
call fcn.10191930
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x101901c3
lea ebx, [ebp + 0x40]
mov eax, esi
lea ecx, [ebp + 0x60]
and eax, 0xfffffff0
mov dword [esp + 0x10], eax
je 0x101901e5
push eax
push edi
push ecx
push ebx
call fcn.10191700
add edi, dword [esp + 0x20]
add esp, 0x10
sub esi, dword [esp + 0x10]
test esi, esi
je 0x1019020d
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 0x101901f0
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