Function at 0x10107c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x101f90c0]
xor eax, esp
mov dword [esp + 0xd4], eax
cmp byte [0x103d8b6d], 0
push esi
push edi
je 0x1010862f
cmp byte [0x103d8b6e], 0
jne 0x1010862f
cmp byte [0x103d8b6f], 0
jne 0x1010862f
cmp byte [0x103d8b74], 0
je 0x1010862f
cmp byte [0x103d8b73], 0
je 0x10107c5e
xorps xmm0, xmm0
jmp 0x10107c66
movss xmm0, dword [0x101eb524]
movss xmm1, dword [0x103d8b5c]
subss xmm1, dword [0x103d8b88]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x103d8b60]
subss xmm0, dword [0x103d8b8c]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x10107caa
sqrtsd xmm0, xmm0
jmp 0x10107caf
call fcn.101b6480
mov ch, byte [0x103d8b70]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
addss xmm3, dword [esp + 0x18]
movss dword [0x103d8b9c], xmm3
test ch, ch
je 0x10107cd8
movss xmm1, dword [0x101eb4b8]
jmp 0x10107cdb
xorps xmm1, xmm1
cmp byte [0x103d8b73], 0
movss xmm0, dword [0x103d8b64]
subss xmm0, dword [0x103d8b90]
andps xmm0, xmmword [0x101ebc40]
subss xmm0, xmm1
je 0x10107d09
movss xmm1, dword [0x101eb524]
jmp 0x10107d29
mov eax, dword [0x103d8b78]
test eax, eax
jle 0x10107d21
cmp eax, 1
jg 0x10107d21
movss xmm1, dword [0x101eb3f8]
jmp 0x10107d29
movss xmm1, dword [0x101eb558]
mov eax, dword [0x10214408]
mov edi, 9
mov edx, dword [0x103d8b78]
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 + 0x1f]
mov dword [esp + 0x30], 0x6c6c756e
mov byte [esp + 0x34], 0
sub eax, 1
je 0x10107e8b
sub eax, 1
je 0x10107e40
cmp edx, 3
jl 0x10108035
test cl, cl
mov edx, 0x101e2ddc
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 0x10107da6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb600]
comiss xmm0, xmm3
jbe 0x10107dd9
mov byte [esp + 0x18], 1
jmp 0x10108031
comiss xmm3, xmm0
movss xmm0, dword [0x101eb604]
jb 0x10107df5
comiss xmm0, xmm3
jbe 0x10107df5
mov byte [esp + 0x18], 3
jmp 0x10108031
comiss xmm3, xmm0
movss xmm0, dword [0x101eb608]
jb 0x10107e11
comiss xmm0, xmm3
jbe 0x10107e11
mov byte [esp + 0x18], 4
jmp 0x10108031
comiss xmm3, xmm0
movss xmm0, dword [0x101eb610]
jb 0x10107e2d
comiss xmm0, xmm3
jbe 0x10107e2d
mov byte [esp + 0x18], 7
jmp 0x10108031
comiss xmm3, xmm0
jb 0x10108031
mov byte [esp + 0x18], 9
jmp 0x10108031
test cl, cl
mov edx, 0x101e2dc8
mov eax, str.Bunnyhop
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107e54
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb600]
comiss xmm0, xmm3
jbe 0x10107dd9
mov byte [esp + 0x18], 1
jmp 0x10108031
test ch, ch
jne 0x10107f94
test cl, cl
je 0x10107ee0
mov ax, word [0x101e3c84]
xor edx, edx
mov word [esp + 0x20], ax
mov al, byte [0x101e3c86]
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 0x10107eb1
lea edx, [esp + 0x20]
jmp 0x10107f30
mov ax, word [0x101e3bec]
movq xmm0, qword [str.xZXP]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x58], ax
test ah, ah
je 0x10107f2c
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 0x10107f03
lea edx, [esp + 0x50]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107f35
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb600]
comiss xmm0, xmm3
jbe 0x10107f68
mov byte [esp + 0x18], 1
jmp 0x10108031
comiss xmm3, xmm0
movss xmm0, dword [0x101eb608]
jb 0x10107f84
comiss xmm0, xmm3
jbe 0x10107f84
mov byte [esp + 0x18], 3
jmp 0x10108031
comiss xmm3, xmm0
movss xmm0, dword [0x101eb60c]
jmp 0x10107e00
test cl, cl
mov edx, 0x101e2db4
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 0x10107fa8
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb624]
comiss xmm0, xmm3
jbe 0x10107fd8
mov byte [esp + 0x18], 1
jmp 0x10108031
comiss xmm3, xmm0
movss xmm0, dword [0x101eb630]
jb 0x10107ff1
comiss xmm0, xmm3
jbe 0x10107ff1
mov byte [esp + 0x18], 3
jmp 0x10108031
comiss xmm3, xmm0
movss xmm0, dword [0x101eb634]
jb 0x10108007
comiss xmm0, xmm3
ja 0x10107e07
comiss xmm3, xmm0
movss xmm0, dword [0x101eb638]
jb 0x10108020
comiss xmm0, xmm3
jbe 0x10108020
mov byte [esp + 0x18], 7
jmp 0x10108031
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 [0x103d8b73], 0
je 0x101080eb
test cl, cl
mov edx, 0x101e2dec
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 0x10108056
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb58c]
comiss xmm0, xmm3
jbe 0x1010808a
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x101080ef
comiss xmm3, xmm0
movss xmm0, dword [0x101eb594]
jb 0x101080a4
comiss xmm0, xmm3
jbe 0x101080a4
mov cl, 3
mov dword [esp + 0x18], ecx
jmp 0x101080ef
comiss xmm3, xmm0
movss xmm0, dword [0x101eb5a4]
jb 0x101080be
comiss xmm0, xmm3
jbe 0x101080be
mov cl, 4
mov dword [esp + 0x18], ecx
jmp 0x101080ef
comiss xmm3, xmm0
movss xmm0, dword [0x101eb5a8]
jb 0x101080d8
comiss xmm0, xmm3
jbe 0x101080d8
mov cl, 7
mov dword [esp + 0x18], ecx
jmp 0x101080ef
mov eax, dword [esp + 0x18]
comiss xmm3, xmm0
movzx ecx, al
cmovae ecx, edi
mov dword [esp + 0x18], ecx
jmp 0x101080ef
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10214408]
cmp byte [eax + 0x36c6], 0
jne 0x1010810c
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x10108140
mov byte [esp + 0x18], 1
jmp 0x10108118
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x10108140
cmp byte [esp + 0x17], 0
mov ecx, str._Failed
mov eax, 0x101e2df8
cmove eax, ecx
lea ecx, [esp + 0x30]
push eax
call fcn.1001f970
movss xmm3, dword [0x103d8b9c]
mov cl, byte [esp + 0x1f]
xor eax, eax
cmp byte [0x103d8b73], al
je 0x10108153
comiss xmm3, dword [0x101eb560]
jmp 0x1010815a
comiss xmm3, dword [0x101eb5ec]
setae al
test eax, eax
je 0x101085e0
mov eax, dword [0x10214408]
cmp byte [eax + 0x36c5], 0
jne 0x1010817b
test cl, cl
jne 0x101085e0
mov eax, dword [0x10214408]
cmp byte [eax + 0x36c4], 0
je 0x101085e0
cmp dword [0x103d8b78], 2
mov eax, dword [0x10214404]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x24], eax
jle 0x101083cd
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x1d
mov esi, 0x101e3980
rep movsd dword es:[edi], dword [esi]
jbe 0x101081d0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10215510], 2
mov dword [esp + 0x20], edx
jl 0x10108310
movaps xmm0, xmmword [str.4444444444444444]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x101eb880]
movaps xmm4, xmmword [0x101ebc30]
movaps xmm6, xmmword [0x101eb8e0]
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 [0x101eb990]
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 [0x101eb990]
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 0x10108210
mov dword [esp + 0x20], edx
cmp edx, 0x74
jge 0x10108340
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 0x10108310
movss xmm0, dword [0x103d8bb4]
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 [0x103d8b78]
movss xmm0, dword [0x103d8bac]
cvtps2pd xmm0, xmm0
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x103d8ba8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x103d8ba4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x103d8ba0]
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 0x101085e0
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x19
mov esi, 0x101e31d0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jbe 0x101083ef
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10215510], 2
mov dword [esp + 0x20], edx
jl 0x10108530
movaps xmm0, xmmword [str.4444444444444444]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x101eb880]
movaps xmm4, xmmword [0x101ebc30]
movaps xmm6, xmmword [0x101eb8e0]
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 [0x101eb990]
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 [0x101eb990]
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 0x10108430
mov dword [esp + 0x20], edx
cmp edx, 0x67
jge 0x10108560
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 0x10108530
movss xmm0, dword [0x103d8bb4]
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 [0x103d8bac]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x103d8ba8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x103d8ba4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x103d8ba0]
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 [0x103d8b74], 0
cmp ecx, 0xf
jbe 0x10108619
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010860f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10108645
push ecx
push edx
call fcn.1018e3c3
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1018e0ca
mov esp, ebp
pop ebp
ret
call fcn.101934f6
int3