Function at 0x101c0af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x101c0b06
lea eax, [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x101c0b17
lea eax, [esi + 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp edi, 0x10
ja 0x101c0bef
cmp edi, 4
jb 0x101c0ba8
shr edi, 1
and edi, 0x7ffffffc
lea eax, [edi + esi]
push eax
call fcn.101ba1a0
push esi
mov dword [ebp + 8], eax
call fcn.101ba1a0
xor ecx, ecx
or ecx, eax
mov eax, esi
sub eax, edi
mov dword [ebp - 0xc], ecx
mov edi, dword [ebp + 0x10]
add eax, 0xfffffffc
add eax, edi
push eax
call fcn.101ba1a0
mov dword [ebp - 0x1c], eax
lea eax, [esi - 4]
add eax, edi
push eax
call fcn.101ba1a0
mov esi, dword [ebp - 0x1c]
xor edx, edx
add esp, 0x10
or edx, eax
jmp 0x101c0d49
test edi, edi
je 0x101c0bce
push edi
push esi
call fcn.101c0a60
xorps xmm0, xmm0
add esp, 8
movlpd qword [ebp - 0x34], xmm0
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0xc], ecx
jmp 0x101c0d4c
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov eax, dword [ebp - 0x28]
movlpd qword [ebp - 0x34], xmm0
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
jmp 0x101c0d4c
mov dword [ebp - 0xc], edi
cmp edi, 0x30
jbe 0x101c0ccc
mov ebx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ecx
lea esp, [esp]
lea eax, [esi + 8]
push eax
call fcn.101bbac0
xor edx, dword [ebp - 4]
add esp, 4
xor eax, ebx
push edx
push eax
push esi
call fcn.101bbac0
xor edx, dword [ebp - 0x14]
add esp, 4
xor eax, dword [ebp - 0x10]
push edx
push eax
call fcn.101c0eb0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], edx
push ecx
mov ebx, eax
call fcn.101bbac0
xor edx, dword [ebp - 0x18]
add esp, 0x14
xor eax, dword [ebp - 8]
push edx
push eax
lea eax, [esi + 0x10]
push eax
call fcn.101bbac0
xor edx, dword [ebp - 0x24]
add esp, 4
xor eax, dword [ebp - 0x20]
push edx
push eax
call fcn.101c0eb0
lea ecx, [esi + 0x28]
mov dword [ebp - 8], eax
push ecx
mov dword [ebp - 0x18], edx
call fcn.101bbac0
xor edx, dword [ebp - 0x1c]
add esp, 0x14
xor eax, dword [ebp - 0xc]
push edx
push eax
lea eax, [esi + 0x20]
push eax
call fcn.101bbac0
xor edx, dword [ebp - 0x30]
add esp, 4
xor eax, dword [ebp - 0x28]
push edx
push eax
call fcn.101c0eb0
sub edi, 0x30
mov dword [ebp - 0xc], eax
add esp, 0x10
mov dword [ebp - 0x1c], edx
add esi, 0x30
mov ecx, edx
cmp edi, 0x30
ja 0x101c0c10
xor eax, dword [ebp - 8]
xor ecx, dword [ebp - 0x18]
xor ebx, eax
xor dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], edi
cmp edi, 0x10
jbe 0x101c0d25
mov ebx, dword [ebp - 0xc]
add edi, 0xffffffef
shr edi, 4
inc edi
jmp 0x101c0ce0
lea eax, [esi + 8]
push eax
call fcn.101bbac0
xor edx, dword [ebp - 4]
add esp, 4
xor eax, dword [ebp - 8]
push edx
push eax
push esi
call fcn.101bbac0
xor edx, dword [ebp - 0x14]
add esp, 4
xor eax, dword [ebp - 0x10]
push edx
push eax
call fcn.101c0eb0
add esp, 0x10
mov dword [ebp - 8], eax
sub ebx, 0x10
mov dword [ebp - 4], edx
add esi, 0x10
dec edi
jne 0x101c0ce0
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
lea eax, [esi - 0x10]
add eax, edi
push eax
call fcn.101bbac0
mov dword [ebp + 8], eax
lea eax, [esi - 8]
add eax, edi
mov dword [ebp - 0xc], edx
push eax
call fcn.101bbac0
mov edi, dword [ebp + 0x10]
add esp, 8
mov esi, eax
mov eax, dword [ebp + 8]
xor edx, dword [ebp - 4]
xor ecx, ecx
xor ecx, dword [ebp - 0x14]
xor esi, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
xor edi, dword [ebp - 0x10]
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x14]
push edx
push esi
push ecx
push eax
mov dword [ebx + 8], edi
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], edx
call fcn.101c0eb0
push edx
push eax
push dword [ebx + 0xc]
push edi
call fcn.101c0eb0
push edx
push eax
call fcn.101c0e60
xor dword [ebx], eax
add esp, 0x28
xor dword [ebx + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret