Function at 0x10112340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x102060c0]
xor eax, esp
mov dword [esp + 0xd4], eax
cmp byte [0x1034f045], 0
push esi
push edi
je 0x10112d8f
cmp byte [0x1034f046], 0
jne 0x10112d8f
cmp byte [0x1034f047], 0
jne 0x10112d8f
cmp byte [0x1034f04c], 0
je 0x10112d8f
cmp byte [0x1034f04b], 0
je 0x1011239e
xorps xmm0, xmm0
jmp 0x101123a6
movss xmm0, dword [0x101f78d4]
movss xmm1, dword [0x1034f034]
subss xmm1, dword [0x1034f060]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x1034f038]
subss xmm0, dword [0x1034f064]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x101123ea
sqrtsd xmm0, xmm0
jmp 0x101123ef
call fcn.101c1660
mov ch, byte [0x1034f048]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
addss xmm3, dword [esp + 0x1c]
movss dword [0x1034f074], xmm3
test ch, ch
je 0x10112418
movss xmm1, dword [0x101f7868]
jmp 0x1011241b
xorps xmm1, xmm1
cmp byte [0x1034f04b], 0
movss xmm0, dword [0x1034f03c]
subss xmm0, dword [0x1034f068]
andps xmm0, xmmword [0x101f80a0]
subss xmm0, xmm1
je 0x10112449
movss xmm1, dword [0x101f78d4]
jmp 0x10112469
mov eax, dword [0x1034f050]
test eax, eax
jle 0x10112461
cmp eax, 1
jg 0x10112461
movss xmm1, dword [0x101f7798]
jmp 0x10112469
movss xmm1, dword [0x101f7908]
mov eax, dword [0x10223ca0]
mov edi, 9
mov edx, dword [0x1034f050]
comiss xmm0, xmm1
mov byte [esp + 0x18], 1
mov cl, byte [eax + 0x37d7]
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 0x101125cb
sub eax, 1
je 0x10112580
cmp edx, 3
jl 0x10112790
test cl, cl
mov edx, 0x101ef094
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 0x101124e6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022cd0
movss xmm3, dword [0x1034f074]
movss xmm0, dword [0x101f79b4]
comiss xmm0, xmm3
jbe 0x10112519
mov byte [esp + 0x18], 1
jmp 0x1011278c
comiss xmm3, xmm0
movss xmm0, dword [0x101f79b8]
jb 0x10112535
comiss xmm0, xmm3
jbe 0x10112535
mov byte [esp + 0x18], 3
jmp 0x1011278c
comiss xmm3, xmm0
movss xmm0, dword [0x101f79bc]
jb 0x10112551
comiss xmm0, xmm3
jbe 0x10112551
mov byte [esp + 0x18], 4
jmp 0x1011278c
comiss xmm3, xmm0
movss xmm0, dword [0x101f79c4]
jb 0x1011256d
comiss xmm0, xmm3
jbe 0x1011256d
mov byte [esp + 0x18], 7
jmp 0x1011278c
comiss xmm3, xmm0
jb 0x1011278c
mov byte [esp + 0x18], 9
jmp 0x1011278c
test cl, cl
mov edx, 0x101ef06c
mov eax, str.Bunnyhop
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10112594
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022cd0
movss xmm3, dword [0x1034f074]
movss xmm0, dword [0x101f79b4]
comiss xmm0, xmm3
jbe 0x10112519
mov byte [esp + 0x18], 1
jmp 0x1011278c
test ch, ch
jne 0x101126ef
test cl, cl
je 0x1011262a
mov ax, word [0x101efa84]
xor edx, edx
mov word [esp + 0x24], ax
mov al, byte [0x101efa86]
mov byte [esp + 0x26], al
mov dword [esp + 0x1c], edx
mov eax, 0x2f684bdb
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, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x24], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 3
jl 0x101125f1
lea edx, [esp + 0x24]
jmp 0x10112687
mov ax, word [0x101efd10]
movq xmm0, qword [0x101efd08]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x58], ax
test ah, ah
je 0x10112683
xor edx, edx
mov dword [esp + 0x1c], edx
nop dword [eax]
mov eax, 0x2f684bdb
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, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0xa
jl 0x10112650
lea edx, [esp + 0x50]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10112690
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022cd0
movss xmm3, dword [0x1034f074]
movss xmm0, dword [0x101f79b4]
comiss xmm0, xmm3
jbe 0x101126c3
mov byte [esp + 0x18], 1
jmp 0x1011278c
comiss xmm3, xmm0
movss xmm0, dword [0x101f79bc]
jb 0x101126df
comiss xmm0, xmm3
jbe 0x101126df
mov byte [esp + 0x18], 3
jmp 0x1011278c
comiss xmm3, xmm0
movss xmm0, dword [0x101f79c0]
jmp 0x10112540
test cl, cl
mov edx, 0x101ef080
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 0x10112703
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022cd0
movss xmm3, dword [0x1034f074]
movss xmm0, dword [0x101f79d8]
comiss xmm0, xmm3
jbe 0x10112733
mov byte [esp + 0x18], 1
jmp 0x1011278c
comiss xmm3, xmm0
movss xmm0, dword [0x101f79e4]
jb 0x1011274c
comiss xmm0, xmm3
jbe 0x1011274c
mov byte [esp + 0x18], 3
jmp 0x1011278c
comiss xmm3, xmm0
movss xmm0, dword [0x101f79e8]
jb 0x10112762
comiss xmm0, xmm3
ja 0x10112547
comiss xmm3, xmm0
movss xmm0, dword [0x101f79ec]
jb 0x1011277b
comiss xmm0, xmm3
jbe 0x1011277b
mov byte [esp + 0x18], 7
jmp 0x1011278c
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 [0x1034f04b], 0
je 0x10112846
test cl, cl
mov edx, 0x101ef084
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 0x101127b1
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.10022cd0
movss xmm3, dword [0x1034f074]
movss xmm0, dword [0x101f7940]
comiss xmm0, xmm3
jbe 0x101127e5
mov ecx, 1
mov dword [esp + 0x18], ecx
jmp 0x1011284a
comiss xmm3, xmm0
movss xmm0, dword [0x101f7948]
jb 0x101127ff
comiss xmm0, xmm3
jbe 0x101127ff
mov cl, 3
mov dword [esp + 0x18], ecx
jmp 0x1011284a
comiss xmm3, xmm0
movss xmm0, dword [0x101f7958]
jb 0x10112819
comiss xmm0, xmm3
jbe 0x10112819
mov cl, 4
mov dword [esp + 0x18], ecx
jmp 0x1011284a
comiss xmm3, xmm0
movss xmm0, dword [0x101f795c]
jb 0x10112833
comiss xmm0, xmm3
jbe 0x10112833
mov cl, 7
mov dword [esp + 0x18], ecx
jmp 0x1011284a
mov eax, dword [esp + 0x18]
comiss xmm3, xmm0
movzx ecx, al
cmovae ecx, edi
mov dword [esp + 0x18], ecx
jmp 0x1011284a
mov ecx, dword [esp + 0x18]
mov eax, dword [0x10223ca0]
cmp byte [eax + 0x37d6], 0
jne 0x10112867
mov cl, byte [esp + 0x23]
test cl, cl
je 0x1011289b
mov byte [esp + 0x18], 1
jmp 0x10112873
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x23]
test cl, cl
je 0x1011289b
cmp byte [esp + 0x17], 0
mov ecx, str._Failed
mov eax, 0x101ef0c0
cmove eax, ecx
lea ecx, [esp + 0x30]
push eax
call fcn.10020800
movss xmm3, dword [0x1034f074]
mov cl, byte [esp + 0x23]
xor eax, eax
cmp byte [0x1034f04b], al
je 0x101128ae
comiss xmm3, dword [0x101f7914]
jmp 0x101128b5
comiss xmm3, dword [0x101f79a0]
setae al
test eax, eax
je 0x10112d40
mov eax, dword [0x10223ca0]
cmp byte [eax + 0x37d5], 0
jne 0x101128d6
test cl, cl
jne 0x10112d40
mov eax, dword [0x10223ca0]
cmp byte [eax + 0x37d4], 0
je 0x10112d40
cmp dword [0x1034f050], 2
mov eax, dword [0x10223c9c]
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 0x10112b2d
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x1c
mov esi, 0x101ef600
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jbe 0x1011292e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10224d40], 2
mov dword [esp + 0x1c], edx
jl 0x10112a70
movaps xmm0, xmmword [0x101f7db0]
movaps xmm5, xmmword [0x101f7c30]
movaps xmm4, xmmword [0x101f8070]
movaps xmm6, xmmword [0x101f7cc0]
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 [0x101f7d70]
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 [0x101f7d70]
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 0x10112970
mov dword [esp + 0x1c], edx
cmp edx, 0x73
jge 0x10112aa0
mov eax, 0x4bda12f7
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, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x73
jl 0x10112a70
movss xmm0, dword [0x1034f08c]
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 [0x1034f050]
movss xmm0, dword [0x1034f084]
cvtps2pd xmm0, xmm0
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x1034f080]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x1034f07c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x1034f078]
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 0x10112d40
cmp dword [esp + 0x44], 0xf
lea edi, [esp + 0x60]
mov ecx, 0x19
mov esi, 0x101efb80
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jbe 0x10112b4e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
xor edx, edx
cmp dword [0x10224d40], 2
mov dword [esp + 0x1c], edx
jl 0x10112c90
movaps xmm0, xmmword [0x101f7db0]
movaps xmm5, xmmword [0x101f7c30]
movaps xmm4, xmmword [0x101f8070]
movaps xmm6, xmmword [0x101f7cc0]
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 [0x101f7d70]
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 [0x101f7d70]
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 0x10112b90
mov dword [esp + 0x1c], edx
cmp edx, 0x66
jge 0x10112cc0
mov eax, 0x4bda12f7
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, 0x36
sub cl, al
add cl, 0x32
xor byte [esp + edx + 0x60], cl
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x66
jl 0x10112c90
movss xmm0, dword [0x1034f08c]
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 [0x1034f084]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [0x1034f080]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [0x1034f07c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
xorps xmm0, xmm0
push dword [0x1034f078]
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 [0x1034f04c], 0
cmp ecx, 0xf
jbe 0x10112d79
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10112d6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10112da5
push ecx
push edx
call fcn.1019958d
add esp, 8
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
call fcn.1019e6c6
int3