Function at 0x1e5cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 4], 0x94959a9b
mov byte [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x1e5d4c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
mov edx, ecx
xor edx, 0x1e447ae6
mov esi, ecx
xor esi, 0x61bb8519
or ecx, 0x1e447ae6
and ecx, esi
add ecx, ecx
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
xor ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
add al, 0x82
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x1e5d00
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 4]
mov eax, dword [0x1f1ba0]
test eax, eax
je 0x1e5dab
xor ecx, ecx
mov edx, dword [0x1f1ba4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x84aa3bd1
je 0x1e5d80
inc ecx
cmp eax, ecx
jne 0x1e5d70
jmp 0x1e5dab
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x1e5dab
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push ebp
push dword [esp + 0x44]
push 6
push dword [0x1f1ba8]
push eax
call fcn.001e1c60
add esp, 0x24
mov esi, eax
mov dword [esp + 4], 0x23626183
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x1e5e13
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0x32769318
and eax, 0x32769318
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
xor ecx, 0x78
and eax, 7
add eax, eax
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x1e5dd0
cmp esi, dword [esp + 4]
jne 0x1e6002
push dword [esp + 0x14]
call fcn.001de8e0
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], 0x94959a9b
mov byte [esp + 8], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 4
ja 0x1e5e9d
nop
nop
nop
mov esi, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov edi, esi
xor edi, 0x1e447ae6
mov ebx, esi
xor ebx, 0x61bb8519
or esi, 0x1e447ae6
and esi, ebx
add esi, esi
mov ebx, esi
and ebx, edi
xor esi, edi
lea esi, [esi + ebx*2]
xor esi, edx
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x10]
add dl, 0x82
mov esi, dword [esp]
mov byte [esp + esi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 5
jb 0x1e5e50
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 4]
mov edx, dword [0x1f1ba0]
test edx, edx
je 0x1e5f01
mov eax, edi
xor edi, edi
mov ebx, dword [0x1f1ba4]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x84aa3bd1
je 0x1e5ed2
inc edi
cmp edx, edi
jne 0x1e5ec0
mov edi, eax
jmp 0x1e5f01
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
mov edi, eax
je 0x1e5f01
lea esi, [esp + 0x14]
push esi
push ecx
mov eax, dword [esp + 0x14]
push eax
push 0
push ebp
push dword [esp + 0x44]
push 6
push dword [0x1f1ba8]
push edx
call fcn.001e1c60
add esp, 0x24
mov esi, eax
test edi, edi
je 0x1e5ff6
test esi, esi
js 0x1e5ff6
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1e5feb
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0xc]
shr edx, 1
mov eax, dword [edi]
cmp eax, edx
jb 0x1e5f2e
mov eax, edx
test eax, eax
je 0x1e5fe6
mov edx, dword [esp + 0xc]
add edx, 0x10
mov ebx, eax
and ebx, 3
je 0x1e5f7c
mov dword [esp + 0x18], eax
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx ebp, word [edx]
xor eax, eax
test bp, bp
setne al
lea edx, [edx + eax*2]
mov word [ecx], bp
add ecx, 2
inc edi
cmp ebx, edi
jne 0x1e5f50
mov eax, dword [esp + 0x18]
mov ebp, eax
sub ebp, edi
mov edi, dword [esp + 0x3c]
cmp eax, 4
jae 0x1e5f90
jmp 0x1e5fe6
mov ebp, eax
cmp eax, 4
jb 0x1e5fe6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [edx]
xor ebx, ebx
test ax, ax
setne bl
lea edi, [edx + ebx*2]
mov word [ecx], ax
movzx eax, word [edx + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [edi + edx*2]
mov word [ecx + 2], ax
movzx eax, word [edi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea edi, [ebx + edx*2]
mov word [ecx + 4], ax
movzx eax, word [ebx + edx*2]
xor edx, edx
test ax, ax
setne dl
mov word [ecx + 6], ax
add ecx, 8
lea edx, [edi + edx*2]
add ebp, 0xfffffffc
jne 0x1e5f90
mov edi, dword [esp + 0x3c]
mov word [ecx], 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
shr eax, 1
mov dword [edi], eax
push dword [esp + 0xc]
call fcn.001de970
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret