Function at 0x100263c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c8], esi
call fcn.10026ad0
call fcn.100167e0
mov edi, dword [esi + 0x298]
mov esi, dword [esi + 0x294]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0x28c]
mov edx, dword [eax + 0x290]
push ecx
mov eax, esp
push edi
push esi
push edx
push ecx
mov ecx, dword [ebp - 0x1c4]
mov dword [eax], 0xfa461b21
call fcn.10076f60
call fcn.100167e0
mov ecx, dword [ebp - 0x1c8]
mov edx, eax
mov dword [ebp - 0x1d0], 0xfa5d353c
mov esi, dword [ebp - 0x1d0]
push esi
mov eax, dword [ecx + 0x298]
mov edi, dword [ecx + 0x294]
push 1
push edi
mov dword [ebp - 0x1cc], eax
mov eax, dword [ecx + 0x290]
mov ecx, dword [ecx + 0x28c]
push eax
mov dword [ebp - 0x4c], ecx
push ecx
mov ecx, edx
mov dword [ebp - 0x1c4], edx
mov dword [ebp - 0x1d4], eax
call fcn.10076f60
mov ecx, dword [ebp - 0x1cc]
push esi
push ecx
mov ecx, dword [ebp - 0x1c4]
push 1
push dword [ebp - 0x1d4]
push dword [ebp - 0x4c]
call fcn.10076f60
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c4]
dec eax
push esi
push dword [ebp - 0x1cc]
add eax, edi
push 1
push dword [ebp - 0x1d4]
push eax
call fcn.10076f60
mov ecx, dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1d4]
dec ecx
push esi
push 1
push edi
add eax, ecx
mov ecx, dword [ebp - 0x1c4]
push eax
push dword [ebp - 0x4c]
call fcn.10076f60
call fcn.100167e0
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c8]
push ecx
mov ecx, esp
mov edx, dword [eax + 0x24c]
mov esi, dword [eax + 0x248]
mov edi, dword [eax + 0x244]
mov eax, dword [eax + 0x240]
mov dword [ecx], 0xfa461b21
push edx
mov ecx, dword [ebp - 0x1c4]
push esi
push edi
push eax
call fcn.10076f60
call fcn.100167e0
mov edi, dword [ebp - 0x1c8]
mov esi, eax
push 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x3f800000
mov ecx, dword [edi + 0x294]
mov eax, dword [edi + 0x28c]
dec ecx
add ecx, eax
mov dword [ebp - 0x20], 0xfa3c355d
inc eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x3f800000
mov dword [ebp - 0xc], 0xfa3c355d
movd xmm2, ecx
mov ecx, dword [edi + 0x290]
add ecx, 0x14
movd xmm0, eax
mov eax, dword [esi]
cvtdq2ps xmm2, xmm2
push 0
push eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm1
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov eax, dword [esi]
lea edx, [ebp - 0x30]
push 0x14
push edx
push 1
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x14c]
call fcn.100167e0
mov edx, dword [edi + 0x25c]
mov esi, dword [edi + 0x258]
mov edi, dword [edi + 0x254]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c8]
push edx
push esi
push edi
mov eax, dword [eax + 0x250]
mov dword [ecx], 0xfa5d353c
mov ecx, dword [ebp - 0x1c4]
push eax
call fcn.10076f60
movaps xmm0, xmmword [str._G_U_MHUX]
mov esi, 0xc
mov dword [ebp - 0x78], esi
movups xmmword [ebp - 0x74], xmm0
lea eax, [esi + 1]
call fcn.1007cdb0
mov edi, esp
lea eax, [ebp - 0x73]
xor ecx, ecx
sub eax, edi
sub esi, ecx
lea edx, [ecx + edi]
mov cl, byte [ebp - 0x74]
mov edi, eax
nop dword [eax + eax]
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x10026640
mov edi, esp
mov esi, 0xc
mov byte [edi + esi], 0
call fcn.100167e0
mov esi, dword [ebp - 0x1c8]
mov ecx, edi
mov eax, dword [esi + 0x28c]
add eax, 8
movd xmm1, eax
mov eax, dword [esi + 0x290]
add eax, 5
sub esp, 0x18
cvtdq2ps xmm1, xmm1
mov edx, esp
movd xmm0, eax
lea eax, [ecx + 1]
cvtdq2ps xmm0, xmm0
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x1c4], eax
movss dword [ebp - 0x50], xmm1
movss dword [ebp - 0x4c], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100266b4
sub ecx, dword [ebp - 0x1c4]
push ecx
push edi
mov ecx, edx
call fcn.100109d0
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0
push 0x100e9554
push 0xfabbb4b4
call fcn.100771b0
cmp dword [esi + 0x264], 0
lea edi, [esi + 0x264]
jne 0x10026708
call fcn.100167e0
push edi
push 0x2d07
push 0x10098028
push dword [eax]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory]
cmp dword [esi + 0x268], 0
lea edi, [esi + 0x268]
jne 0x10026725
call fcn.100167e0
push edi
push dword [eax]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateSprite]
cmp dword [esi + 0x264], 0
je 0x10026842
cmp dword [edi], 0
je 0x10026842
sub esp, 0xc
lea eax, [ebp - 0x100]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f19999a
mov dword [esp], 0x3f800000
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixScaling]
sub esp, 0xc
lea eax, [ebp - 0x140]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixRotationYawPitchRoll]
sub esp, 0xc
lea eax, [ebp - 0x180]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTranslation]
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixMultiply]
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixMultiply]
movups xmm0, xmmword [ebp - 0x48]
mov eax, dword [esi + 0x264]
lea edx, [ebp - 0x80]
push edx
movups xmmword [ebp - 0xc0], xmm0
push 0
movups xmm0, xmmword [ebp - 0x38]
push eax
movups xmmword [ebp - 0xb0], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ebp - 0x90], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [edi]
lea edx, [ebp - 0xc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [edi]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [esi + 0x26c], 0
lea edi, [esi + 0x26c]
jne 0x10026869
call fcn.100167e0
push edi
push 0x287f0
push 0x1009ad30
push dword [eax]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory]
cmp dword [esi + 0x270], 0
lea edi, [esi + 0x270]
jne 0x10026886
call fcn.100167e0
push edi
push dword [eax]
call dword [sym.imp.d3dx9_43.dll_D3DXCreateSprite]
cmp dword [esi + 0x26c], 0
je 0x10026a12
cmp dword [edi], 0
je 0x10026a12
sub esp, 0xc
lea eax, [ebp - 0x1c0]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f19999a
mov dword [esp], 0x3f0ccccd
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixScaling]
sub esp, 0xc
lea eax, [ebp - 0x180]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixRotationYawPitchRoll]
sub esp, 0xc
lea eax, [ebp - 0x140]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTranslation]
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixMultiply]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixMultiply]
movups xmm0, xmmword [ebp - 0xc0]
mov eax, dword [esi + 0x26c]
lea edx, [ebp - 0x28]
push edx
movups xmmword [ebp - 0x100], xmm0
push 0
movups xmm0, xmmword [ebp - 0xb0]
push eax
movups xmmword [ebp - 0xf0], xmm0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ebp - 0xe0], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ebp - 0xd0], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x44]
call fcn.100167e0
lea edx, [ebp - 0x60]
push edx
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [esi + 0x230]
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 0x234]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x238]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x23c]
mov dword [ebp - 0x6c], eax
call fcn.100167e0
lea edx, [ebp - 0x78]
push edx
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [edi]
lea edx, [ebp - 0x100]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [edi]
push 0x10
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call fcn.100167e0
lea edx, [ebp - 0x60]
push edx
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [esi + 0x21c]
mov edi, dword [esi + 0x218]
mov dword [ebp - 0x1c4], eax
cmp edi, eax
je 0x10026aac
mov dword [ebp - 0x4c], 0x2d
mov esi, dword [edi]
call fcn.10016750
mov edx, dword [esi + 0x2c]
sub esp, 0x10
imul ecx, dword [esi + 0x30], 0x2d
mov eax, dword [edx + 0x240]
inc eax
mov dword [ebp - 0x58], eax
add ecx, 0x20
add ecx, dword [edx + 0x244]
mov eax, dword [esi + 0x38]
add eax, ecx
mov dword [ebp - 0x54], eax
mov eax, dword [edx + 0x248]
dec eax
mov dword [ebp - 0x50], eax
mov eax, esp
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax], xmm0
call fcn.100405d0
test al, al
mov eax, dword [ebp - 0x1c8]
je 0x10026a8b
mov dword [eax + 0x2a8], esi
mov eax, esi
jmp 0x10026a91
mov eax, dword [eax + 0x2a8]
cmp eax, esi
mov ecx, esi
sete al
movzx eax, al
push eax
call fcn.10025350
add edi, 4
cmp edi, dword [ebp - 0x1c4]
jne 0x10026a33
lea esp, [ebp - 0x220]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ba06
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret