Function at 0x10108260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x101f80c0]
xor eax, esp
mov dword [esp + 0xd4], eax
cmp byte [0x103d7b6d], 0
push esi
push edi
je 0x10108caf
cmp byte [0x103d7b6e], 0
jne 0x10108caf
cmp byte [0x103d7b6f], 0
jne 0x10108caf
cmp byte [0x103d7b74], 0
je 0x10108caf
cmp byte [0x103d7b73], 0
je 0x101082be
xorps xmm0, xmm0
jmp 0x101082c6
movss xmm0, dword [0x101ea4ac]
movss xmm1, dword [0x103d7b5c]
subss xmm1, dword [0x103d7b88]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x103d7b60]
subss xmm0, dword [0x103d7b8c]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1010830a
sqrtsd xmm0, xmm0
jmp 0x1010830f
call fcn.101b5e60
mov ch, byte [0x103d7b70]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
addss xmm3, dword [esp + 0x1c]
movss dword [0x103d7b9c], xmm3
test ch, ch
je 0x10108338
movss xmm1, dword [0x101ea440]
jmp 0x1010833b
xorps xmm1, xmm1
cmp byte [0x103d7b73], 0
movss xmm0, dword [0x103d7b64]
subss xmm0, dword [0x103d7b90]
andps xmm0, xmmword [0x101eac00]
subss xmm0, xmm1
je 0x10108369
movss xmm1, dword [0x101ea4ac]
jmp 0x10108389
mov eax, dword [0x103d7b78]
test eax, eax
jle 0x10108381
cmp eax, 1
jg 0x10108381
movss xmm1, dword [0x101ea380]
jmp 0x10108389
movss xmm1, dword [0x101ea4e0]
mov eax, dword [0x10213408]
mov edi, 9
mov edx, dword [0x103d7b78]
comiss xmm0, xmm1
mov byte [esp + 0x18], 1
mov cl, byte [eax + 0x36c7]
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 + 0x23]
mov dword [esp + 0x30], 0x6c6c756e
mov byte [esp + 0x34], 0
sub eax, 1
je 0x101084eb
sub eax, 1
je 0x101084a0
cmp edx, 3
jl 0x101086b0
test cl, cl
mov edx, 0x101e1dc8
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 0x10108406
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021e60
movss xmm3, dword [0x103d7b9c]
movss xmm0, dword [0x101ea588]
comiss xmm0, xmm3
jbe 0x10108439
mov byte [esp + 0x18], 1
jmp 0x101086ac
comiss xmm3, xmm0
movss xmm0, dword [0x101ea58c]
jb 0x10108455
comiss xmm0, xmm3
jbe 0x10108455
mov byte [esp + 0x18], 3
jmp 0x101086ac
comiss xmm3, xmm0
movss xmm0, dword [0x101ea590]
jb 0x10108471
comiss xmm0, xmm3
jbe 0x10108471
mov byte [esp + 0x18], 4
jmp 0x101086ac
comiss xmm3, xmm0
movss xmm0, dword [0x101ea598]
jb 0x1010848d
comiss xmm0, xmm3
jbe 0x1010848d
mov byte [esp + 0x18], 7
jmp 0x101086ac
comiss xmm3, xmm0
jb 0x101086ac
mov byte [esp + 0x18], 9
jmp 0x101086ac
test cl, cl
mov edx, 0x101e1db4
mov eax, str.Bunnyhop
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101084b4
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021e60
movss xmm3, dword [0x103d7b9c]
movss xmm0, dword [0x101ea588]
comiss xmm0, xmm3
jbe 0x10108439
mov byte [esp + 0x18], 1
jmp 0x101086ac
test ch, ch
jne 0x1010860f
test cl, cl
je 0x1010854a
mov ax, word [0x101e2ad4]
xor edx, edx
mov word [esp + 0x24], ax
mov al, byte [0x101e2ad6]
mov byte [esp + 0x26], al
mov dword [esp + 0x1c], edx
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x1c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x1c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x24], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 3
jl 0x10108511
lea edx, [esp + 0x24]
jmp 0x101085a7
mov ax, word [0x101e2a2c]
movq xmm0, qword [str.xZXP]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x58], ax
test ah, ah
je 0x101085a3
xor edx, edx
mov dword [esp + 0x1c], edx
nop dword [eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [esp + 0x1c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [esp + 0x1c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0xa
jl 0x10108570
lea edx, [esp + 0x50]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101085b0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021e60
movss xmm3, dword [0x103d7b9c]
movss xmm0, dword [0x101ea588]
comiss xmm0, xmm3
jbe 0x101085e3
mov byte [esp + 0x18], 1
jmp 0x101086ac
comiss xmm3, xmm0
movss xmm0, dword [0x101ea590]
jb 0x101085ff
comiss xmm0, xmm3
jbe 0x101085ff
mov byte [esp + 0x18], 3
jmp 0x101086ac
comiss xmm3, xmm0
movss xmm0, dword [0x101ea594]
jmp 0x10108460
test cl, cl
mov edx, 0x101e1da0
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 0x10108623
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021e60
movss xmm3, dword [0x103d7b9c]
movss xmm0, dword [0x101ea5ac]
comiss xmm0, xmm3
jbe 0x10108653
mov byte [esp + 0x18], 1
jmp 0x101086ac
comiss xmm3, xmm0
movss xmm0, dword [0x101ea5b8]
jb 0x1010866c
comiss xmm0, xmm3
jbe 0x1010866c
mov byte [esp + 0x18], 3
jmp 0x101086ac
comiss xmm3, xmm0
movss xmm0, dword [0x101ea5bc]
jb 0x10108682
comiss xmm0, xmm3
ja 0x10108467
comiss xmm3, xmm0
movss xmm0, dword [0x101ea5c0]
jb 0x1010869b
comiss xmm0, xmm3
jbe 0x1010869b
mov byte [esp + 0x18], 7
jmp 0x101086ac
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 [0x103d7b73], 0
je 0x10108766
test cl, cl
mov edx, 0x101e1dd8
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 0x101086d1
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021e60
movss xmm3, dword [0x103d7b9c]
movss xmm0, dword [0x101ea514]
comiss xmm0, xmm3
jbe 0x10108705
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x1010876a
comiss xmm3, xmm0
movss xmm0, dword [0x101ea51c]
jb 0x1010871f
comiss xmm0, xmm3
jbe 0x1010871f
mov cl, 3
mov dword [esp + 0x18], ecx
jmp 0x1010876a
comiss xmm3, xmm0
movss xmm0, dword [0x101ea52c]
jb 0x10108739
comiss xmm0, xmm3
jbe 0x10108739
mov cl, 4
mov dword [esp + 0x18], ecx
jmp 0x1010876a
comiss xmm3, xmm0
movss xmm0, dword [0x101ea530]
jb 0x10108753
comiss xmm0, xmm3
jbe 0x10108753
mov cl, 7
mov dword [esp + 0x18], ecx
jmp 0x1010876a
mov eax, dword [esp + 0x18]
comiss xmm3, xmm0
movzx ecx, al
cmovae ecx, edi
mov dword [esp + 0x18], ecx
jmp 0x1010876a
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10213408]
cmp byte [eax + 0x36c6], 0
jne 0x10108787
mov cl, byte [esp + 0x23]
test cl, cl
je 0x101087bb
mov byte [esp + 0x18], 1
jmp 0x10108793
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x23]
test cl, cl
je 0x101087bb
cmp byte [esp + 0x17], 0
mov ecx, str._Failed
mov eax, 0x101e1de4
cmove eax, ecx
lea ecx, [esp + 0x30]
push eax
call fcn.1001fa90
movss xmm3, dword [0x103d7b9c]
mov cl, byte [esp + 0x23]
xor eax, eax
cmp byte [0x103d7b73], al
je 0x101087ce
comiss xmm3, dword [0x101ea4e8]
jmp 0x101087d5
comiss xmm3, dword [0x101ea574]
setae al
test eax, eax
je 0x10108c60
mov eax, dword [0x10213408]
cmp byte [eax + 0x36c5], 0
jne 0x101087f6
test cl, cl
jne 0x10108c60
mov eax, dword [0x10213408]
cmp byte [eax + 0x36c4], 0
je 0x10108c60
cmp dword [0x103d7b78], 2
mov eax, dword [0x10213404]
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 0x10108a4d
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x1c
mov esi, 0x101e2b68
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jbe 0x1010884e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10214510], 2
mov dword [esp + 0x1c], edx
jl 0x10108990
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm5, xmmword [0x101ea800]
movaps xmm4, xmmword [0x101eabd0]
movaps xmm6, xmmword [0x101ea890]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop word [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 [0x101ea930]
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 [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x64]
xorps xmm1, xmm0
movd dword [esp + edx + 0x64], xmm1
add edx, 8
cmp edx, 0x70
jl 0x10108890
mov dword [esp + 0x1c], edx
cmp edx, 0x73
jge 0x101089c0
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x73
jl 0x10108990
movss xmm0, dword [0x103d7bb4]
sub esp, 8
cvtps2pd xmm0, xmm0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
movsx eax, al
mov ecx, dword [edx]
movsd qword [esp], xmm0
push dword [0x103d7b78]
movss xmm0, dword [0x103d7bac]
cvtps2pd xmm0, xmm0
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x103d7ba8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x103d7ba4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x103d7ba0]
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 0x10108c60
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x19
mov esi, 0x101e2638
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jbe 0x10108a6e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10214510], 2
mov dword [esp + 0x1c], edx
jl 0x10108bb0
movaps xmm0, xmmword [str.44444444444444447777777777777777]
movaps xmm5, xmmword [0x101ea800]
movaps xmm4, xmmword [0x101eabd0]
movaps xmm6, xmmword [0x101ea890]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop word [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 [0x101ea930]
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 [0x101ea930]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x64]
xorps xmm1, xmm0
movd dword [esp + edx + 0x64], xmm1
add edx, 8
cmp edx, 0x60
jl 0x10108ab0
mov dword [esp + 0x1c], edx
cmp edx, 0x66
jge 0x10108be0
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x66
jl 0x10108bb0
movss xmm0, dword [0x103d7bb4]
sub esp, 0x20
cvtps2pd xmm0, xmm0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
movsx eax, al
mov ecx, dword [edx]
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [0x103d7bac]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x103d7ba8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x103d7ba4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x103d7ba0]
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 [0x103d7b74], 0
cmp ecx, 0xf
jbe 0x10108c99
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10108c8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10108cc5
push ecx
push edx
call fcn.1018dda2
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1018daa9
mov esp, ebp
pop ebp
ret
call fcn.10192ed6
int3