Function at 0x10107860
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 0x101082b3
cmp byte [0x103d8b6e], 0
jne 0x101082b3
cmp byte [0x103d8b6f], 0
jne 0x101082b3
cmp byte [0x103d8b74], 0
je 0x101082b3
cmp byte [0x103d8b73], 0
je 0x101078be
xorps xmm0, xmm0
jmp 0x101078c6
movss xmm0, dword [0x101eb504]
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 0x1010790a
sqrtsd xmm0, xmm0
jmp 0x1010790f
call fcn.101b6630
mov ch, byte [0x103d8b70]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
addss xmm3, dword [esp + 0x18]
movss dword [0x103d8b9c], xmm3
test ch, ch
je 0x10107938
movss xmm1, dword [0x101eb498]
jmp 0x1010793b
xorps xmm1, xmm1
cmp byte [0x103d8b73], 0
movss xmm0, dword [0x103d8b64]
subss xmm0, dword [0x103d8b90]
andps xmm0, xmmword [0x101ebc30]
subss xmm0, xmm1
je 0x10107969
movss xmm1, dword [0x101eb504]
jmp 0x10107989
mov eax, dword [0x103d8b78]
test eax, eax
jle 0x10107981
cmp eax, 1
jg 0x10107981
movss xmm1, dword [0x101eb3d8]
jmp 0x10107989
movss xmm1, dword [0x101eb538]
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 0x10107aeb
sub eax, 1
je 0x10107aa0
cmp edx, 3
jl 0x10107c95
test cl, cl
mov edx, 0x101e2da0
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 0x10107a06
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb5e0]
comiss xmm0, xmm3
jbe 0x10107a39
mov byte [esp + 0x18], 1
jmp 0x10107c91
comiss xmm3, xmm0
movss xmm0, dword [0x101eb5e4]
jb 0x10107a55
comiss xmm0, xmm3
jbe 0x10107a55
mov byte [esp + 0x18], 3
jmp 0x10107c91
comiss xmm3, xmm0
movss xmm0, dword [0x101eb5e8]
jb 0x10107a71
comiss xmm0, xmm3
jbe 0x10107a71
mov byte [esp + 0x18], 4
jmp 0x10107c91
comiss xmm3, xmm0
movss xmm0, dword [0x101eb5f0]
jb 0x10107a8d
comiss xmm0, xmm3
jbe 0x10107a8d
mov byte [esp + 0x18], 7
jmp 0x10107c91
comiss xmm3, xmm0
jb 0x10107c91
mov byte [esp + 0x18], 9
jmp 0x10107c91
test cl, cl
mov edx, 0x101e2d98
mov eax, str.Bunnyhop
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107ab4
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb5e0]
comiss xmm0, xmm3
jbe 0x10107a39
mov byte [esp + 0x18], 1
jmp 0x10107c91
test ch, ch
jne 0x10107bf4
test cl, cl
je 0x10107b40
mov ax, word [0x101e3924]
xor edx, edx
mov word [esp + 0x20], ax
mov al, byte [0x101e3926]
mov byte [esp + 0x22], al
mov dword [esp + 0x24], edx
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x20], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 3
jl 0x10107b11
lea edx, [esp + 0x20]
jmp 0x10107b90
mov ax, word [0x101e37c8]
movq xmm0, qword [str.T]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x58], ax
test ah, ah
je 0x10107b8c
xor edx, edx
mov dword [esp + 0x24], edx
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [esp + 0x24]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0x24], edx
cmp edx, 0xa
jl 0x10107b63
lea edx, [esp + 0x50]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107b95
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb5e0]
comiss xmm0, xmm3
jbe 0x10107bc8
mov byte [esp + 0x18], 1
jmp 0x10107c91
comiss xmm3, xmm0
movss xmm0, dword [0x101eb5e8]
jb 0x10107be4
comiss xmm0, xmm3
jbe 0x10107be4
mov byte [esp + 0x18], 3
jmp 0x10107c91
comiss xmm3, xmm0
movss xmm0, dword [0x101eb5ec]
jmp 0x10107a60
test cl, cl
mov edx, 0x101e2d9c
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 0x10107c08
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb604]
comiss xmm0, xmm3
jbe 0x10107c38
mov byte [esp + 0x18], 1
jmp 0x10107c91
comiss xmm3, xmm0
movss xmm0, dword [0x101eb610]
jb 0x10107c51
comiss xmm0, xmm3
jbe 0x10107c51
mov byte [esp + 0x18], 3
jmp 0x10107c91
comiss xmm3, xmm0
movss xmm0, dword [0x101eb614]
jb 0x10107c67
comiss xmm0, xmm3
ja 0x10107a67
comiss xmm3, xmm0
movss xmm0, dword [0x101eb618]
jb 0x10107c80
comiss xmm0, xmm3
jbe 0x10107c80
mov byte [esp + 0x18], 7
jmp 0x10107c91
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 0x10107d4b
test cl, cl
mov edx, 0x101e2db0
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 0x10107cb6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10021d40
movss xmm3, dword [0x103d8b9c]
movss xmm0, dword [0x101eb56c]
comiss xmm0, xmm3
jbe 0x10107cea
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x10107d4f
comiss xmm3, xmm0
movss xmm0, dword [0x101eb574]
jb 0x10107d04
comiss xmm0, xmm3
jbe 0x10107d04
mov cl, 3
mov dword [esp + 0x18], ecx
jmp 0x10107d4f
comiss xmm3, xmm0
movss xmm0, dword [0x101eb584]
jb 0x10107d1e
comiss xmm0, xmm3
jbe 0x10107d1e
mov cl, 4
mov dword [esp + 0x18], ecx
jmp 0x10107d4f
comiss xmm3, xmm0
movss xmm0, dword [0x101eb588]
jb 0x10107d38
comiss xmm0, xmm3
jbe 0x10107d38
mov cl, 7
mov dword [esp + 0x18], ecx
jmp 0x10107d4f
mov eax, dword [esp + 0x18]
comiss xmm3, xmm0
movzx ecx, al
cmovae ecx, edi
mov dword [esp + 0x18], ecx
jmp 0x10107d4f
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10214408]
cmp byte [eax + 0x36c6], 0
jne 0x10107d6c
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x10107da0
mov byte [esp + 0x18], 1
jmp 0x10107d78
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x1f]
test cl, cl
je 0x10107da0
cmp byte [esp + 0x17], 0
mov ecx, str._Failed
mov eax, 0x101e2dc4
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 0x10107db3
comiss xmm3, dword [0x101eb540]
jmp 0x10107dba
comiss xmm3, dword [0x101eb5cc]
setae al
test eax, eax
je 0x10108264
mov eax, dword [0x10214408]
cmp byte [eax + 0x36c5], 0
jne 0x10107ddb
test cl, cl
jne 0x10108264
mov eax, dword [0x10214408]
cmp byte [eax + 0x36c4], 0
je 0x10108264
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 0x10108041
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x1d
mov esi, 0x101e32c8
rep movsd dword es:[edi], dword [esi]
jbe 0x10107e30
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10215510], 2
mov dword [esp + 0x20], edx
jl 0x10107f80
movaps xmm0, xmmword [str.0000000000000000]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x101eb860]
movaps xmm4, xmmword [0x101ebc90]
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
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 [0x101eb980]
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 [0x101eb980]
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 0x10107e70
mov dword [esp + 0x20], edx
cmp edx, 0x74
jge 0x10107fb4
nop word [eax + eax]
mov eax, 0xa0a0a0a1
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, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x74
jl 0x10107f80
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 0x10108264
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x19
mov esi, 0x101e3870
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jbe 0x10108063
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10215510], 2
mov dword [esp + 0x20], edx
jl 0x101081b0
movaps xmm0, xmmword [str.0000000000000000]
lea esi, [esp + 0x64]
movaps xmm5, xmmword [0x101eb860]
movaps xmm4, xmmword [0x101ebc90]
movaps xmm6, xmmword [0x101eb8e0]
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 [0x101eb980]
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 [0x101eb980]
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 0x101080a0
mov dword [esp + 0x20], edx
cmp edx, 0x67
jge 0x101081e4
nop word [eax + eax]
mov eax, 0xa0a0a0a1
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, 0x33
sub cl, al
add cl, 0x30
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x20], edx
cmp edx, 0x67
jl 0x101081b0
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 0x1010829d
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10108293
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101082c9
push ecx
push edx
call fcn.1018e573
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.1018e27a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1018e27a
mov esp, ebp
pop ebp
ret
call fcn.101936a6
int3