Function at 0x100eb620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x10119540]
xor eax, esp
mov dword [esp + 0x184], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x24]
push edi
mov dword [esp + 0x38], eax
mov edi, 1
mov dword [esp + 8], ecx
mov ecx, dword [esi + 4]
sub eax, ecx
mov dword [esp + 0x54], edx
add edx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x6c], edx
mov edx, edi
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0xc]
sub esi, edx
mov dword [esp + 0x10], 3
cmp eax, edx
mov eax, esi
mov esi, dword [esp + 0x20]
cmovbe eax, ecx
push 0xcf1bbcdc
push 0xbf9b0000
cmp dword [esi + 0x18], 0
mov edx, dword [esi + 0x54]
cmovne eax, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
mov ecx, 5
mov eax, dword [esi + 0xc4]
cmp eax, ecx
mov dword [esp + 0x54], edx
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xb4]
shl edi, cl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x58], eax
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], edi
push dword [eax + 4]
push dword [eax]
call fcn.10113fc0
mov edi, dword [esp + 0x50]
mov ecx, 0x38
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
sub ecx, dword [edi + 0x24]
call fcn.10113f90
mov edi, dword [esp + 0x28]
mov dword [esp + 0x60], eax
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x28], 0x1f
lea ecx, [eax + esi]
mov esi, dword [esp + 0x20]
lea eax, [edi + eax*4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
cmp dword [esi + 0xdc], 0
jne 0x100eb9a7
mov eax, dword [esp + 0xc]
mov edi, dword [esi + 0x1c]
sub eax, edi
cmp eax, 0x180
jbe 0x100eb8af
lea eax, [edi + 0x60]
mov dword [esp + 0x44], eax
cmp edi, eax
jae 0x100eb81f
mov eax, 0x38
sub eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
add eax, 8
mov dword [esp + 0x48], eax
push 0xcf1bbcdc
push 0xbf9b0000
push dword [eax + edi + 4]
push dword [eax + edi]
call fcn.10113fc0
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x3c]
call fcn.10113f90
mov ecx, eax
mov eax, edi
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov eax, edx
mov ecx, dword [esp + 0x18]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x1c]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x40]
mov byte [edx], cl
mov byte [ecx + edx], al
mov eax, dword [esp + 0x48]
mov dword [esi + ecx*4], edi
inc edi
mov esi, dword [esp + 0x20]
cmp edi, dword [esp + 0x44]
jb 0x100eb7a2
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
add edi, 0xffffffe0
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x3c], edi
lea eax, [edx + edi]
cmp eax, ecx
jbe 0x100eb83e
xor ecx, ecx
jmp 0x100eb843
sub ecx, edx
sub ecx, edi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, edi
mov dword [esp + 0x40], ecx
cmp edi, ecx
jae 0x100eb8af
mov eax, 0x38
sub eax, dword [esi + 0x24]
mov dword [esp + 0x44], eax
nop dword [eax]
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edi + edx + 4]
push dword [edi + edx]
call fcn.10113fc0
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x44]
call fcn.10113f90
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, edi
inc edi
and eax, 7
mov dword [esi + eax*4 + 0x2c], ecx
cmp edi, dword [esp + 0x40]
jb 0x100eb870
mov edi, dword [esp + 0x3c]
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], ecx
cmp edi, dword [esp + 0xc]
jae 0x100eb95e
mov eax, 0x38
sub eax, dword [esi + 0x24]
mov dword [esp + 0x48], eax
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbf9b0000
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 + 0x48]
call fcn.10113f90
mov ecx, eax
mov eax, edi
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov eax, edx
mov ecx, dword [esp + 0x44]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x40]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x3c]
mov byte [edx], cl
mov byte [ecx + edx], al
mov dword [esi + ecx*4], edi
inc edi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
cmp edi, dword [esp + 0xc]
jb 0x100eb8e0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
push 0xcf1bbcdc
push 0xbf9b0000
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 + 0x2c]
sub ecx, dword [esp + 8]
call fcn.10113f90
mov ecx, eax
mov eax, edi
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
jmp 0x100eb9d2
movq xmm0, qword [esp + 0x48]
mov eax, 0x38
sub eax, dword [esp + 8]
movq xmm1, qword [esp + 0x70]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0xc]
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 + 0x1c]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x58], edx
mov dword [esp + 8], 0
mov dword [esp + 0x1c], 0
movzx edi, byte [edx]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x28]
movsx eax, al
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x2c], edi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 2
jl 0x100eba34
mov edx, dword [esp + 0x74]
mov ecx, edi
shl edx, 0x10
and ecx, 0x1f
or edx, dword [esp + 0x70]
ror edx, cl
xor edi, edi
test edx, edx
je 0x100ebac0
mov esi, dword [esp + 0x34]
test esi, esi
je 0x100ebab8
test edx, edx
jne 0x100eba78
bsf eax, edi
add eax, 0x20
jmp 0x100eba7b
bsf eax, edx
add eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
and eax, 0x1f
mov ecx, dword [ecx + eax*4]
je 0x100ebaa2
cmp ecx, dword [esp + 0x24]
jb 0x100ebab8
mov eax, dword [esp + 8]
mov dword [esp + eax*4 + 0x88], ecx
inc eax
mov dword [esp + 8], eax
dec esi
mov ecx, edx
mov eax, edi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and edi, eax
ja 0x100eba68
jb 0x100ebab8
test edx, edx
jne 0x100eba68
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov eax, 0
mov edi, 0x1f
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, edi
add ecx, eax
mov eax, dword [esp + 0x28]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 8], 0
jbe 0x100ebbd4
mov edi, dword [esp + 0x38]
mov esi, 3
mov ecx, dword [esp + 8]
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x88]
mov edx, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x100ebbc3
mov esi, dword [esp + 0x14]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x100ebb74
mov eax, dword [edx]
xor eax, dword [edi]
je 0x100ebb4e
mov esi, dword [esp + 0x14]
bsf eax, eax
shr eax, 3
jmp 0x100ebb9a
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x100ebb74
nop dword [eax + eax]
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x100ebc79
add eax, 4
add edx, 4
cmp eax, esi
jb 0x100ebb60
mov esi, dword [esp + 0x14]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x100ebb8d
mov cx, word [edx]
cmp cx, word [eax]
jne 0x100ebb8d
add eax, 2
add edx, 2
cmp eax, esi
jae 0x100ebb98
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x100ebb98
inc eax
sub eax, edi
cmp eax, dword [esp + 0x10]
jbe 0x100ebbbb
mov ecx, dword [esp + 0xc]
sub ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x68]
add ecx, 3
mov dword [esp + 0x10], eax
add eax, edi
mov dword [edx], ecx
cmp eax, esi
je 0x100ebbd4
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ecx
jb 0x100ebb10
mov edx, dword [esp + 0x50]
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
sub eax, ecx
sub dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x5c], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
nop dword [eax + eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 2
jl 0x100ebc30
mov edx, dword [esp + 0x74]
mov ecx, esi
shl edx, 0x10
and ecx, 0x1f
or edx, dword [esp + 0x70]
ror edx, cl
xor esi, esi
test edx, edx
je 0x100ebda0
xor edi, edi
cmp dword [esp + 0x34], 0
je 0x100ebcd0
test edx, edx
jne 0x100ebc8a
bsf eax, esi
add eax, 0x20
jmp 0x100ebc8d
mov esi, dword [esp + 0x14]
bsf ecx, ecx
shr ecx, 3
add eax, ecx
jmp 0x100ebb98
bsf eax, edx
add eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
and eax, 0x1f
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x24]
je 0x100ebcba
mov ecx, dword [esp + 0x50]
cmp eax, dword [ecx + 0xc]
jb 0x100ebcd0
mov dword [esp + edi*4 + 0x88], eax
inc edi
dec dword [esp + 0x34]
mov dword [esp + 0x24], edi
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x100ebc66
jb 0x100ebcd0
test edx, edx
jne 0x100ebc66
test edi, edi
mov edi, dword [esp + 0x38]
je 0x100ebda0
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0x88]
mov esi, dword [esp + 0x2c]
add esi, eax
mov dword [esp + 0x60], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x100ebd71
mov ecx, dword [esp + 0x14]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
add eax, dword [esp + 0x1c]
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 4]
push ecx
push esi
push eax
call fcn.100d9050
mov dword [esp + 0x64], eax
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x1c]
jne 0x100ebd40
mov esi, dword [esp + 0x14]
add eax, 4
push esi
push dword [esp + 0x70]
add eax, edi
push eax
call fcn.100d9050
add eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x100ebd75
mov eax, dword [esp + 0xc]
mov ecx, edx
sub eax, dword [esp + 0x60]
sub eax, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
add eax, 3
mov dword [esp + 0x10], ecx
mov dword [esi], eax
lea eax, [edx + edi]
cmp eax, dword [esp + 0x14]
je 0x100ebd88
jmp 0x100ebd75
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x24]
jb 0x100ebce0
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.100913c0
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x18c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.100913c0
mov esp, ebp
pop ebp
ret 0x10