Function at 0x10075ab0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.10033890
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, 1
push edi
shl esi, cl
cmp ebp, dword [eax + 8]
mov edi, edx
mov ebx, ecx
mov dword [esp + 0x10], edi
jle 0x10075ae4
push ebp
push eax
call fcn.100656c0
add esp, 8
test eax, eax
jne 0x10075af0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x10075b68
xor ebx, ebx
test ebp, ebp
jle 0x10075cd8
nop
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x10075b3d
jmp 0x10075b10
mov eax, ecx
xor eax, dword [esp + 0x44]
add ecx, 1
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
mov eax, dword [edi + ecx*4 - 4]
neg ebp
and ebp, 1
neg ebp
and ebp, eax
or edx, ebp
cmp ecx, esi
jl 0x10075b10
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [eax + ebx*4], edx
lea eax, [esi*4]
add ebx, 1
add edi, eax
cmp ebx, ebp
jl 0x10075b00
pop edi
mov eax, ecx
pop esi
mov dword [eax + 4], ebp
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x44]
lea ecx, [ebx - 2]
mov eax, edx
sar eax, cl
mov edi, 1
shl edi, cl
lea ebx, [eax - 1]
shr ebx, 0x1f
lea ecx, [edi - 1]
and edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
not edx
shr edx, 0x1f
and ebx, edx
mov ecx, eax
xor ecx, 1
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ebp, [ecx - 1]
not ecx
shr ecx, 0x1f
shr ebp, 0x1f
and ebp, ecx
xor eax, 3
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ebx
neg edx
neg ebp
neg ecx
and ebx, 1
and edx, 1
and ebp, 1
and ecx, 1
xor eax, eax
neg edx
neg ebp
neg ecx
neg ebx
cmp dword [esp + 0x40], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jle 0x10075cd4
lea edx, [esi*4]
mov dword [esp + 0x34], edx
lea esp, [esp]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x20], esi
jle 0x10075cae
mov eax, dword [esp + 0x10]
lea edx, [eax + edi*4]
mov dword [esp + 0x1c], edx
lea edx, [eax + edi*8]
mov dword [esp + 0x18], edx
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
and edx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, ebp
or ecx, edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
and edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
or edx, ecx
mov eax, esi
xor eax, dword [esp + 0x44]
add esi, 1
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4 - 4]
neg ecx
and ecx, 1
and eax, ebx
neg ecx
or eax, edx
and ecx, eax
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, 4
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
cmp esi, edi
jl 0x10075c40
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x34]
add dword [esp + 0x10], edx
add eax, 1
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
jl 0x10075c10
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
mov dword [eax + 4], ebp
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret