Function at 0x101b9be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [ebp + 8]
push edi
push dword [eax + 0xc]
mov edi, dword [ebp + 0x14]
push dword [eax + 8]
mov eax, edx
mov dword [ebp - 0x28], ecx
xor eax, edi
mov dword [ebp - 0x2c], edx
xor ecx, ebx
push eax
push ecx
call fcn.101b99b0
xor ebx, eax
xor edi, edx
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov dword [ebp - 0xc], edi
cmp eax, 0x10
ja 0x101b9cce
cmp eax, 4
jb 0x101b9c81
mov edi, eax
shr edi, 1
and edi, 0x7ffffffc
lea eax, [edi + esi]
push eax
call fcn.101b9b10
push esi
mov dword [ebp - 4], eax
mov dword [ebp + 8], edx
call fcn.101b9b10
or dword [ebp + 8], eax
mov eax, esi
sub eax, edi
mov edi, dword [ebp + 0xc]
add eax, 0xfffffffc
add eax, edi
push eax
call fcn.101b9b10
mov dword [ebp - 8], eax
lea eax, [edi - 4]
add eax, esi
mov dword [ebp + 0x14], edx
push eax
call fcn.101b9b10
mov edi, dword [ebp - 0xc]
add esp, 0x10
or dword [ebp + 0x14], eax
jmp 0x101b9e3b
test eax, eax
je 0x101b9caa
push eax
push esi
call fcn.101b9ad0
xorps xmm0, xmm0
mov dword [ebp + 8], edx
movlpd qword [ebp - 0x24], xmm0
mov ecx, eax
mov eax, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x24]
mov dword [ebp + 0x14], eax
jmp 0x101b9e41
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x24]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x14], eax
jmp 0x101b9e41
mov ecx, eax
mov dword [ebp + 0x14], ecx
cmp eax, 0x30
jb 0x101b9dba
mov eax, dword [ebp + 0x18]
mov dword [ebp + 8], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], ebx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], eax
lea eax, [esi + 8]
push eax
call fcn.101b9b40
add esp, 4
xor edx, edi
xor eax, ebx
push edx
push eax
push esi
call fcn.101b9b40
mov ecx, dword [ebp + 0x18]
add esp, 4
xor edx, dword [ecx + 0xc]
xor eax, dword [ecx + 8]
push edx
push eax
call fcn.101b99b0
lea ecx, [esi + 0x18]
mov ebx, eax
push ecx
mov edi, edx
call fcn.101b9b40
xor edx, dword [ebp - 4]
add esp, 0x14
xor eax, dword [ebp + 8]
push edx
push eax
lea eax, [esi + 0x10]
push eax
call fcn.101b9b40
xor edx, dword [ebp - 0x14]
add esp, 4
xor eax, dword [ebp - 0x10]
push edx
push eax
call fcn.101b99b0
lea ecx, [esi + 0x28]
mov dword [ebp + 8], eax
push ecx
mov dword [ebp - 4], edx
call fcn.101b9b40
xor edx, dword [ebp - 0xc]
add esp, 0x14
xor eax, dword [ebp - 8]
push edx
push eax
lea eax, [esi + 0x20]
push eax
call fcn.101b9b40
xor edx, dword [ebp - 0x20]
add esp, 4
xor eax, dword [ebp - 0x18]
push edx
push eax
call fcn.101b99b0
mov ecx, dword [ebp + 0x14]
add esp, 0x10
sub ecx, 0x30
mov dword [ebp - 8], eax
add esi, 0x30
mov dword [ebp - 0xc], edx
mov dword [ebp + 0x14], ecx
cmp ecx, 0x30
jae 0x101b9d03
xor eax, dword [ebp + 8]
xor edx, dword [ebp - 4]
xor ebx, eax
xor edi, edx
cmp ecx, 0x10
jbe 0x101b9e13
lea eax, [ecx - 0x11]
shr eax, 4
inc eax
mov dword [ebp + 8], eax
lea esp, [esp]
lea eax, [esi + 8]
push eax
call fcn.101b9b40
add esp, 4
xor edx, edi
xor eax, ebx
push edx
push eax
push esi
call fcn.101b9b40
mov ecx, dword [ebp + 0x18]
add esp, 4
xor edx, dword [ecx + 0xc]
xor eax, dword [ecx + 8]
push edx
push eax
call fcn.101b99b0
mov ecx, dword [ebp + 0x14]
add esp, 0x10
sub ecx, 0x10
add esi, 0x10
dec dword [ebp + 8]
mov ebx, eax
mov edi, edx
mov dword [ebp + 0x14], ecx
jne 0x101b9dd0
lea eax, [ecx - 0x10]
add eax, esi
push eax
call fcn.101b9b40
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff8
mov dword [ebp + 8], edx
add eax, esi
push eax
call fcn.101b9b40
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp + 0x14], edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
xor edx, ebx
mov dword [ebp - 0x24], edx
mov esi, dword [eax + 8]
xor ecx, esi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 8]
xor ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0x14]
xor eax, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.101b99e0
mov ecx, dword [ebp + 0x18]
xor esi, dword [ebp - 0x24]
mov eax, dword [ecx + 0xc]
xor eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
xor ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x1c]
push eax
xor eax, eax
xor eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x18]
push esi
push eax
push ecx
call fcn.101b99b0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret