Function at 0x1010ce30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0xd4], eax
cmp byte [0x104694a5], 0
push esi
push edi
je 0x1010d883
cmp byte [0x104694a6], 0
jne 0x1010d883
cmp byte [0x104694a7], 0
jne 0x1010d883
cmp byte [0x104694ac], 0
je 0x1010d883
cmp byte [0x104694ab], 0
je 0x1010ce8e
xorps xmm0, xmm0
jmp 0x1010ce96
movss xmm0, dword [0x10215404]
movss xmm1, dword [0x10469494]
subss xmm1, dword [0x104694c0]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x10469498]
subss xmm0, dword [0x104694c4]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1010ceda
sqrtsd xmm0, xmm0
jmp 0x1010cedf
call fcn.101de160
mov ch, byte [0x104694a8]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
addss xmm3, dword [esp + 0x18]
movss dword [0x104694d4], xmm3
test ch, ch
je 0x1010cf08
movss xmm1, dword [0x10215398]
jmp 0x1010cf0b
xorps xmm1, xmm1
cmp byte [0x104694ab], 0
movss xmm0, dword [0x1046949c]
subss xmm0, dword [0x104694c8]
andps xmm0, xmmword [0x10215bb0]
subss xmm0, xmm1
je 0x1010cf39
movss xmm1, dword [0x10215404]
jmp 0x1010cf59
mov eax, dword [0x104694b0]
test eax, eax
jle 0x1010cf51
cmp eax, 1
jg 0x1010cf51
movss xmm1, dword [0x102152d0]
jmp 0x1010cf59
movss xmm1, dword [0x10215438]
mov eax, dword [0x10240c80]
mov edi, 9
mov edx, dword [0x104694b0]
comiss xmm0, xmm1
mov byte [esp + 0x18], 1
mov cl, byte [eax + 0x380f]
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 0x1010d0bb
sub eax, 1
je 0x1010d070
cmp edx, 3
jl 0x1010d265
test cl, cl
mov edx, 0x1020bea8
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 0x1010cfd6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104694d4]
movss xmm0, dword [0x102154e8]
comiss xmm0, xmm3
jbe 0x1010d009
mov byte [esp + 0x18], 1
jmp 0x1010d261
comiss xmm3, xmm0
movss xmm0, dword [0x102154ec]
jb 0x1010d025
comiss xmm0, xmm3
jbe 0x1010d025
mov byte [esp + 0x18], 3
jmp 0x1010d261
comiss xmm3, xmm0
movss xmm0, dword [0x102154f0]
jb 0x1010d041
comiss xmm0, xmm3
jbe 0x1010d041
mov byte [esp + 0x18], 4
jmp 0x1010d261
comiss xmm3, xmm0
movss xmm0, dword [0x102154f8]
jb 0x1010d05d
comiss xmm0, xmm3
jbe 0x1010d05d
mov byte [esp + 0x18], 7
jmp 0x1010d261
comiss xmm3, xmm0
jb 0x1010d261
mov byte [esp + 0x18], 9
jmp 0x1010d261
test cl, cl
mov edx, 0x1020be7c
mov eax, str.Bunnyhop
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010d084
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104694d4]
movss xmm0, dword [0x102154e8]
comiss xmm0, xmm3
jbe 0x1010d009
mov byte [esp + 0x18], 1
jmp 0x1010d261
test ch, ch
jne 0x1010d1c4
test cl, cl
je 0x1010d110
mov ax, word [0x1020d4fc]
xor edx, edx
mov word [esp + 0x20], ax
mov al, byte [0x1020d4fe]
mov byte [esp + 0x22], al
mov dword [esp + 0x24], edx
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 3
jl 0x1010d0e1
lea edx, [esp + 0x20]
jmp 0x1010d160
mov ax, word [0x1020c4fc]
movq xmm0, qword [0x1020c4f4]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x58], ax
test ah, ah
je 0x1010d15c
xor edx, edx
mov dword [esp + 0x24], edx
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0xa
jl 0x1010d133
lea edx, [esp + 0x50]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010d165
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104694d4]
movss xmm0, dword [0x102154e8]
comiss xmm0, xmm3
jbe 0x1010d198
mov byte [esp + 0x18], 1
jmp 0x1010d261
comiss xmm3, xmm0
movss xmm0, dword [0x102154f0]
jb 0x1010d1b4
comiss xmm0, xmm3
jbe 0x1010d1b4
mov byte [esp + 0x18], 3
jmp 0x1010d261
comiss xmm3, xmm0
movss xmm0, dword [0x102154f4]
jmp 0x1010d030
test cl, cl
mov edx, 0x1020be78
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 0x1010d1d8
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104694d4]
movss xmm0, dword [0x1021550c]
comiss xmm0, xmm3
jbe 0x1010d208
mov byte [esp + 0x18], 1
jmp 0x1010d261
comiss xmm3, xmm0
movss xmm0, dword [0x10215518]
jb 0x1010d221
comiss xmm0, xmm3
jbe 0x1010d221
mov byte [esp + 0x18], 3
jmp 0x1010d261
comiss xmm3, xmm0
movss xmm0, dword [0x1021551c]
jb 0x1010d237
comiss xmm0, xmm3
ja 0x1010d037
comiss xmm3, xmm0
movss xmm0, dword [0x10215520]
jb 0x1010d250
comiss xmm0, xmm3
jbe 0x1010d250
mov byte [esp + 0x18], 7
jmp 0x1010d261
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 [0x104694ab], 0
je 0x1010d31b
test cl, cl
mov edx, 0x1020be98
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 0x1010d286
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104694d4]
movss xmm0, dword [0x10215474]
comiss xmm0, xmm3
jbe 0x1010d2ba
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x1010d31f
comiss xmm3, xmm0
movss xmm0, dword [0x1021547c]
jb 0x1010d2d4
comiss xmm0, xmm3
jbe 0x1010d2d4
mov cl, 3
mov dword [esp + 0x18], ecx
jmp 0x1010d31f
comiss xmm3, xmm0
movss xmm0, dword [0x1021548c]
jb 0x1010d2ee
comiss xmm0, xmm3
jbe 0x1010d2ee
mov cl, 4
mov dword [esp + 0x18], ecx
jmp 0x1010d31f
comiss xmm3, xmm0
movss xmm0, dword [0x10215490]
jb 0x1010d308
comiss xmm0, xmm3
jbe 0x1010d308
mov cl, 7
mov dword [esp + 0x18], ecx
jmp 0x1010d31f
mov eax, dword [esp + 0x18]
comiss xmm3, xmm0
movzx ecx, al
cmovae ecx, edi
mov dword [esp + 0x18], ecx
jmp 0x1010d31f
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10240c80]
cmp byte [eax + 0x380e], 0
jne 0x1010d33c
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x1010d370
mov byte [esp + 0x18], 1
jmp 0x1010d348
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x1010d370
cmp byte [esp + 0x17], 0
mov ecx, str._Failed
mov eax, 0x1020bec8
cmove eax, ecx
lea ecx, [esp + 0x30]
push eax
call fcn.10020790
movss xmm3, dword [0x104694d4]
mov cl, byte [esp + 0x1f]
xor eax, eax
cmp byte [0x104694ab], al
je 0x1010d383
comiss xmm3, dword [0x10215444]
jmp 0x1010d38a
comiss xmm3, dword [0x102154d4]
setae al
test eax, eax
je 0x1010d834
mov eax, dword [0x10240c80]
cmp byte [eax + 0x380d], 0
jne 0x1010d3ab
test cl, cl
jne 0x1010d834
mov eax, dword [0x10240c80]
cmp byte [eax + 0x380c], 0
je 0x1010d834
cmp dword [0x104694b0], 2
mov eax, dword [0x10240c7c]
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 0x1010d611
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x1d
mov esi, 0x1020c840
rep movsd dword es:[edi], dword [esi]
jbe 0x1010d400
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10241d90], 2
mov dword [esp + 0x20], edx
jl 0x1010d550
movaps xmm0, xmmword [0x10215900]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x10215760]
movaps xmm4, xmmword [0x10215bf0]
movaps xmm6, xmmword [0x10215820]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x102158a0]
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
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x102158a0]
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 0x1010d440
mov dword [esp + 0x20], edx
cmp edx, 0x74
jge 0x1010d584
nop word [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x20]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x74
jl 0x1010d550
movss xmm0, dword [0x104694ec]
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 [0x104694b0]
movss xmm0, dword [0x104694e4]
cvtps2pd xmm0, xmm0
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x104694e0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x104694dc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x104694d8]
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 0x1010d834
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x19
mov esi, 0x1020d870
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jbe 0x1010d633
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10241d90], 2
mov dword [esp + 0x20], edx
jl 0x1010d780
movaps xmm0, xmmword [0x10215900]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x10215760]
movaps xmm4, xmmword [0x10215bf0]
movaps xmm6, xmmword [0x10215820]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x102158a0]
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
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x102158a0]
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 0x1010d670
mov dword [esp + 0x20], edx
cmp edx, 0x67
jge 0x1010d7b4
nop word [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [esp + 0x20]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x20]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x35
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x67
jl 0x1010d780
movss xmm0, dword [0x104694ec]
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 [0x104694e4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x104694e0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x104694dc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x104694d8]
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 [0x104694ac], 0
cmp ecx, 0xf
jbe 0x1010d86d
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010d863
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010d899
push ecx
push edx
call fcn.101b60a3
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.101b5daa
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.101b5daa
mov esp, ebp
pop ebp
ret
call fcn.101bb1d6
int3