Function at 0x1e6010
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 0x1e608c
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 0x1e6040
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 4]
mov eax, dword [0x1f1ba0]
test eax, eax
je 0x1e60e7
xor ecx, ecx
mov edx, dword [0x1f1ba4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x148ef213
je 0x1e60c0
inc ecx
cmp eax, ecx
jne 0x1e60b0
jmp 0x1e60e7
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x1e60e7
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 2
push edi
push 5
push dword [0x1f1ba8]
push eax
call fcn.001e1c60
add esp, 0x20
mov ebx, eax
cmp ebx, 0xc0000023
jne 0x1e6324
push dword [esp + 0xc]
call fcn.001de8e0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], 0x94959a9b
mov byte [esp + 8], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 4
ja 0x1e616d
nop
mov esi, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov ebx, esi
xor ebx, 0x1e447ae6
mov ebp, esi
xor ebp, 0x61bb8519
or esi, 0x1e447ae6
and esi, ebp
add esi, esi
mov ebp, esi
and ebp, ebx
xor esi, ebx
lea esi, [esi + ebp*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 0x1e6120
mov ebx, dword [esp + 4]
mov edx, dword [0x1f1ba0]
test edx, edx
je 0x1e61ce
mov esi, ebx
xor ebx, ebx
mov ebp, dword [0x1f1ba4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x148ef213
je 0x1e61a3
inc ebx
cmp edx, ebx
jne 0x1e6190
mov ebx, esi
jmp 0x1e61ce
mov edx, dword [ebp + ebx*8 + 4]
mov ebx, esi
cmp edx, esi
je 0x1e61ce
lea esi, [esp + 0xc]
push esi
push ecx
push eax
push 2
push edi
push 5
push dword [0x1f1ba8]
push edx
mov edi, eax
call fcn.001e1c60
add esp, 0x20
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x1e631b
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x1e62cb
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1e62c3
mov edx, dword [eax + 0x10]
shr edx, 1
mov ecx, dword [ebp]
cmp ecx, edx
jb 0x1e6200
mov ecx, edx
test ecx, ecx
je 0x1e62b6
mov esi, eax
add esi, 0x2c
mov ebp, ecx
and ebp, 3
mov dword [esp + 0x14], ebx
je 0x1e624c
mov dword [esp + 0x18], ecx
xor edx, edx
nop
nop
movzx ecx, word [esi]
xor ebx, ebx
test cx, cx
setne bl
lea esi, [esi + ebx*2]
mov word [edi], cx
add edi, 2
inc edx
cmp ebp, edx
jne 0x1e6220
mov ecx, dword [esp + 0x18]
mov ebp, ecx
sub ebp, edx
mov ebx, dword [esp + 0x14]
cmp ecx, 4
jae 0x1e6260
jmp 0x1e62b6
mov ebp, ecx
cmp ecx, 4
jb 0x1e62b6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [esi]
xor edx, edx
test cx, cx
setne dl
lea ebx, [esi + edx*2]
mov word [edi], cx
movzx ecx, word [esi + edx*2]
xor edx, edx
test cx, cx
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 2], cx
movzx ecx, word [ebx + edx*2]
xor edx, edx
test cx, cx
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 4], cx
movzx edx, word [esi + edx*2]
xor ecx, ecx
test dx, dx
setne cl
mov word [edi + 6], dx
add edi, 8
lea esi, [ebx + ecx*2]
add ebp, 0xfffffffc
jne 0x1e6260
mov ebx, dword [esp + 0x14]
mov word [edi], 0
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov ecx, dword [eax + 0x10]
shr ecx, 1
mov dword [ebp], ecx
mov edx, dword [esp + 0x40]
test esi, esi
je 0x1e62d8
mov ecx, dword [eax + 0x14]
mov dword [esi], ecx
mov ecx, dword [esp + 0x44]
test edx, edx
je 0x1e62e7
mov esi, dword [eax + 0x18]
shr esi, 1
mov dword [edx], esi
mov edx, dword [esp + 0x48]
test ecx, ecx
je 0x1e62f6
mov esi, dword [eax + 0x1c]
shr esi, 1
mov dword [ecx], esi
mov ecx, dword [esp + 0x4c]
test edx, edx
je 0x1e6303
mov esi, dword [eax + 0x20]
mov dword [edx], esi
mov edx, dword [esp + 0x50]
test ecx, ecx
je 0x1e6312
mov esi, dword [eax + 0x24]
shr esi, 1
mov dword [ecx], esi
test edx, edx
je 0x1e631b
mov ecx, dword [eax + 0x28]
mov dword [edx], ecx
push eax
call fcn.001de970
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret