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

Disassembly:
sub esp, 0x38
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, ecx
push ebp
movups xmm0, xmmword [eax]
push esi
mov ebp, dword [ebx + 4]
xor esi, esi
movups xmmword [esp + 0x20], xmm0
sub ebp, 6
mov dword [esp + 0x14], ebx
movups xmm0, xmmword [eax + 0x10]
push edi
xor edi, edi
mov dword [esp + 0x1c], ebp
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
movups xmmword [esp + 0x34], xmm0
test ebp, ebp
jle 0x1010ec53
nop dword [eax]
cmp edi, dword [ebx + 4]
jg 0x1010ec4b
cmp esi, ebp
jge 0x1010ec32
nop dword [eax]
cmp eax, 4
jge 0x1010ec32
movzx ecx, byte [esp + esi*4 + 0x24]
lea edx, [eax + edi*4]
mov byte [ebx + edx*4 + 0x18], cl
inc eax
movzx ecx, byte [esp + esi*4 + 0x25]
mov byte [ebx + edx*4 + 0x19], cl
movzx ecx, byte [esp + esi*4 + 0x26]
mov byte [ebx + edx*4 + 0x1a], cl
movzx ecx, byte [esp + esi*4 + 0x27]
inc esi
mov byte [ebx + edx*4 + 0x1b], cl
cmp esi, ebp
jl 0x1010ec00
cmp eax, 4
lea ecx, [edi + 1]
cmovne ecx, edi
mov edi, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, ebp
jl 0x1010ebf0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
cmp edi, dword [ebx + 4]
jg 0x1010ee30
mov esi, 0x101a3980
movzx ecx, byte [esp + ebp*4 + 0x21]
mov dl, byte [esp + 0x24]
xor dl, byte [ecx + 0x101a3990]
mov byte [esp + 0x24], dl
movzx ecx, byte [esp + ebp*4 + 0x22]
mov dh, byte [ecx + 0x101a3990]
xor dh, byte [esp + 0x25]
mov byte [esp + 0x25], dh
movzx ecx, byte [esp + ebp*4 + 0x23]
movzx ecx, byte [ecx + 0x101a3990]
xor byte [esp + 0x26], cl
movzx ecx, byte [esp + ebp*4 + 0x20]
movzx ecx, byte [ecx + 0x101a3990]
xor byte [esp + 0x27], cl
movzx ecx, byte [esi]
inc esi
xor cl, dl
mov dword [esp + 0x20], esi
mov byte [esp + 0x24], cl
cmp ebp, 8
je 0x1010ed04
cmp ebp, 1
jle 0x1010ecf5
lea ebx, [esp + 0x25]
lea edi, [ebp - 1]
movzx ecx, byte [ebx - 1]
lea esi, [ebx]
xor byte [esi + 3], cl
lea ebx, [esi + 4]
movzx ecx, byte [esi + 1]
xor byte [esi + 5], cl
mov dl, byte [ebx]
movzx ecx, byte [esi + 2]
xor dl, dh
xor byte [esi + 6], cl
mov dh, dl
mov byte [ebx], dl
sub edi, 1
jne 0x1010ecc6
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
xor esi, esi
test ebp, ebp
jle 0x1010ee23
jmp 0x1010edc4
lea ebx, [esp + 0x25]
mov edi, 3
nop dword [eax]
movzx ecx, byte [ebx - 1]
lea esi, [ebx]
xor byte [esi + 3], cl
lea ebx, [esi + 4]
movzx ecx, byte [esi + 1]
xor byte [esi + 5], cl
mov dl, byte [ebx]
movzx ecx, byte [esi + 2]
xor dl, dh
xor byte [esi + 6], cl
mov dh, dl
mov byte [ebx], dl
sub edi, 1
jne 0x1010ed10
movzx ecx, byte [esp + 0x30]
lea ebp, [esp + 0x35]
mov dh, byte [esp + 0x35]
mov eax, 3
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
movzx ecx, byte [ecx + 0x101a3990]
xor byte [esp + 0x34], cl
movzx ecx, byte [esp + 0x31]
xor dh, byte [ecx + 0x101a3990]
movzx ecx, byte [esp + 0x32]
mov byte [esp + 0x35], dh
movzx ecx, byte [ecx + 0x101a3990]
xor byte [esp + 0x36], cl
movzx ecx, byte [esp + 0x33]
movzx ecx, byte [ecx + 0x101a3990]
xor byte [esp + 0x37], cl
nop dword [eax + eax]
movzx ecx, byte [ebp - 1]
lea esi, [ebp]
xor byte [esi + 3], cl
lea ebp, [esi + 4]
movzx ecx, byte [esi + 1]
xor byte [esi + 5], cl
mov dl, byte [ebp]
movzx ecx, byte [esi + 2]
xor dl, dh
xor byte [esi + 6], cl
mov dh, dl
mov byte [ebp], dl
sub eax, 1
jne 0x1010ed90
mov eax, dword [esp + 0x14]
xor esi, esi
mov ebp, dword [esp + 0x1c]
cmp edi, dword [ebx + 4]
jg 0x1010ee1b
cmp esi, ebp
jge 0x1010ee02
nop dword [eax]
cmp eax, 4
jge 0x1010ee02
movzx ecx, byte [esp + esi*4 + 0x24]
lea edx, [eax + edi*4]
mov byte [ebx + edx*4 + 0x18], cl
inc eax
movzx ecx, byte [esp + esi*4 + 0x25]
mov byte [ebx + edx*4 + 0x19], cl
movzx ecx, byte [esp + esi*4 + 0x26]
mov byte [ebx + edx*4 + 0x1a], cl
movzx ecx, byte [esp + esi*4 + 0x27]
inc esi
mov byte [ebx + edx*4 + 0x1b], cl
cmp esi, ebp
jl 0x1010edd0
cmp eax, 4
lea ecx, [edi + 1]
cmovne ecx, edi
mov edi, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, ebp
jl 0x1010edc4
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x20]
cmp edi, dword [ebx + 4]
jle 0x1010ec61
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10151433
add esp, 0x38
ret 4