Function at 0x100dcbe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101620c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x34], ecx
mov eax, dword [ebx]
xor eax, dword [ecx + 0x100]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x104]
xor eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x108]
xor eax, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0xc]
xor eax, dword [ecx + 0x10c]
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
jne 0x100dcc38
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x14], xmm0
mov ebx, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x24], edx
jmp 0x100dcc45
mov edx, dword [ebp - 0x24]
mov eax, 0x1f
sub eax, edx
cmp byte [ebp + 0xc], 0
cmove edx, eax
and edx, 3
mov esi, dword [ecx + edx*4 + 0x100]
mov edx, dword [ebp - 0x20]
rol edx, 0xb
add edx, ebx
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + ecx]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx]
shl eax, 8
or edi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + ecx]
or edi, eax
movzx eax, dl
mov edx, ebx
shl edi, 8
rol edx, 0x11
xor edx, dword [ebp - 0x20]
movzx eax, byte [eax + ecx]
add edx, esi
or edi, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
xor edi, dword [ebp - 0x28]
movzx esi, byte [eax + ecx]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx]
or esi, eax
movzx eax, dl
shl esi, 8
mov edx, ebx
mov dword [ebp - 0x28], edx
mov ebx, edi
movzx eax, byte [eax + ecx]
or esi, eax
mov eax, dword [ebp - 0x20]
xor esi, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
cmp eax, 0x20
jb 0x100dcc42
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x100]
xor eax, edi
mov dword [ebx], eax
mov eax, dword [ecx + 0x104]
xor eax, esi
mov dword [ebx + 4], eax
mov eax, dword [ecx + 0x108]
xor eax, edx
lea edx, [ebp - 0x14]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0x10c]
xor eax, dword [ebp - 0x18]
cmp byte [ebp + 0xc], 0
mov dword [ebx + 0xc], eax
cmovne edx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x10c]
add edx, 2
mov esi, dword [ecx + 0x100]
mov edi, dword [ecx + 0x104]
mov ebx, dword [ecx + 0x108]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 4
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
xor esi, dword [eax*4 + 0x1016cae0]
mov dword [ecx + 0x100], esi
movzx eax, byte [edx - 5]
xor edi, dword [eax*4 + 0x1016cae0]
mov dword [ecx + 0x104], edi
movzx eax, byte [edx - 4]
xor ebx, dword [eax*4 + 0x1016cae0]
mov dword [ecx + 0x108], ebx
movzx eax, byte [edx - 3]
mov ecx, dword [ebp - 0x18]
xor ecx, dword [eax*4 + 0x1016cae0]
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10c], eax
jne 0x100dcd70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e0010
mov esp, ebp
pop ebp
ret 8