Function at 0x1002aa60
Capabilities:
Contain obfuscated stackstrings

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
push 0xffffffffffffffff
push 0x1016d226
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call fcn.100293a0
mov dword [ebp - 4], 0
mov dword [edi], 0x10197970
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1f0], 0
push 0x10022a60
push 0x100304d0
push 0x14
push 4
lea eax, [edi + 0x200]
mov byte [ebp - 4], 9
push eax
mov dword [edi + 0x1f8], 0
mov dword [edi + 0x1fc], 0
call fcn.100cd1fa
mov dword [edi + 0x250], 0
mov dword [edi + 0x254], 0
mov dword [edi + 0x258], 0
mov dword [edi + 0x25c], 0
mov dword [edi + 0x260], 0
lea esi, [edi + 0x264]
push 0x10022a60
push 0x100304d0
push 2
push 4
push esi
mov byte [ebp - 4], 0xb
call fcn.100cd1fa
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea esi, [edi + 0x274]
push 0x10022a60
push 0x100304d0
push 4
push 4
push esi
mov byte [ebp - 4], 0xd
call fcn.100cd1fa
mov dword [esi + 0x10], 0
mov dword [edi + 0x288], 0
mov dword [edi + 0x28c], 0
mov dword [edi + 0x290], 0
mov dword [edi + 0x294], 0
mov dword [edi + 0x298], 0
mov dword [edi + 0x29c], 0
mov dword [edi + 0x2a0], 0
mov dword [edi + 0x2a4], 0
mov byte [ebp - 4], 0x12
lea esi, [edi + 0x2a8]
mov dword [ebp - 0x20], esi
mov dword [esi], 0
push 0x14
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100cd0b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0x14
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.1001c8c0
mov dword [edi + 0x2c8], 0
mov byte [ebp - 4], 0x16
lea esi, [edi + 0x2cc]
mov dword [ebp - 0x20], esi
mov dword [esi], 0
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100cd0b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0x18
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.1001c8c0
mov dword [edi + 0x2ec], 0
mov byte [ebp - 4], 0x1a
lea esi, [edi + 0x2f0]
mov dword [ebp - 0x20], esi
mov dword [esi], 0
push 0x18
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100cd0b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0x1c
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.1001c8c0
mov dword [edi + 0x310], 0
mov byte [ebp - 4], 0x1e
lea esi, [edi + 0x314]
mov dword [ebp - 0x20], esi
mov dword [esi], 0
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100cd0b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0x20
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.1001c8c0
mov dword [edi + 0x334], 0
mov byte [ebp - 4], 0x22
lea esi, [edi + 0x338]
mov dword [ebp - 0x20], esi
mov dword [esi], 0
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100cd0b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0x24
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.1001c8c0
mov byte [ebp - 4], 0x25
lea esi, [edi + 0x358]
mov dword [ebp - 0x20], esi
mov dword [esi], 0
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100cd0b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0x27
push dword [esi + 4]
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push 0x10
call fcn.1001c8c0
add edi, 0x380
mov ecx, edi
call fcn.1002a150
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0
mov dword [edx + 0x3c0], eax
lea esi, [edx + 0x3e0]
mov eax, dword [ebp - 0x20]
mov ecx, esi
mov dword [edx + 0x3c4], eax
call fcn.1002a170
mov dword [edx + 0x480], 0
mov dword [edx + 0x498], 0
mov dword [edx + 0x49c], 0xf
mov byte [edx + 0x488], 0
mov dword [edx + 0x4b0], 0
mov dword [edx + 0x4b4], 0xf
mov byte [edx + 0x4a0], 0
mov dword [edx + 0x4c8], 0
mov dword [edx + 0x4cc], 0xf
mov byte [edx + 0x4b8], 0
mov dword [edx + 0x4e0], 0
mov dword [edx + 0x4e4], 0xf
mov byte [edx + 0x4d0], 0
mov dword [edx + 0x4f8], 0
mov dword [edx + 0x4fc], 0xf
mov byte [edx + 0x4e8], 0
push 0x100
lea eax, [edx + 0xf0]
mov byte [ebp - 4], 0x2a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x40
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp - 0x18]
add esp, 0xc
xorps xmm0, xmm0
push 0xa0
push 0
movups xmmword [edi + 0x3c0], xmm0
push esi
movups xmmword [edi + 0x3d0], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [edi + 0x1f4], 0
mov ecx, 0x10761d60
mov dword [edi + 0x100], 0
mov dword [edi + 0x1cc], 0xbf800000
push str.mipmap
call fcn.1005c680
push str.upscale_multiplier
mov ecx, 0x10761d60
mov dword [edi + 0xcc], eax
call fcn.1005c680
push str.filter
mov ecx, 0x10761d60
mov dword [edi + 0xc4], eax
call fcn.1005c680
push str.MaxAnisotropy
mov ecx, 0x10761d60
mov byte [ebp - 0x11], al
call fcn.1005c680
cmp byte [ebp - 0x11], 0
mov esi, eax
je 0x1002b080
push str.paltex
mov ecx, 0x10761d60
call fcn.1005c680
test eax, eax
jne 0x1002b080
test esi, esi
je 0x1002b080
mov dword [edi + 0xc8], esi
jmp 0x1002b08a
mov dword [edi + 0xc8], 0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret