Function at 0x1e2b29
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebp, dword [esp + 0x40]
movzx eax, word [ebp]
mov dword [esp + 8], 0x8186ddd3
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 6
ja 0x1e2b17
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov esi, ecx
xor esi, 0xe74131a1
and ecx, 0xe74131a1
lea ecx, [esi + ecx*2]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov edx, ecx
not edx
and edx, 0x25
and ecx, 0xda
sub ecx, edx
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 7
jb 0x1e2ad0
xor ecx, ecx
cmp dword [esp + 8], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x1effe0]
mov ebx, dword [ebp + 0x3c]
mov ecx, dword [ebp + ebx]
mov dword [esp + 8], 0xb18ec8fc
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 6
ja 0x1e2b9b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, edx
xor edi, 0xf893bf9d
and edx, 0xf893bf9d
lea edx, [edi + edx*2]
xor edx, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
add dl, 0xef
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 7
jb 0x1e2b60
xor edx, edx
cmp ecx, dword [esp + 8]
setne dl
xor eax, eax
jmp dword [edx*4 + 0x1effe8]
mov edx, dword [ebp + ebx + 0x78]
cmp dword [ebp + ebx + 0x7c], 0
sete al
test edx, edx
sete cl
or cl, al
movzx ecx, cl
xor eax, eax
jmp dword [ecx*4 + 0x1efff0]
mov eax, dword [ebp + edx + 0x20]
add eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + edx + 0x24]
add eax, ebp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + edx + 0x1c]
add eax, ebp
mov dword [esp + 0x1c], eax
mov esi, dword [0x1f1ba4]
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], edx
jmp dword [eax*4 + 0x1efff8]
jmp dword [0x1f0004]
mov edi, dword [0x1f1ba0]
mov eax, dword [ebp + edx + 0x18]
add eax, edi
mov ecx, 0xffffffff
cmp eax, 0x20000000
jae 0x1e2c25
shl eax, 3
mov ecx, eax
push ecx
call fcn.001ac630
add esp, 4
mov edx, edi
and edx, 8
mov ecx, edi
or edi, 8
imul edi, edx
xor edx, 8
and ecx, 0xfffffff7
imul ecx, edx
lea ebx, [ecx + edi]
lea edx, [esi + ebx]
cmp eax, esi
jbe 0x1e2ce4
cmp edx, eax
jbe 0x1e2ce4
test ebx, ebx
je 0x1e2d04
lea edx, [esi + ecx]
dec edx
add eax, ecx
dec eax
neg ecx
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
mov byte [eax + edi], bl
movzx ebx, byte [edx + edi - 1]
mov byte [eax + edi - 1], bl
movzx ebx, byte [edx + edi - 2]
mov byte [eax + edi - 2], bl
movzx ebx, byte [edx + edi - 3]
mov byte [eax + edi - 3], bl
movzx ebx, byte [edx + edi - 4]
mov byte [eax + edi - 4], bl
movzx ebx, byte [edx + edi - 5]
mov byte [eax + edi - 5], bl
movzx ebx, byte [edx + edi - 6]
mov byte [eax + edi - 6], bl
movzx ebx, byte [edx + edi - 7]
mov byte [eax + edi - 7], bl
add edi, 0xfffffff8
cmp ecx, edi
jne 0x1e2c70
jmp 0x1e2d04
mov eax, dword [ebp + edx + 0x18]
mov ecx, 0xffffffff
cmp eax, 0x20000000
jae 0x1e2cd4
shl eax, 3
mov ecx, eax
push ecx
call fcn.001ac630
add esp, 4
mov edi, eax
jmp 0x1e2e0f
mov ecx, ebx
shr ecx, 2
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add eax, ebx
mov edi, eax
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov esi, dword [0x1f1ba4]
mov edx, dword [esp + 4]
jmp 0x1e2d3a
mov ecx, edx
shr ecx, 2
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov edi, eax
add edi, edx
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov esi, dword [0x1f1ba4]
mov edx, dword [esp + 4]
jmp dword [0x1f000c]
mov edi, dword [0x1f1ba0]
mov eax, dword [ebp + edx + 0x18]
add eax, edi
mov ecx, 0xffffffff
cmp eax, 0x20000000
jae 0x1e2d57
shl eax, 3
mov ecx, eax
push ecx
call fcn.001ac630
add esp, 4
lea edx, [edi*8]
lea ebx, [esi + edi*8]
cmp eax, esi
jbe 0x1e2d10
cmp ebx, eax
jbe 0x1e2d10
test edx, edx
je 0x1e2dcf
mov ecx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esi + edx - 1]
mov byte [eax + edx - 1], bl
movzx ebx, byte [esi + edx - 2]
mov byte [eax + edx - 2], bl
movzx ebx, byte [esi + edx - 3]
mov byte [eax + edx - 3], bl
movzx ebx, byte [esi + edx - 4]
mov byte [eax + edx - 4], bl
movzx ebx, byte [esi + edx - 5]
mov byte [eax + edx - 5], bl
movzx ebx, byte [esi + edx - 6]
mov byte [eax + edx - 6], bl
movzx ebx, byte [esi + edx - 7]
mov byte [eax + edx - 7], bl
movzx ebx, byte [esi + edx - 8]
mov byte [eax + edx - 8], bl
add ecx, 0xfffffff8
mov edx, ecx
jne 0x1e2d80
mov edx, dword [esp + 4]
jmp dword [0x1f000c]
mov dword [0x1f1ba4], edi
xor edx, edx
xor eax, eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x18], 0
cmp edx, dword [ebp + ecx + 0x18]
setb al
xor edx, edx
jmp dword [eax*4 + 0x1f0028]
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret