Function at 0x10101e60
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword [0x10216634]
sub esp, 0x84
cmp byte [eax + 0x3748], 0
push ebx
push esi
push edi
je 0x1010282d
push 0x10425ff8
call fcn.1015f330
add esp, 4
test eax, eax
jne 0x10102834
cmp dword [0x10426024], 0x7fffffff
je 0x1010283b
mov eax, dword [0x104edaac]
mov ecx, dword [0x104edab0]
cmp eax, ecx
je 0x10101ec2
cmp byte [eax + 8], 0
jne 0x10101ed1
add eax, 0xc
cmp eax, ecx
jne 0x10101eb5
mov eax, dword [0x10216964]
cmp byte [eax + 0xc], 0
je 0x10102820
mov ecx, dword [0x10216634]
xorps xmm1, xmm1
mov edx, dword [0x10423820]
movss xmm0, dword [ecx + 0x374c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10101f02
movss xmm0, dword [ecx + 0x3750]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10101f58
or dword [edx + 0x1c64], 1
mov eax, dword [ecx + 0x374c]
mov ecx, dword [ecx + 0x3750]
mov dword [edx + 0x1c74], eax
mov dword [edx + 0x1c78], ecx
mov dword [edx + 0x1c7c], 0
mov dword [edx + 0x1c80], 0
mov dword [edx + 0x1c68], 1
mov eax, dword [0x10216634]
mov dword [eax + 0x374c], 0
mov dword [eax + 0x3750], 0
movss xmm2, dword [0x101ecdf0]
mov esi, 0xc02fb
or dword [edx + 0x1c64], 0x12
mov ecx, 0xfb
movss xmm0, dword [0x101ece94]
mov dword [edx + 0x1c84], 0x43160000
mov dword [edx + 0x1c88], 0
mov dword [edx + 0x1c6c], 2
movss dword [esp + 0x50], xmm2
mov dword [edx + 0x1ca0], 0x43160000
movss dword [edx + 0x1ca4], xmm1
movss dword [edx + 0x1ca8], xmm2
movss dword [edx + 0x1cac], xmm0
movq xmm0, qword [str.gESTLXNTN]
mov dword [edx + 0x1cb0], 0
mov dword [edx + 0x1cb4], 0
mov eax, dword [0x10216964]
movq qword [esp + 0x50], xmm0
cmp byte [eax + 0xc], 0
mov eax, dword [0x101b2c04]
mov dword [esp + 0x58], eax
cmovne esi, ecx
mov ax, word [0x101b2c08]
xor ebx, ebx
cmp dword [0x10217ca4], 2
mov word [esp + 0x5c], ax
mov al, byte [0x101b2c0a]
mov byte [esp + 0x5e], al
jl 0x10102113
movaps xmm2, xmmword [0x101ed000]
mov ebx, 8
movaps xmm3, xmmword [0x101ed410]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
movd xmm0, dword [str.gESTLXNTN]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x50], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
movd xmm0, dword [esp + 0x54]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
xorps xmm1, xmm0
movd dword [esp + 0x54], xmm1
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 0xf
jl 0x10102113
push esi
xor edx, edx
lea ecx, [esp + 0x54]
call fcn.10120b40
mov ecx, dword [0x10216964]
mov ecx, dword [ecx + 0xb8]
call fcn.10123260
mov eax, dword [0x10423820]
xor edx, edx
push str.Background
mov eax, dword [eax + 0x1d40]
mov ecx, dword [eax]
call fcn.1011b260
mov esi, dword [0x10423820]
sub esp, 0x18
mov edx, esp
mov edi, eax
mov dword [esp + 0x44], edi
mov ecx, dword [esi + 0x1bdc]
movss xmm0, dword [ecx + 0xc]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [ecx + 0x10]
mov ecx, dword [0x10216634]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [ecx + 0x3b30]
divss xmm0, dword [0x101ecdd0]
mov eax, dword [ecx + 0x3ae4]
movss dword [esp + 0x3c], xmm0
movups xmm0, xmmword [ecx + 0x3ad4]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], eax
mov al, byte [ecx + 0x3ae8]
mov byte [edx + 0x14], al
call fcn.100b1220
mov edx, dword [0x10216634]
sub esp, 0x18
movaps xmm0, xmmword [0x101ed280]
mov ecx, esp
movups xmmword [esp + 0x78], xmm0
mov eax, dword [edx + 0x3ae4]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [edx + 0x3ad4]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x3ae8]
xorps xmm0, xmm0
mov byte [ecx + 0x14], al
call fcn.100b13a0
mov eax, dword [0x10216634]
sub esp, 0x18
mov edx, esp
movss xmm0, dword [eax + 0x3ae0]
movups xmm1, xmmword [eax + 0x3ad4]
mov ecx, dword [eax + 0x3ae4]
mulss xmm0, dword [0x101ecb34]
mov al, byte [eax + 0x3ae8]
movups xmmword [edx], xmm1
mov dword [edx + 0x10], ecx
mov byte [edx + 0x14], al
call fcn.100b13a0
mov edx, dword [0x10216634]
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [edx + 0x3ad4]
mov eax, dword [edx + 0x3ae4]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x3ae8]
mov byte [ecx + 0x14], al
call fcn.100b1220
mov ax, word [0x101e53b4]
xor ebx, ebx
movq xmm0, qword [0x101e53ac]
mov word [esp + 0x58], ax
mov al, byte [0x101e53b6]
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x5a], al
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 0xb
jl 0x101022b0
movss xmm3, dword [0x101ece94]
lea eax, [esp + 0x50]
movss xmm2, dword [esi + 0x1978]
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1974]
lea eax, [esp + 0x40]
mov dword [esp], 0xbf800000
push eax
call fcn.1012f330
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x101ecb98]
movss xmm1, dword [esp + 0x24]
mov dword [esp + 0x20], 2
cvttss2si esi, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1010232f
xorps xmm2, xmm2
jmp 0x1010233b
movss xmm2, dword [0x101ecba0]
minss xmm2, xmm1
mulss xmm2, dword [0x101ece10]
push 0
movss xmm1, dword [esp + 0x38]
mulss xmm1, dword [0x101ecc48]
push ecx
addss xmm2, dword [0x101ecb34]
movss xmm4, dword [esp + 0x24]
mov ecx, edi
movss xmm3, dword [esp + 0x20]
addss xmm1, xmm4
mov dword [esp], 0x40400000
movaps xmm0, xmm3
addss xmm0, dword [0x101ecdf0]
cvttss2si eax, xmm2
subss xmm1, dword [0x101ecc48]
shl eax, 0x18
push eax
lea eax, [esp + 0x44]
movss dword [esp + 0x44], xmm0
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x4c], xmm1
push eax
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm4
call fcn.1012cb00
mov ax, word [0x101e53b4]
xor ebx, ebx
movq xmm0, qword [0x101e53ac]
mov word [esp + 0x58], ax
mov al, byte [0x101e53b6]
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x5a], al
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x34
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 0xb
jl 0x101023e0
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x50]
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x84], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10102426
sub ecx, edx
lea eax, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.100291a0
cmp dword [esp + 0x84], 0xf
lea eax, [esp + 0x70]
movups xmm3, xmmword [esp + 0x60]
mov edx, dword [esp + 0x70]
cmova eax, edx
movss xmm2, dword [0x101ecba0]
xorps xmm0, xmm0
comiss xmm0, xmm3
mov dword [esp + 0x24], eax
jbe 0x1010246f
xorps xmm1, xmm1
jmp 0x10102476
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm4, dword [0x101ece10]
movss xmm3, dword [0x101ecb34]
movss xmm5, dword [esp + 0x44]
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm5
jbe 0x101024a5
xorps xmm1, xmm1
jmp 0x101024ac
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0x48]
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x101024cd
xorps xmm1, xmm1
jmp 0x101024d4
movaps xmm1, xmm2
minss xmm1, xmm5
mulss xmm1, xmm4
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x4c]
or ecx, eax
comiss xmm0, xmm1
ja 0x101024f4
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm4
movd xmm1, esi
cvtdq2ps xmm1, xmm1
addss xmm0, xmm3
mulss xmm1, xmm3
cvttss2si ebx, xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x101ecdb4]
shl ebx, 0x18
or ebx, ecx
subss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm3
addss xmm0, dword [esp + 0x1c]
subss xmm0, xmm2
movss dword [esp + 0x3c], xmm0
test ebx, 0xff000000
je 0x101025a3
mov esi, dword [esp + 0x24]
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10102557
sub ecx, dword [esp + 0x24]
add ecx, esi
cmp esi, ecx
je 0x101025a3
push dword [esp + 0x3c]
mov eax, dword [edi + 0x2c]
push dword [esp + 0x3c]
movups xmm0, xmmword [edi + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
push esi
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [eax + 8]
push ebx
push edi
movups xmmword [esp + 0x84], xmm0
call fcn.1012f4f0
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x84]
cmp eax, 0xf
jbe 0x101025da
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x101025d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1010284c
push ecx
push edx
call fcn.1015fe24
add esp, 8
mov eax, dword [0x104edab0]
mov ebx, dword [0x104edaac]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], 0
mov dword [esp + 0x24], eax
cmp ebx, eax
je 0x10102816
mov edi, dword [0x10423820]
cmp byte [ebx + 8], 0
je 0x1010280b
mov esi, dword [0x104ed988]
cmp esi, dword [0x104ed98c]
je 0x1010280b
mov eax, dword [ebx]
cmp dword [esi + 0x84], eax
je 0x10102646
add esi, 0x148
cmp esi, dword [0x104ed98c]
jne 0x10102630
mov eax, dword [esp + 0x24]
cmp esi, dword [0x104ed98c]
je 0x1010280b
mov eax, dword [esi + 0x94]
cmp eax, 4
jne 0x101026b6
movss xmm3, dword [0x101ece94]
lea eax, [esp + 0x30]
movss xmm2, dword [edi + 0x1978]
push 0
push 0
push 0x101e4b8c
push ecx
mov ecx, dword [edi + 0x1974]
mov dword [esp], 0xbf800000
push eax
call fcn.1012f330
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x101ecb98]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x30], xmm0
jmp 0x10102762
cmp eax, 5
jne 0x1010270d
movss xmm3, dword [0x101ece94]
lea eax, [esp + 0x40]
movss xmm2, dword [edi + 0x1978]
push 0
push 0
push 0x101e4b88
push ecx
mov ecx, dword [edi + 0x1974]
mov dword [esp], 0xbf800000
push eax
call fcn.1012f330
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x101ecb98]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
jmp 0x10102762
cmp eax, 6
jne 0x10102762
movss xmm3, dword [0x101ece94]
lea eax, [esp + 0x50]
movss xmm2, dword [edi + 0x1978]
push 0
push 0
push str.Freecam
push ecx
mov ecx, dword [edi + 0x1974]
mov dword [esp], 0xbf800000
push eax
call fcn.1012f330
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [0x101ecb98]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x50], xmm0
add esi, 0xa0
cmp dword [esi + 0x14], 0xf
jbe 0x10102770
mov esi, dword [esi]
movss xmm0, dword [esp + 0x18]
mov ecx, esi
addss xmm0, dword [0x101ecce0]
movd xmm1, dword [esp + 0x20]
cvtdq2pd xmm1, xmm1
lea edx, [ecx + 1]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x1c]
mulsd xmm1, qword [0x101ecc90]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x3c], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101027b2
sub ecx, edx
add ecx, esi
cmp esi, ecx
je 0x10102803
push dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
push dword [esp + 0x3c]
push 0
mov eax, dword [edx + 0x2c]
movups xmm0, xmmword [edx + 0x60]
push ecx
mov dword [esp], 0
movss xmm2, dword [eax + 0xc]
push ecx
push esi
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [eax + 8]
push 0xffffffffffffffff
push edx
movups xmmword [esp + 0x84], xmm0
call fcn.1012f4f0
mov edi, dword [0x10423820]
inc dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ebx, 0xc
cmp ebx, eax
jne 0x10102612
call fcn.10123310
call fcn.10122da0
push 0x10425ff8
call fcn.1015f362
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.1015f571
push 6
mov dword [0x10426024], 0x7ffffffe
call fcn.1015f571
call fcn.10164f66
int3