Function at 0x1010cba0
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 [0x104693a5], 0
push esi
push edi
je 0x1010d5cf
cmp byte [0x104693a6], 0
jne 0x1010d5cf
cmp byte [0x104693a7], 0
jne 0x1010d5cf
cmp byte [0x104693ac], 0
je 0x1010d5cf
cmp byte [0x104693ab], 0
je 0x1010cbfe
xorps xmm0, xmm0
jmp 0x1010cc06
movss xmm0, dword [0x10215754]
movss xmm1, dword [0x10469394]
subss xmm1, dword [0x104693c0]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x10469398]
subss xmm0, dword [0x104693c4]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1010cc4a
sqrtsd xmm0, xmm0
jmp 0x1010cc4f
call fcn.101de260
mov ch, byte [0x104693a8]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
addss xmm3, dword [esp + 0x18]
movss dword [0x104693d4], xmm3
test ch, ch
je 0x1010cc78
movss xmm1, dword [0x102156e8]
jmp 0x1010cc7b
xorps xmm1, xmm1
cmp byte [0x104693ab], 0
movss xmm0, dword [0x1046939c]
subss xmm0, dword [0x104693c8]
andps xmm0, xmmword [0x10215f20]
subss xmm0, xmm1
je 0x1010cca9
movss xmm1, dword [0x10215754]
jmp 0x1010ccc9
mov eax, dword [0x104693b0]
test eax, eax
jle 0x1010ccc1
cmp eax, 1
jg 0x1010ccc1
movss xmm1, dword [0x10215620]
jmp 0x1010ccc9
movss xmm1, dword [0x10215788]
mov eax, dword [0x10240c80]
mov edi, 9
mov edx, dword [0x104693b0]
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 0x1010ce2b
sub eax, 1
je 0x1010cde0
cmp edx, 3
jl 0x1010cfd5
test cl, cl
mov edx, 0x1020bfcc
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 0x1010cd46
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.100230b0
movss xmm3, dword [0x104693d4]
movss xmm0, dword [0x10215834]
comiss xmm0, xmm3
jbe 0x1010cd79
mov byte [esp + 0x18], 1
jmp 0x1010cfd1
comiss xmm3, xmm0
movss xmm0, dword [0x10215838]
jb 0x1010cd95
comiss xmm0, xmm3
jbe 0x1010cd95
mov byte [esp + 0x18], 3
jmp 0x1010cfd1
comiss xmm3, xmm0
movss xmm0, dword [0x1021583c]
jb 0x1010cdb1
comiss xmm0, xmm3
jbe 0x1010cdb1
mov byte [esp + 0x18], 4
jmp 0x1010cfd1
comiss xmm3, xmm0
movss xmm0, dword [0x10215844]
jb 0x1010cdcd
comiss xmm0, xmm3
jbe 0x1010cdcd
mov byte [esp + 0x18], 7
jmp 0x1010cfd1
comiss xmm3, xmm0
jb 0x1010cfd1
mov byte [esp + 0x18], 9
jmp 0x1010cfd1
test cl, cl
mov edx, 0x1020bfd4
mov eax, str.Bunnyhop
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010cdf4
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.100230b0
movss xmm3, dword [0x104693d4]
movss xmm0, dword [0x10215834]
comiss xmm0, xmm3
jbe 0x1010cd79
mov byte [esp + 0x18], 1
jmp 0x1010cfd1
test ch, ch
jne 0x1010cf34
test cl, cl
je 0x1010ce80
mov ax, word [0x1020da04]
xor edx, edx
mov word [esp + 0x20], ax
mov al, byte [0x1020da06]
mov byte [esp + 0x22], al
mov dword [esp + 0x24], edx
mov eax, 0x51eb851f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x31
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 3
jl 0x1010ce51
lea edx, [esp + 0x20]
jmp 0x1010ced0
mov ax, word [0x1020c7d8]
movq xmm0, qword [str.__S]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x58], ax
test ah, ah
je 0x1010cecc
xor edx, edx
mov dword [esp + 0x24], edx
mov eax, 0x51eb851f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x31
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0xa
jl 0x1010cea3
lea edx, [esp + 0x50]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010ced5
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.100230b0
movss xmm3, dword [0x104693d4]
movss xmm0, dword [0x10215834]
comiss xmm0, xmm3
jbe 0x1010cf08
mov byte [esp + 0x18], 1
jmp 0x1010cfd1
comiss xmm3, xmm0
movss xmm0, dword [0x1021583c]
jb 0x1010cf24
comiss xmm0, xmm3
jbe 0x1010cf24
mov byte [esp + 0x18], 3
jmp 0x1010cfd1
comiss xmm3, xmm0
movss xmm0, dword [0x10215840]
jmp 0x1010cda0
test cl, cl
mov edx, 0x1020bfd0
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 0x1010cf48
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.100230b0
movss xmm3, dword [0x104693d4]
movss xmm0, dword [0x10215858]
comiss xmm0, xmm3
jbe 0x1010cf78
mov byte [esp + 0x18], 1
jmp 0x1010cfd1
comiss xmm3, xmm0
movss xmm0, dword [0x10215864]
jb 0x1010cf91
comiss xmm0, xmm3
jbe 0x1010cf91
mov byte [esp + 0x18], 3
jmp 0x1010cfd1
comiss xmm3, xmm0
movss xmm0, dword [0x10215868]
jb 0x1010cfa7
comiss xmm0, xmm3
ja 0x1010cda7
comiss xmm3, xmm0
movss xmm0, dword [0x1021586c]
jb 0x1010cfc0
comiss xmm0, xmm3
jbe 0x1010cfc0
mov byte [esp + 0x18], 7
jmp 0x1010cfd1
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 [0x104693ab], 0
je 0x1010d08b
test cl, cl
mov edx, 0x1020bff8
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 0x1010cff6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.100230b0
movss xmm3, dword [0x104693d4]
movss xmm0, dword [0x102157c4]
comiss xmm0, xmm3
jbe 0x1010d02a
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x1010d08f
comiss xmm3, xmm0
movss xmm0, dword [0x102157cc]
jb 0x1010d044
comiss xmm0, xmm3
jbe 0x1010d044
mov cl, 3
mov dword [esp + 0x18], ecx
jmp 0x1010d08f
comiss xmm3, xmm0
movss xmm0, dword [0x102157dc]
jb 0x1010d05e
comiss xmm0, xmm3
jbe 0x1010d05e
mov cl, 4
mov dword [esp + 0x18], ecx
jmp 0x1010d08f
comiss xmm3, xmm0
movss xmm0, dword [0x102157e0]
jb 0x1010d078
comiss xmm0, xmm3
jbe 0x1010d078
mov cl, 7
mov dword [esp + 0x18], ecx
jmp 0x1010d08f
mov eax, dword [esp + 0x18]
comiss xmm3, xmm0
movzx ecx, al
cmovae ecx, edi
mov dword [esp + 0x18], ecx
jmp 0x1010d08f
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10240c80]
cmp byte [eax + 0x381e], 0
jne 0x1010d0ac
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x1010d0e0
mov byte [esp + 0x18], 1
jmp 0x1010d0b8
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x1010d0e0
cmp byte [esp + 0x17], 0
mov ecx, str._Failed
mov eax, 0x1020bfe4
cmove eax, ecx
lea ecx, [esp + 0x30]
push eax
call fcn.10020ce0
movss xmm3, dword [0x104693d4]
mov cl, byte [esp + 0x1f]
xor eax, eax
cmp byte [0x104693ab], al
je 0x1010d0f3
comiss xmm3, dword [0x10215794]
jmp 0x1010d0fa
comiss xmm3, dword [0x10215820]
setae al
test eax, eax
je 0x1010d580
mov eax, dword [0x10240c80]
cmp byte [eax + 0x381d], 0
jne 0x1010d11b
test cl, cl
jne 0x1010d580
mov eax, dword [0x10240c80]
cmp byte [eax + 0x381c], 0
je 0x1010d580
cmp dword [0x104693b0], 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 0x1010d36d
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x1d
mov esi, 0x1020d988
rep movsd dword es:[edi], dword [esi]
jbe 0x1010d170
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10241d90], 2
mov dword [esp + 0x20], edx
jl 0x1010d2b0
movaps xmm0, xmmword [0x10215c30]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x10215ab0]
movaps xmm4, xmmword [0x10215f10]
movaps xmm6, xmmword [0x10215b10]
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 [0x10215c00]
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 [0x10215c00]
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 0x1010d1b0
mov dword [esp + 0x20], edx
cmp edx, 0x74
jge 0x1010d2e0
nop
mov eax, 0x51eb851f
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, 0x32
sub cl, al
add cl, 0x31
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x74
jl 0x1010d2b0
movss xmm0, dword [0x104693ec]
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 [0x104693b0]
movss xmm0, dword [0x104693e4]
cvtps2pd xmm0, xmm0
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x104693e0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x104693dc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x104693d8]
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 0x1010d580
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x19
mov esi, 0x1020c768
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jbe 0x1010d38f
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10241d90], 2
mov dword [esp + 0x20], edx
jl 0x1010d4d0
movaps xmm0, xmmword [0x10215c30]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x10215ab0]
movaps xmm4, xmmword [0x10215f10]
movaps xmm6, xmmword [0x10215b10]
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 [0x10215c00]
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 [0x10215c00]
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 0x1010d3d0
mov dword [esp + 0x20], edx
cmp edx, 0x67
jge 0x1010d500
nop
mov eax, 0x51eb851f
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, 0x32
sub cl, al
add cl, 0x31
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x67
jl 0x1010d4d0
movss xmm0, dword [0x104693ec]
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 [0x104693e4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x104693e0]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x104693dc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x104693d8]
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 [0x104693ac], 0
cmp ecx, 0xf
jbe 0x1010d5b9
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010d5af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010d5e5
push ecx
push edx
call fcn.101b61a3
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.101b5eaa
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.101b5eaa
mov esp, ebp
pop ebp
ret
call fcn.101bb2d6
int3