Function at 0x100e5e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x10119540]
xor eax, esp
mov dword [esp + 0x194], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], esi
mov esi, edx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov edx, 1
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
add eax, ecx
mov dword [esp + 0x7c], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0xb8]
shl edx, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], eax
sub eax, ecx
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x18]
sub edi, edx
mov dword [esp + 0x1c], 3
cmp eax, edx
mov eax, edi
mov edi, dword [esp + 0x3c]
mov edx, dword [esi + 0x54]
cmovbe eax, ecx
cmp dword [esi + 0x18], 0
push 0xcf1bbcdc
cmovne eax, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], eax
mov ecx, 6
mov eax, dword [esi + 0xc4]
cmp eax, ecx
push 0xbb000000
push dword [edi + 4]
cmovb ecx, eax
mov dword [esp + 0x70], edx
mov eax, dword [esi + 0x50]
mov edx, 1
push dword [edi]
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0xb4]
shl edx, cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x50], eax
call fcn.10113fc0
mov edi, dword [esp + 0x40]
mov ecx, 0x42
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
sub ecx, dword [edi + 0xc0]
call fcn.10113f90
mov ecx, dword [esi + 0xc4]
shl eax, 2
mov dword [esp + 0x50], eax
cmp ecx, 6
jbe 0x100e5fbe
add ecx, 0xfffffffa
mov eax, 1
shl eax, cl
mov dword [esp + 0x4c], eax
jmp 0x100e5fc6
mov dword [esp + 0x4c], 0
cmp dword [esi + 0xdc], 0
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x44], 0x3f
jne 0x100e622b
mov eax, dword [esp + 0x18]
mov edx, 0x38
mov ecx, dword [esi + 0x1c]
sub eax, ecx
cmp eax, 0x180
jbe 0x100e6224
lea eax, [ecx + 0x60]
mov dword [esp + 0x54], eax
cmp ecx, eax
jae 0x100e60a0
mov eax, edx
mov edi, ecx
sub eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xbb000000
push dword [eax + edi + 0xc]
push dword [eax + edi + 8]
call fcn.10113fc0
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x20]
call fcn.10113f90
mov ecx, edi
and ecx, 7
mov edx, dword [esi + ecx*4 + 0x2c]
mov dword [esi + ecx*4 + 0x2c], eax
mov eax, edx
mov ecx, dword [esp + 0x48]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x28]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x10]
mov byte [edx], cl
mov byte [ecx + edx], al
mov dword [esi + ecx*4], edi
inc edi
mov esi, dword [esp + 0x38]
cmp edi, dword [esp + 0x54]
jb 0x100e6020
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, 0xffffffe0
mov dword [esp + 0x10], ecx
lea ecx, [edi + 1]
mov edi, dword [esp + 0x10]
add eax, edi
mov edx, edi
mov dword [esp + 0x20], edx
cmp eax, ecx
jbe 0x100e60c6
xor ecx, ecx
jmp 0x100e60cd
sub ecx, dword [esp + 0x14]
sub ecx, edi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, edi
mov dword [esp + 0x54], ecx
cmp edi, ecx
jae 0x100e6134
mov edi, dword [esp + 0x54]
mov ecx, 0x38
sub ecx, dword [esi + 0x24]
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + eax + 4]
push dword [edx + eax]
call fcn.10113fc0
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x60]
call fcn.10113f90
mov edx, dword [esp + 0x20]
mov ecx, edx
and ecx, 7
inc edx
mov dword [esp + 0x20], edx
mov dword [esi + ecx*4 + 0x2c], eax
cmp edx, edi
jb 0x100e60f1
mov edi, dword [esp + 0x10]
mov edx, 0x38
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], ecx
cmp edi, dword [esp + 0x18]
jae 0x100e61dd
mov eax, edx
sub eax, dword [esi + 0x24]
mov dword [esp + 0x60], eax
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + ecx + 0xc]
push dword [edi + ecx + 8]
call fcn.10113fc0
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x60]
call fcn.10113f90
mov ecx, edi
and ecx, 7
mov edx, dword [esi + ecx*4 + 0x2c]
mov dword [esi + ecx*4 + 0x2c], eax
mov eax, edx
mov ecx, dword [esp + 0x54]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x10]
mov byte [edx], cl
mov byte [ecx + edx], al
mov dword [esi + ecx*4], edi
inc edi
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
cmp edi, dword [esp + 0x18]
jb 0x100e6161
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esi + 0x1c], edi
push dword [edi + eax + 0xc]
push dword [edi + eax + 8]
call fcn.10113fc0
xor eax, dword [esp + 0x58]
mov ecx, 0x38
xor edx, dword [esp + 0x24]
sub ecx, dword [esp + 0x30]
call fcn.10113f90
mov ecx, edi
and ecx, 7
mov edx, dword [esi + ecx*4 + 0x2c]
mov dword [esi + ecx*4 + 0x2c], eax
jmp 0x100e6256
mov edi, ecx
jmp 0x100e6139
movq xmm0, qword [esp + 0x60]
mov eax, 0x38
sub eax, dword [esp + 0x30]
movq xmm1, qword [esp + 0x70]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x18]
psrlq xmm1, xmm0
mov dword [esi + 0x1c], eax
movd edx, xmm1
add dword [esi + 0x58], edx
mov eax, edx
movzx ecx, dl
mov edx, dword [esp + 0x28]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x48]
add edx, eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
movzx esi, byte [edx]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x44]
movsx eax, al
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [esp + 0x70], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop dword [eax + eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 4
jl 0x100e62c0
mov eax, dword [esp + 0x8c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x88]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x84]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x80]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x28], ecx
or edi, eax
mov edx, dword [esp + 0x28]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.10113f60
mov dword [esp + 0x24], eax
mov ecx, esi
mov dword [esp + 0x58], edx
mov eax, edi
mov edx, dword [esp + 0x28]
call fcn.10113f90
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x58]
or esi, eax
or edi, edx
ja 0x100e6360
test esi, esi
je 0x100e63b8
mov edx, dword [esp + 0xc]
test edx, edx
je 0x100e63b4
test esi, esi
jne 0x100e6374
bsf eax, edi
add eax, 0x20
jmp 0x100e6377
bsf eax, esi
add eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x48]
and eax, 0x3f
mov eax, dword [ecx + eax*4]
je 0x100e639e
cmp eax, dword [esp + 0x34]
jb 0x100e63b4
mov ecx, dword [esp + 0x10]
mov dword [esp + ecx*4 + 0x98], eax
inc ecx
mov dword [esp + 0x10], ecx
dec edx
mov ecx, esi
mov eax, edi
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
and edi, eax
ja 0x100e6364
jb 0x100e63b4
test esi, esi
jne 0x100e6364
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x60]
mov esi, 0x3f
mov edi, dword [esp + 0x3c]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, esi
mov esi, dword [esp + 0x48]
add ecx, eax
mov eax, dword [esp + 0x44]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x10], 0
jbe 0x100e64ba
mov ecx, 3
xor eax, eax
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x100e64a7
mov esi, dword [esp + 0x2c]
mov eax, edi
lea ecx, [esi - 3]
cmp edi, ecx
jae 0x100e645d
mov eax, dword [edx]
xor eax, dword [edi]
je 0x100e643c
bsf ecx, eax
shr ecx, 3
jmp 0x100e6481
lea eax, [edi + 4]
add edx, 4
cmp eax, ecx
jae 0x100e645d
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x100e66e5
add eax, 4
lea ecx, [esi - 3]
add edx, 4
cmp eax, ecx
jb 0x100e6446
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x100e6472
mov cx, word [edx]
cmp cx, word [eax]
jne 0x100e6472
add eax, 2
add edx, 2
cmp eax, esi
jae 0x100e647d
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x100e647d
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x1c]
jbe 0x100e64a3
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x100e64ba
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x10]
jb 0x100e6402
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
add esi, dword [esp + 0xc]
mov dword [esp + 0x30], esi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x4c], eax
sub eax, ecx
add eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov eax, 3
cmp esi, eax
mov dword [esp + 0x14], ecx
cmovb eax, esi
xor edx, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], edx
test eax, eax
je 0x100e65cd
mov eax, dword [esp + 0x50]
lea edx, [eax*4]
mov dword [esp + 0xc], edx
nop dword [eax]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
mov eax, dword [eax + 0x5c]
mov eax, dword [edx + eax]
add esi, eax
mov dword [esp + 0x24], eax
test eax, eax
je 0x100e66cb
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x100e65ad
add esi, 4
lea eax, [edi + 4]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 4]
push ecx
push esi
push eax
call fcn.100d9050
mov dword [esp + 0x5c], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x14]
jne 0x100e6578
push esi
push dword [esp + 0x80]
add eax, 4
add eax, edi
push eax
call fcn.100d9050
add eax, dword [esp + 0x5c]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x1c]
jbe 0x100e65a5
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x24]
sub eax, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x100e66f4
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add edx, 4
inc eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x58]
jb 0x100e6510
mov esi, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x40]
sub esi, edx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + ecx*4 + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
shr dword [esp + 0xc], 8
movzx eax, al
cmp esi, eax
cmova esi, eax
mov dword [esp + 0x30], esi
test esi, esi
je 0x100e66cb
mov eax, dword [esp + 0xc]
lea edx, [eax*4]
mov dword [esp + 0xc], edx
nop word [eax + eax]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
mov eax, dword [eax + 0x64]
mov eax, dword [edx + eax]
add esi, eax
mov dword [esp + 0x24], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x100e66ad
add esi, 4
lea eax, [edi + 4]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 4]
push ecx
push esi
push eax
call fcn.100d9050
mov dword [esp + 0x5c], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x14]
jne 0x100e6680
push esi
push dword [esp + 0x80]
add eax, 4
add eax, edi
push eax
call fcn.100d9050
add eax, dword [esp + 0x5c]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x1c]
jbe 0x100e66a9
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x24]
sub eax, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x100e66cb
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x50]
add edx, 4
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xc], edx
cmp eax, dword [esp + 0x30]
jb 0x100e6620
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.100913c0
mov esp, ebp
pop ebp
ret 0x10
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x100e6481
mov eax, ecx
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, esp
call fcn.100913c0
mov esp, ebp
pop ebp
ret 0x10