Function at 0x1010c500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0xd4], eax
cmp byte [0x1046849d], 0
push esi
push edi
je 0x1010cf2f
cmp byte [0x1046849e], 0
jne 0x1010cf2f
cmp byte [0x1046849f], 0
jne 0x1010cf2f
cmp byte [0x104684a4], 0
je 0x1010cf2f
cmp byte [0x104684a3], 0
je 0x1010c55e
xorps xmm0, xmm0
jmp 0x1010c566
movss xmm0, dword [0x102145fc]
movss xmm1, dword [0x1046848c]
subss xmm1, dword [0x104684b8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x10468490]
subss xmm0, dword [0x104684bc]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1010c5aa
sqrtsd xmm0, xmm0
jmp 0x1010c5af
call fcn.101ddb50
mov ch, byte [0x104684a0]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
addss xmm3, dword [esp + 0x18]
movss dword [0x104684cc], xmm3
test ch, ch
je 0x1010c5d8
movss xmm1, dword [0x10214590]
jmp 0x1010c5db
xorps xmm1, xmm1
cmp byte [0x104684a3], 0
movss xmm0, dword [0x10468494]
subss xmm0, dword [0x104684c0]
andps xmm0, xmmword [0x10214d30]
subss xmm0, xmm1
je 0x1010c609
movss xmm1, dword [0x102145fc]
jmp 0x1010c629
mov eax, dword [0x104684a8]
test eax, eax
jle 0x1010c621
cmp eax, 1
jg 0x1010c621
movss xmm1, dword [0x102144c8]
jmp 0x1010c629
movss xmm1, dword [0x10214630]
mov eax, dword [0x1023fc80]
mov edi, 9
mov edx, dword [0x104684a8]
comiss xmm0, xmm1
mov byte [esp + 0x18], 1
mov cl, byte [eax + 0x381f]
mov eax, edx
mov byte [esp + 0x17], cl
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], 0xf
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
setae byte [esp + 0x1f]
mov dword [esp + 0x30], 0x6c6c756e
mov byte [esp + 0x34], 0
sub eax, 1
je 0x1010c78b
sub eax, 1
je 0x1010c740
cmp edx, 3
jl 0x1010c935
test cl, cl
mov edx, 0x1020af44
mov eax, str.Multi_Bunnyhop
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010c6a6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10023010
movss xmm3, dword [0x104684cc]
movss xmm0, dword [0x102146dc]
comiss xmm0, xmm3
jbe 0x1010c6d9
mov byte [esp + 0x18], 1
jmp 0x1010c931
comiss xmm3, xmm0
movss xmm0, dword [0x102146e0]
jb 0x1010c6f5
comiss xmm0, xmm3
jbe 0x1010c6f5
mov byte [esp + 0x18], 3
jmp 0x1010c931
comiss xmm3, xmm0
movss xmm0, dword [0x102146e4]
jb 0x1010c711
comiss xmm0, xmm3
jbe 0x1010c711
mov byte [esp + 0x18], 4
jmp 0x1010c931
comiss xmm3, xmm0
movss xmm0, dword [0x102146ec]
jb 0x1010c72d
comiss xmm0, xmm3
jbe 0x1010c72d
mov byte [esp + 0x18], 7
jmp 0x1010c931
comiss xmm3, xmm0
jb 0x1010c931
mov byte [esp + 0x18], 9
jmp 0x1010c931
test cl, cl
mov edx, 0x1020af58
mov eax, str.Bunnyhop
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010c754
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10023010
movss xmm3, dword [0x104684cc]
movss xmm0, dword [0x102146dc]
comiss xmm0, xmm3
jbe 0x1010c6d9
mov byte [esp + 0x18], 1
jmp 0x1010c931
test ch, ch
jne 0x1010c894
test cl, cl
je 0x1010c7e0
mov ax, word [0x1020b97c]
xor edx, edx
mov word [esp + 0x20], ax
mov al, byte [0x1020b97e]
mov byte [esp + 0x22], al
mov dword [esp + 0x24], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 3
jl 0x1010c7b1
lea edx, [esp + 0x20]
jmp 0x1010c830
mov ax, word [0x1020bfbc]
movq xmm0, qword [str.zXV]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x58], ax
test ah, ah
je 0x1010c82c
xor edx, edx
mov dword [esp + 0x24], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0xa
jl 0x1010c803
lea edx, [esp + 0x50]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010c835
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10023010
movss xmm3, dword [0x104684cc]
movss xmm0, dword [0x102146dc]
comiss xmm0, xmm3
jbe 0x1010c868
mov byte [esp + 0x18], 1
jmp 0x1010c931
comiss xmm3, xmm0
movss xmm0, dword [0x102146e4]
jb 0x1010c884
comiss xmm0, xmm3
jbe 0x1010c884
mov byte [esp + 0x18], 3
jmp 0x1010c931
comiss xmm3, xmm0
movss xmm0, dword [0x102146e8]
jmp 0x1010c700
test cl, cl
mov edx, 0x1020af38
mov eax, str.Jump_bug
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010c8a8
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10023010
movss xmm3, dword [0x104684cc]
movss xmm0, dword [0x10214700]
comiss xmm0, xmm3
jbe 0x1010c8d8
mov byte [esp + 0x18], 1
jmp 0x1010c931
comiss xmm3, xmm0
movss xmm0, dword [0x1021470c]
jb 0x1010c8f1
comiss xmm0, xmm3
jbe 0x1010c8f1
mov byte [esp + 0x18], 3
jmp 0x1010c931
comiss xmm3, xmm0
movss xmm0, dword [0x10214710]
jb 0x1010c907
comiss xmm0, xmm3
ja 0x1010c707
comiss xmm3, xmm0
movss xmm0, dword [0x10214714]
jb 0x1010c920
comiss xmm0, xmm3
jbe 0x1010c920
mov byte [esp + 0x18], 7
jmp 0x1010c931
mov eax, dword [esp + 0x18]
comiss xmm3, xmm0
movzx eax, al
cmovae eax, edi
mov dword [esp + 0x18], eax
mov cl, byte [esp + 0x17]
cmp byte [0x104684a3], 0
je 0x1010c9eb
test cl, cl
mov edx, 0x1020af74
mov eax, str.Ladder_jump
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010c956
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10023010
movss xmm3, dword [0x104684cc]
movss xmm0, dword [0x1021466c]
comiss xmm0, xmm3
jbe 0x1010c98a
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x1010c9ef
comiss xmm3, xmm0
movss xmm0, dword [0x10214674]
jb 0x1010c9a4
comiss xmm0, xmm3
jbe 0x1010c9a4
mov cl, 3
mov dword [esp + 0x18], ecx
jmp 0x1010c9ef
comiss xmm3, xmm0
movss xmm0, dword [0x10214684]
jb 0x1010c9be
comiss xmm0, xmm3
jbe 0x1010c9be
mov cl, 4
mov dword [esp + 0x18], ecx
jmp 0x1010c9ef
comiss xmm3, xmm0
movss xmm0, dword [0x10214688]
jb 0x1010c9d8
comiss xmm0, xmm3
jbe 0x1010c9d8
mov cl, 7
mov dword [esp + 0x18], ecx
jmp 0x1010c9ef
mov eax, dword [esp + 0x18]
comiss xmm3, xmm0
movzx ecx, al
cmovae ecx, edi
mov dword [esp + 0x18], ecx
jmp 0x1010c9ef
mov ecx, dword [esp + 0x18]
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x381e], 0
jne 0x1010ca0c
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x1010ca40
mov byte [esp + 0x18], 1
jmp 0x1010ca18
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x1010ca40
cmp byte [esp + 0x17], 0
mov ecx, str._Failed
mov eax, 0x1020af68
cmove eax, ecx
lea ecx, [esp + 0x30]
push eax
call fcn.10020c40
movss xmm3, dword [0x104684cc]
mov cl, byte [esp + 0x1f]
xor eax, eax
cmp byte [0x104684a3], al
je 0x1010ca53
comiss xmm3, dword [0x1021463c]
jmp 0x1010ca5a
comiss xmm3, dword [0x102146c8]
setae al
test eax, eax
je 0x1010cee0
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x381d], 0
jne 0x1010ca7b
test cl, cl
jne 0x1010cee0
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x381c], 0
je 0x1010cee0
cmp dword [0x104684a8], 2
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x24], eax
jle 0x1010cccd
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x1d
mov esi, 0x1020c068
rep movsd dword es:[edi], dword [esi]
jbe 0x1010cad0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10240d90], 2
mov dword [esp + 0x20], edx
jl 0x1010cc10
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x10214950]
movaps xmm4, xmmword [0x10214d20]
movaps xmm6, xmmword [0x102149b0]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop dword [eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x60]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x60], xmm1
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esi + edx]
xorps xmm1, xmm0
movd dword [esi + edx], xmm1
add edx, 8
cmp edx, 0x70
jl 0x1010cb10
mov dword [esp + 0x20], edx
cmp edx, 0x74
jge 0x1010cc40
nop
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x74
jl 0x1010cc10
movss xmm0, dword [0x104684e4]
sub esp, 8
cvtps2pd xmm0, xmm0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
movzx eax, al
mov ecx, dword [edx]
movsd qword [esp], xmm0
push dword [0x104684a8]
movss xmm0, dword [0x104684dc]
cvtps2pd xmm0, xmm0
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x104684d8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x104684d4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x104684d0]
cvtss2sd xmm0, xmm3
sub esp, 8
movsd qword [esp], xmm0
push dword [esp + 0x54]
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [ecx + 0x68]
push 0
push edx
call eax
add esp, 0x44
jmp 0x1010cee0
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x19
mov esi, 0x1020b6c8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jbe 0x1010ccef
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10240d90], 2
mov dword [esp + 0x20], edx
jl 0x1010ce30
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x10214950]
movaps xmm4, xmmword [0x10214d20]
movaps xmm6, xmmword [0x102149b0]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop dword [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x60]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x60], xmm1
paddd xmm2, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esi + edx]
xorps xmm1, xmm0
movd dword [esi + edx], xmm1
add edx, 8
cmp edx, 0x60
jl 0x1010cd30
mov dword [esp + 0x20], edx
cmp edx, 0x67
jge 0x1010ce60
nop
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x67
jl 0x1010ce30
movss xmm0, dword [0x104684e4]
sub esp, 0x20
cvtps2pd xmm0, xmm0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
movzx eax, al
mov ecx, dword [edx]
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [0x104684dc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x104684d8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x104684d4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x104684d0]
cvtss2sd xmm0, xmm3
sub esp, 8
movsd qword [esp], xmm0
push dword [esp + 0x50]
push eax
lea eax, [esp + 0x94]
push eax
mov eax, dword [ecx + 0x68]
push 0
push edx
call eax
add esp, 0x40
mov ecx, dword [esp + 0x44]
mov byte [0x104684a4], 0
cmp ecx, 0xf
jbe 0x1010cf19
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010cf0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010cf45
push ecx
push edx
call fcn.101b5a93
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
call fcn.101babc6
int3