Function at 0x1010c080
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 [0x104684ad], 0
push esi
push edi
je 0x1010caaf
cmp byte [0x104684ae], 0
jne 0x1010caaf
cmp byte [0x104684af], 0
jne 0x1010caaf
cmp byte [0x104684b4], 0
je 0x1010caaf
cmp byte [0x104684b3], 0
je 0x1010c0de
xorps xmm0, xmm0
jmp 0x1010c0e6
movss xmm0, dword [0x10214644]
movss xmm1, dword [0x1046849c]
subss xmm1, dword [0x104684c8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x104684a0]
subss xmm0, dword [0x104684cc]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1010c12a
sqrtsd xmm0, xmm0
jmp 0x1010c12f
call fcn.101dd630
mov ch, byte [0x104684b0]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
addss xmm3, dword [esp + 0x18]
movss dword [0x104684dc], xmm3
test ch, ch
je 0x1010c158
movss xmm1, dword [0x102145d8]
jmp 0x1010c15b
xorps xmm1, xmm1
cmp byte [0x104684b3], 0
movss xmm0, dword [0x104684a4]
subss xmm0, dword [0x104684d0]
andps xmm0, xmmword [0x10214dd0]
subss xmm0, xmm1
je 0x1010c189
movss xmm1, dword [0x10214644]
jmp 0x1010c1a9
mov eax, dword [0x104684b8]
test eax, eax
jle 0x1010c1a1
cmp eax, 1
jg 0x1010c1a1
movss xmm1, dword [0x10214510]
jmp 0x1010c1a9
movss xmm1, dword [0x10214678]
mov eax, dword [0x1023fc80]
mov edi, 9
mov edx, dword [0x104684b8]
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 0x1010c30b
sub eax, 1
je 0x1010c2c0
cmp edx, 3
jl 0x1010c4b5
test cl, cl
mov edx, 0x1020ae94
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 0x1010c226
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104684dc]
movss xmm0, dword [0x10214728]
comiss xmm0, xmm3
jbe 0x1010c259
mov byte [esp + 0x18], 1
jmp 0x1010c4b1
comiss xmm3, xmm0
movss xmm0, dword [0x1021472c]
jb 0x1010c275
comiss xmm0, xmm3
jbe 0x1010c275
mov byte [esp + 0x18], 3
jmp 0x1010c4b1
comiss xmm3, xmm0
movss xmm0, dword [0x10214730]
jb 0x1010c291
comiss xmm0, xmm3
jbe 0x1010c291
mov byte [esp + 0x18], 4
jmp 0x1010c4b1
comiss xmm3, xmm0
movss xmm0, dword [0x10214738]
jb 0x1010c2ad
comiss xmm0, xmm3
jbe 0x1010c2ad
mov byte [esp + 0x18], 7
jmp 0x1010c4b1
comiss xmm3, xmm0
jb 0x1010c4b1
mov byte [esp + 0x18], 9
jmp 0x1010c4b1
test cl, cl
mov edx, 0x1020ae9c
mov eax, str.Bunnyhop
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010c2d4
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104684dc]
movss xmm0, dword [0x10214728]
comiss xmm0, xmm3
jbe 0x1010c259
mov byte [esp + 0x18], 1
jmp 0x1010c4b1
test ch, ch
jne 0x1010c414
test cl, cl
je 0x1010c360
mov ax, word [0x1020caf8]
xor edx, edx
mov word [esp + 0x20], ax
mov al, byte [0x1020cafa]
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, 0x34
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 3
jl 0x1010c331
lea edx, [esp + 0x20]
jmp 0x1010c3b0
mov ax, word [0x1020ca60]
movq xmm0, qword [str.xZXP]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x58], ax
test ah, ah
je 0x1010c3ac
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, 0x34
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0xa
jl 0x1010c383
lea edx, [esp + 0x50]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010c3b5
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104684dc]
movss xmm0, dword [0x10214728]
comiss xmm0, xmm3
jbe 0x1010c3e8
mov byte [esp + 0x18], 1
jmp 0x1010c4b1
comiss xmm3, xmm0
movss xmm0, dword [0x10214730]
jb 0x1010c404
comiss xmm0, xmm3
jbe 0x1010c404
mov byte [esp + 0x18], 3
jmp 0x1010c4b1
comiss xmm3, xmm0
movss xmm0, dword [0x10214734]
jmp 0x1010c280
test cl, cl
mov edx, 0x1020ae98
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 0x1010c428
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104684dc]
movss xmm0, dword [0x1021474c]
comiss xmm0, xmm3
jbe 0x1010c458
mov byte [esp + 0x18], 1
jmp 0x1010c4b1
comiss xmm3, xmm0
movss xmm0, dword [0x10214758]
jb 0x1010c471
comiss xmm0, xmm3
jbe 0x1010c471
mov byte [esp + 0x18], 3
jmp 0x1010c4b1
comiss xmm3, xmm0
movss xmm0, dword [0x1021475c]
jb 0x1010c487
comiss xmm0, xmm3
ja 0x1010c287
comiss xmm3, xmm0
movss xmm0, dword [0x10214760]
jb 0x1010c4a0
comiss xmm0, xmm3
jbe 0x1010c4a0
mov byte [esp + 0x18], 7
jmp 0x1010c4b1
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 [0x104684b3], 0
je 0x1010c56b
test cl, cl
mov edx, 0x1020aec0
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 0x1010c4d6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022b70
movss xmm3, dword [0x104684dc]
movss xmm0, dword [0x102146b4]
comiss xmm0, xmm3
jbe 0x1010c50a
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x1010c56f
comiss xmm3, xmm0
movss xmm0, dword [0x102146bc]
jb 0x1010c524
comiss xmm0, xmm3
jbe 0x1010c524
mov cl, 3
mov dword [esp + 0x18], ecx
jmp 0x1010c56f
comiss xmm3, xmm0
movss xmm0, dword [0x102146cc]
jb 0x1010c53e
comiss xmm0, xmm3
jbe 0x1010c53e
mov cl, 4
mov dword [esp + 0x18], ecx
jmp 0x1010c56f
comiss xmm3, xmm0
movss xmm0, dword [0x102146d0]
jb 0x1010c558
comiss xmm0, xmm3
jbe 0x1010c558
mov cl, 7
mov dword [esp + 0x18], ecx
jmp 0x1010c56f
mov eax, dword [esp + 0x18]
comiss xmm3, xmm0
movzx ecx, al
cmovae ecx, edi
mov dword [esp + 0x18], ecx
jmp 0x1010c56f
mov ecx, dword [esp + 0x18]
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x380e], 0
jne 0x1010c58c
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x1010c5c0
mov byte [esp + 0x18], 1
jmp 0x1010c598
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x1010c5c0
cmp byte [esp + 0x17], 0
mov ecx, str._Failed
mov eax, 0x1020aeac
cmove eax, ecx
lea ecx, [esp + 0x30]
push eax
call fcn.10020790
movss xmm3, dword [0x104684dc]
mov cl, byte [esp + 0x1f]
xor eax, eax
cmp byte [0x104684b3], al
je 0x1010c5d3
comiss xmm3, dword [0x10214684]
jmp 0x1010c5da
comiss xmm3, dword [0x10214714]
setae al
test eax, eax
je 0x1010ca60
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x380d], 0
jne 0x1010c5fb
test cl, cl
jne 0x1010ca60
mov eax, dword [0x1023fc80]
cmp byte [eax + 0x380c], 0
je 0x1010ca60
cmp dword [0x104684b8], 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 0x1010c84d
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x1d
mov esi, 0x1020c7a8
rep movsd dword es:[edi], dword [esi]
jbe 0x1010c650
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10240d90], 2
mov dword [esp + 0x20], edx
jl 0x1010c790
movaps xmm0, xmmword [0x10214af0]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x102149a0]
movaps xmm4, xmmword [0x10214dc0]
movaps xmm6, xmmword [0x10214a00]
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 [0x10214ac0]
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 [0x10214ac0]
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 0x1010c690
mov dword [esp + 0x20], edx
cmp edx, 0x74
jge 0x1010c7c0
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, 0x34
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x74
jl 0x1010c790
movss xmm0, dword [0x104684f4]
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 [0x104684b8]
movss xmm0, dword [0x104684ec]
cvtps2pd xmm0, xmm0
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x104684e8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x104684e4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x104684e0]
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 0x1010ca60
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x19
mov esi, 0x1020b408
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jbe 0x1010c86f
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10240d90], 2
mov dword [esp + 0x20], edx
jl 0x1010c9b0
movaps xmm0, xmmword [0x10214af0]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x102149a0]
movaps xmm4, xmmword [0x10214dc0]
movaps xmm6, xmmword [0x10214a00]
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 [0x10214ac0]
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 [0x10214ac0]
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 0x1010c8b0
mov dword [esp + 0x20], edx
cmp edx, 0x67
jge 0x1010c9e0
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, 0x34
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x67
jl 0x1010c9b0
movss xmm0, dword [0x104684f4]
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 [0x104684ec]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x104684e8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x104684e4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x104684e0]
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 [0x104684b4], 0
cmp ecx, 0xf
jbe 0x1010ca99
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010ca8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010cac5
push ecx
push edx
call fcn.101b5563
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.101b526a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.101b526a
mov esp, ebp
pop ebp
ret
call fcn.101ba696
int3