Function at 0x10090510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010a73d
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10155700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1004baa0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x10127e7f
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov esi, eax
movups xmmword [ebp - 0x40], xmm0
call fcn.1000d4e0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
push 0x10127e7f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.1000d4e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
movaps xmm0, xmmword [0x1011a0e0]
push eax
push 2
movups xmmword [ebp - 0x50], xmm0
call fcn.10052760
movaps xmm0, xmmword [0x1011a0c0]
lea eax, [ebp - 0x50]
push eax
push 5
movups xmmword [ebp - 0x50], xmm0
call fcn.10052760
add esp, 0xc
mov dword [esp], 0x41000000
push 3
call fcn.10052920
mov eax, dword [0x10156b54]
push dword [eax + 0x228]
call fcn.100525b0
movss xmm1, dword [esi + 8]
lea eax, [ebp - 0x48]
movss xmm0, dword [esi + 0xc]
mulss xmm1, dword [0x1010f97c]
push eax
mulss xmm0, dword [0x101143cc]
lea eax, [ebp - 0x60]
push 4
push eax
mov dword [ebp - 0x48], 0x3f000000
mov dword [ebp - 0x44], 0x3dcccccd
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x5c], xmm0
call fcn.10055580
push 0x6b
push 0
push str._Game_info_
call fcn.10046420
movaps xmm0, xmmword [0x10114450]
lea eax, [ebp - 0x50]
push str.Game_Information
push eax
movups xmmword [ebp - 0x50], xmm0
call fcn.1006bbf0
mov eax, dword [0x10156b54]
add esp, 0x2c
movaps xmm0, xmmword [0x1011a190]
movaps xmm5, xmmword [0x1011a1d0]
mov ecx, dword [eax + 0x144]
mov dword [ebp - 0x64], ecx
mov ecx, dword [eax + 0x130]
mov eax, dword [eax + 0x134]
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x5c], ecx
movaps xmm0, xmmword [0x1011a1b0]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x44], eax
movaps xmm0, xmmword [0x1011a180]
movups xmmword [ebp - 0x78], xmm0
mov word [ebp - 0x68], 0x100
movaps xmm4, xmmword [0x10129130]
mov edi, 0xffffffd5
nop
lea eax, [edi + 0x2b]
movd xmm0, eax
lea ecx, [edi - 9]
pshufd xmm1, xmm0, 0
lea esi, [edi - 0xb]
movd xmm0, dword [ebp + edi - 0x6d]
lea eax, [edi - 8]
punpcklbw xmm0, xmm0
lea edx, [edi - 0xa]
punpcklwd xmm0, xmm0
paddd xmm1, xmm5
psrad xmm0, 0x18
movd xmm3, esi
lea esi, [edi - 7]
xorps xmm1, xmm0
movd xmm2, eax
andps xmm1, xmm4
movd xmm0, ecx
punpckldq xmm3, xmm0
lea ecx, [edi - 5]
packuswb xmm1, xmm1
lea eax, [edi - 4]
packuswb xmm1, xmm1
movd dword [ebp + edi - 0x6d], xmm1
movd xmm0, dword [ebp + edi - 0x69]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm1, edx
lea edx, [edi - 6]
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
xorps xmm3, xmm0
movd xmm2, eax
andps xmm3, xmm4
movd xmm0, ecx
packuswb xmm3, xmm3
lea eax, [edi - 1]
packuswb xmm3, xmm3
lea ecx, [edi - 2]
movd dword [ebp + edi - 0x69], xmm3
movd xmm3, esi
punpckldq xmm3, xmm0
movd xmm0, dword [ebp + edi - 0x65]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm1, edx
lea edx, [edi - 3]
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
xorps xmm3, xmm0
movd xmm2, edi
andps xmm3, xmm4
movd xmm0, eax
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebp + edi - 0x65], xmm3
movd xmm3, edx
punpckldq xmm3, xmm0
movd xmm0, dword [ebp + edi - 0x61]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebp + edi - 0x61], xmm3
add edi, 0x10
lea eax, [edi + 0x2b]
cmp eax, 0x30
jb 0x100906b0
push dword [ebp - 0x64]
lea eax, [ebp - 0x98]
mov byte [ebp - 0x67], 0
push dword [ebp - 0x5c]
push dword [ebp - 0x44]
push eax
call fcn.1006bbd0
add esp, 0x10
lea ecx, [ebp - 0x28]
push 0xb
push str.Team_Type:
call fcn.1000b650
mov ecx, dword [0x10156b54]
mov esi, eax
lea eax, [ebp - 0x58]
push dword [ecx + 0x13c]
push eax
call fcn.10005330
add esp, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10090834
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.1000b650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.1000b760
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.1006bbd0
mov eax, dword [0x10156b54]
add esp, 4
movaps xmm0, xmmword [0x1011a1a0]
mov ecx, 0x10
movaps xmm2, xmmword [0x10129130]
movaps xmm1, xmmword [0x1011a1d0]
mov edx, dword [eax + 0x148]
movd eax, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0xabb3b8
mov byte [ebp - 0x44], 1
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, dword [ebp - 0x54]
andps xmm1, xmm2
punpcklbw xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x58], xmm1
movaps xmm1, xmmword [0x1011a1e0]
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, dword [ebp - 0x50]
andps xmm1, xmm2
punpcklbw xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x54], xmm1
movaps xmm1, xmmword [0x1011a1f0]
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, dword [ebp - 0x4c]
andps xmm1, xmm2
punpcklbw xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x50], xmm1
movaps xmm1, xmmword [0x1011a200]
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x4c], xmm1
nop dword [eax]
lea eax, [ecx - 0x3a]
xor byte [ebp + ecx - 0x58], al
inc ecx
cmp ecx, 0x13
jb 0x10090940
push edx
lea eax, [ebp - 0x58]
mov byte [ebp - 0x44], 0
push eax
call fcn.1006bbd0
push 2
call fcn.10052450
push 1
call fcn.100524a0
add esp, 0x10
call fcn.100523a0
call fcn.1004a4b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000b760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000b760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret