Function at 0x10dce120
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x120
push ebx
mov bl, byte [esp + 0x12b]
push ebp
mov al, bl
push esi
and al, 1
mov esi, ecx
mov cl, byte [esp + 0x132]
push edi
mov byte [esp + 0x17], al
je 0x10dce151
movzx edi, bl
movzx eax, cl
lea edx, [edi + edi]
cmp edx, eax
jge 0x10dce163
test cl, 1
je 0x10dce1c9
movzx edi, bl
movzx eax, cl
lea edx, [edi + edi]
cmp edx, eax
jge 0x10dce1c9
test cl, 1
je 0x10dce16a
neg eax
mov dl, byte [esp + 0x134]
add dl, al
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x17]
test al, al
mov byte [esp + 0x134], dl
je 0x10dce188
neg edi
mov al, byte [esp + 0x135]
mov dword [esp + 0x10], edi
mov dl, byte [esp + 0x10]
add al, dl
mov dl, byte [esp + 0x13c]
mov byte [esp + 0x135], al
mov al, byte [esp + 0x138]
xor cl, 1
mov byte [esp + 0x136], cl
xor bl, 1
mov byte [esp + 0x138], dl
mov byte [esp + 0x13c], al
cmp cl, bl
mov al, cl
jae 0x10dce1d1
mov al, bl
movzx ebp, al
or ebp, 1
mov edi, 0
mov dword [esp + 0x1c], edi
jle 0x10dce232
mov ecx, dword [0x112c0c30]
mov edx, dword [0x112c0c30]
add ecx, 0x80
add edx, 4
and ecx, 0xfc
and edx, 0xfc
mov eax, dword [ecx + 0x112c0a30]
mov dword [0x112c0c30], edx
xor dword [edx + 0x112c0a30], eax
mov edx, dword [esp + 0x1c]
mov byte [esp + edi + 0x30], al
movzx eax, al
add edx, eax
inc edi
cmp edi, ebp
mov dword [esp + 0x1c], edx
jl 0x10dce1e2
mov cl, byte [esp + 0x136]
movzx eax, bl
or edx, 0xffffffff
test bl, 1
mov dword [esp + 0x10], eax
je 0x10dce249
mov dword [esp + 0x18], edx
neg eax
jmp 0x10dce251
mov dword [esp + 0x18], 1
test cl, 1
movzx ecx, cl
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
je 0x10dce269
mov dword [esp + 0x20], edx
neg ecx
jmp 0x10dce271
mov dword [esp + 0x20], 1
movzx edx, byte [esp + 0x138]
movzx eax, byte [esp + 0x13c]
sub eax, edx
shl eax, 0x17
mov edi, edx
cdq
idiv ebp
shl edi, 0x17
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x136], bl
jb 0x10dce335
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
shl eax, 6
sub eax, ecx
cdq
idiv ebp
movzx ebx, byte [esp + 0x135]
shl ebx, 6
xor ebp, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x10dce3ba
lea esp, [esp]
movzx ecx, byte [esp + ebp + 0x30]
add ecx, dword [esp + 0x18]
mov al, byte [esp + 0x134]
add ebx, ecx
mov ecx, dword [esi + 0xd8]
mov edx, ebx
sar edx, 6
and edx, ecx
mov cl, byte [esi + 0x47]
shl edx, cl
movzx ecx, al
and ecx, dword [esi + 0xd4]
add edx, ecx
add al, byte [esp + 0x20]
mov ecx, dword [esi + 0xb4]
mov ecx, dword [ecx + 0x20]
mov byte [esp + 0x134], al
add edi, dword [esp + 0x2c]
mov eax, edi
sar eax, 0x17
mov byte [edx + ecx], al
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jl 0x10dce2d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0xc
mov eax, ecx
mov ecx, dword [esp + 0x1c]
shl eax, 6
sub eax, ecx
cdq
idiv ebp
movzx ebx, byte [esp + 0x134]
shl ebx, 6
xor ebp, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x10dce3ba
lea esp, [esp]
movzx edx, byte [esp + ebp + 0x30]
mov ecx, dword [esp + 0x20]
mov al, byte [esp + 0x135]
add edx, ecx
mov ecx, dword [esi + 0xd8]
add ebx, edx
movzx edx, al
and edx, ecx
mov cl, byte [esi + 0x47]
shl edx, cl
mov ecx, ebx
sar ecx, 6
and ecx, dword [esi + 0xd4]
add edx, ecx
add al, byte [esp + 0x18]
mov ecx, dword [esi + 0xb4]
mov ecx, dword [ecx + 0x20]
mov byte [esp + 0x135], al
add edi, dword [esp + 0x2c]
mov eax, edi
sar eax, 0x17
mov byte [edx + ecx], al
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x10dce360
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0xc