Function at 0x100293c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1a8
mov eax, dword [0x100a8024]
xor eax, esp
mov dword [esp + 0x1a4], eax
push esi
push edi
mov eax, edx
mov dword [esp + 0x34], eax
mov edi, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], 3
mov ecx, dword [ebp + 8]
mov dword [esp + 0x44], ecx
mov esi, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 4]
sub esi, ecx
mov eax, esi
mov dword [esp + 0x64], edx
add edx, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x7c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov dword [esp + 0x1c], esi
sub esi, edx
cmp eax, edx
mov eax, dword [edi + 0xc4]
cmovbe esi, ecx
mov dword [esp + 0x20], 0x3f
cmp dword [edi + 0x18], 0
cmovne esi, ecx
mov ecx, 6
cmp eax, ecx
mov dword [esp + 0x58], esi
cmovb ecx, eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x2c], eax
mov eax, 1
shl eax, cl
mov ecx, 0x18
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0x50]
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x5c]
mov eax, dword [esp + 0x34]
sub ecx, dword [edi + 0x24]
mov edi, dword [esp + 0x30]
imul eax, dword [eax], 0x9e3779b1
mov dword [esp + 0x80], eax
shr eax, cl
mov dword [esp + 0x5c], eax
shr eax, 2
and eax, 0x3fffffc0
cmp dword [edi + 0xdc], 0
lea ecx, [eax + edx]
lea eax, [esi + eax*4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], eax
jne 0x100296e4
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov eax, dword [edi + 0x1c]
sub ecx, eax
cmp ecx, 0x180
jbe 0x10029614
lea ecx, [eax + 0x60]
mov dword [esp + 0x24], ecx
cmp eax, ecx
jae 0x10029592
mov edx, dword [esp + 0x18]
mov esi, 0x18
sub esi, dword [esp + 0x14]
add edx, 8
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], edx
nop word [eax + eax]
imul edx, dword [edx + eax], 0x9e3779b1
mov ecx, dword [edi + 0x54]
mov dword [esp + 0x84], ecx
mov ecx, esi
lea esi, [edi + 0x2c]
xor edx, dword [edi + 0x50]
shr edx, cl
mov ecx, eax
and ecx, 7
mov edi, dword [esi + ecx*4]
mov dword [esi + ecx*4], edx
mov ecx, 0
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x3c], edi
shr edi, 2
and edi, 0x3fffffc0
add esi, edi
movzx edx, byte [esi]
dec edx
and edx, 0x3f
cmove ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x3c]
mov byte [esi], dl
mov byte [edx + esi], cl
lea ecx, [edx + edi]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
mov dword [edx + ecx*4], eax
inc eax
mov edx, dword [esp + 0x28]
cmp eax, dword [esp + 0x24]
jb 0x10029520
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add eax, 0xffffffe0
mov ecx, dword [esp + 0x18]
inc edx
add ecx, eax
mov dword [esp + 0x3c], eax
mov esi, eax
cmp ecx, edx
jbe 0x100295b2
xor edx, edx
jmp 0x100295b9
sub edx, dword [esp + 0x18]
sub edx, eax
inc edx
mov ecx, 8
cmp edx, ecx
cmova edx, ecx
add edx, eax
mov dword [esp + 0x28], edx
cmp eax, edx
jae 0x10029610
mov eax, 0x18
sub eax, dword [edi + 0x24]
mov dword [esp + 0x54], eax
mov eax, edx
nop dword [eax + eax]
mov ecx, dword [edi + 0x54]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x18]
imul edx, dword [esi + ecx], 0x9e3779b1
mov ecx, dword [esp + 0x54]
xor edx, dword [edi + 0x50]
shr edx, cl
mov ecx, esi
and ecx, 7
inc esi
mov dword [edi + ecx*4 + 0x2c], edx
cmp esi, eax
jb 0x100295e0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x54], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], ecx
cmp eax, edx
jae 0x100296ac
mov esi, 0x18
sub esi, dword [edi + 0x24]
mov dword [esp + 0x80], esi
nop dword [eax]
mov ecx, dword [esp + 0x28]
imul edx, dword [eax + ecx + 8], 0x9e3779b1
mov ecx, esi
lea esi, [edi + 0x2c]
xor edx, dword [edi + 0x50]
shr edx, cl
mov ecx, eax
and ecx, 7
mov edi, dword [esi + ecx*4]
mov dword [esi + ecx*4], edx
mov ecx, 0
mov esi, dword [esp + 0x54]
mov dword [esp + 0x3c], edi
shr edi, 2
and edi, 0x3fffffc0
add esi, edi
movzx edx, byte [esi]
dec edx
and edx, 0x3f
cmove ecx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x3c]
mov byte [esi], dl
mov byte [edx + esi], cl
lea ecx, [edx + edi]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x80]
mov dword [edx + ecx*4], eax
inc eax
cmp eax, dword [esp + 0x1c]
jb 0x10029640
mov eax, dword [esp + 0x1c]
mov ecx, 0x18
sub ecx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x34]
imul edx, dword [eax + 8], 0x9e3779b1
mov eax, dword [esp + 0x1c]
xor edx, dword [esp + 0x2c]
shr edx, cl
and eax, 7
mov ecx, dword [edi + eax*4 + 0x2c]
mov dword [edi + eax*4 + 0x2c], edx
mov edx, ecx
mov dword [esp + 0x2c], ecx
jmp 0x10029705
mov edx, dword [esp + 0x2c]
mov ecx, 0x18
xor edx, dword [esp + 0x80]
sub ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
shr edx, cl
mov dword [esp + 0x2c], edx
mov dword [edi + 0x1c], eax
mov ecx, dword [esp + 0x48]
mov eax, edx
mov esi, dword [esp + 0x4c]
add dword [edi + 0x58], edx
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x20], 0
add esi, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x28], esi
lea ecx, [ecx + eax*4]
movzx eax, byte [esi]
mov dword [esp + 0x48], eax
movsx eax, dl
mov edx, esi
mov dword [esp + 0x24], ecx
xor ecx, ecx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
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 0x10029761
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x48]
cdq
and esi, 0x3f
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 + 0x4c], ecx
or edi, eax
mov edx, dword [esp + 0x4c]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.10094c30
mov dword [esp + 0x80], eax
mov ecx, esi
mov dword [esp + 0x14], edx
mov eax, edi
mov edx, dword [esp + 0x4c]
call fcn.10094c50
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x14]
or esi, eax
or ecx, edx
mov dword [esp + 0x14], ecx
ja 0x1002980f
test esi, esi
je 0x1002986c
mov edi, dword [esp + 0x60]
test edi, edi
je 0x10029868
push ecx
push esi
call fcn.10021700
add eax, dword [esp + 0x50]
add esp, 8
and eax, 0x3f
je 0x10029848
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x58]
jb 0x10029868
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0xa8], ecx
inc eax
mov dword [esp + 0x20], eax
dec edi
mov edx, dword [esp + 0x14]
mov ecx, esi
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0x14]
and ecx, edx
mov dword [esp + 0x14], ecx
ja 0x10029813
jb 0x10029868
test esi, esi
jne 0x10029813
mov dword [esp + 0x60], edi
mov edx, dword [esp + 0x28]
mov esi, 0x3f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, esi
mov esi, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x2c]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x20], 0
jbe 0x10029920
mov edi, dword [esp + 0x34]
mov esi, 3
mov ecx, dword [esp + 0x20]
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0xa8]
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x58], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x1002990f
push dword [esp + 0x44]
mov ecx, edi
call fcn.1001b4b0
mov ecx, eax
add esp, 4
cmp ecx, esi
jbe 0x1002990b
mov eax, dword [esp + 0x1c]
mov esi, ecx
sub eax, dword [esp + 0x58]
mov edx, dword [esp + 0x6c]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x44]
je 0x1002991c
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, ecx
jb 0x100298c0
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov dword [esp + 0x58], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
sub ecx, eax
add dword [esp + 0x64], ecx
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x68], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x90], eax
inc ecx
cmp ecx, 4
jl 0x10029981
mov eax, dword [esp + 0x9c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x98]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x94]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x90]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x50], ecx
or edi, eax
mov edx, dword [esp + 0x50]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.10094c30
mov dword [esp + 0x5c], eax
mov ecx, esi
mov dword [esp + 0x18], edx
mov eax, edi
mov edx, dword [esp + 0x50]
call fcn.10094c50
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
or esi, eax
or ecx, edx
mov dword [esp + 0x18], ecx
ja 0x10029a29
test esi, esi
je 0x10029b60
mov edi, dword [esp + 0x60]
nop dword [eax]
test edi, edi
je 0x10029a85
push ecx
push esi
call fcn.10021700
add eax, dword [esp + 0x70]
add esp, 8
and eax, 0x3f
je 0x10029a65
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x58]
jb 0x10029a85
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xa8], ecx
inc eax
mov dword [esp + 0x14], eax
dec edi
mov edx, dword [esp + 0x18]
mov ecx, esi
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0x18]
and ecx, edx
mov dword [esp + 0x18], ecx
ja 0x10029a30
jb 0x10029a85
test esi, esi
jne 0x10029a30
cmp dword [esp + 0x14], 0
jbe 0x10029b60
xor eax, eax
mov eax, dword [esp + eax*4 + 0xa8]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x34]
add esi, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10029b33
lea edi, [ecx + 4]
add esi, 4
mov ecx, dword [esp + 0x44]
mov eax, edi
sub eax, esi
mov dword [esp + 0x70], edi
add eax, dword [esp + 0x3c]
mov edx, esi
cmp eax, ecx
cmovb ecx, eax
push ecx
mov ecx, edi
call fcn.1001b4b0
mov edi, eax
add esp, 4
lea ecx, [edi + esi]
mov esi, dword [esp + 0x44]
cmp ecx, dword [esp + 0x3c]
jne 0x10029b01
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
push esi
lea ecx, [edi + ecx]
call fcn.1001b4b0
add esp, 4
add edi, eax
mov ecx, dword [esp + 0x38]
add edi, 4
cmp edi, ecx
jbe 0x10029b37
mov eax, dword [esp + 0x1c]
mov ecx, edi
sub eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
add eax, 3
mov dword [esp + 0x38], ecx
mov dword [edx], eax
mov eax, dword [esp + 0x34]
add eax, edi
cmp eax, esi
je 0x10029b4a
jmp 0x10029b37
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x14]
jb 0x10029a92
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.10071030
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1ac]
mov eax, dword [esp + 0x38]
pop edi
pop esi
xor ecx, esp
call fcn.10071030
mov esp, ebp
pop ebp
ret