Function at 0x1005ed50
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x10]
test eax, 0x2000
je 0x1005ed77
mov eax, dword [ebp + 8]
add eax, 0x580
push eax
push dword [ebp + 0x10]
call fcn.1005f840
pop edi
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
test eax, 0x10000000
je 0x1005ee8b
mov eax, dword [edi + 4]
cmp eax, 6
jne 0x1005edcf
movdqu xmm0, xmmword [esi + 0x1c0]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esi + 0x1d0]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x1e0]
movdqu xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + 0x1f0]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x1f8]
jmp 0x1005ee88
cmp eax, 4
jne 0x1005ee0f
movdqu xmm0, xmmword [esi + 0x184]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esi + 0x194]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x1a4]
movdqu xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + 0x1b4]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x1bc]
jmp 0x1005ee88
cmp eax, 3
jne 0x1005ee4f
movdqu xmm0, xmmword [esi + 0x148]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esi + 0x158]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x168]
movdqu xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + 0x178]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x180]
jmp 0x1005ee88
movdqu xmm0, xmmword [esi + 0x10c]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esi + 0x11c]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x12c]
movdqu xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + 0x13c]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x144]
mov dword [ecx + 0x38], eax
mov eax, dword [edi + 0x10]
test eax, 0x20000
jne 0x1005ee9d
test al, 2
je 0x1005efb9
cmp dword [esi + 0xc], 3
jge 0x1005eeb7
lea eax, [esi + 0x1fc]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
jmp 0x1005efb9
mov eax, dword [edi + 4]
cmp eax, 6
jne 0x1005eefd
movdqu xmm0, xmmword [esi + 0x1c0]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esi + 0x1d0]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x1e0]
movdqu xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + 0x1f0]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x1f8]
jmp 0x1005efb6
cmp eax, 4
jne 0x1005ef3d
movdqu xmm0, xmmword [esi + 0x184]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esi + 0x194]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x1a4]
movdqu xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + 0x1b4]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x1bc]
jmp 0x1005efb6
cmp eax, 3
jne 0x1005ef7d
movdqu xmm0, xmmword [esi + 0x148]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esi + 0x158]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x168]
movdqu xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + 0x178]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x180]
jmp 0x1005efb6
movdqu xmm0, xmmword [esi + 0x10c]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esi + 0x11c]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x12c]
movdqu xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + 0x13c]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x144]
mov dword [ecx + 0x38], eax
test byte [edi + 0x10], 8
je 0x1005efce
lea eax, [esi + 0x238]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x20000000
je 0x1005efe3
lea eax, [esi + 0x1c]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test byte [edi + 0x10], 0x80
je 0x1005eff5
lea eax, [esi + 0x58]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test byte [edi + 0x10], 0x10
je 0x1005f00a
lea eax, [esi + 0x418]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x1000
je 0x1005f022
lea eax, [esi + 0x364]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x1400100
je 0x1005f037
lea eax, [esi + 0x1c]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
mov eax, dword [edi + 0x10]
test eax, 0x10000
jne 0x1005f045
test al, 0x20
je 0x1005f054
lea eax, [esi + 0x580]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test byte [edi + 0x10], 4
je 0x1005f069
lea eax, [esi + 0x94]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x4000000
je 0x1005f081
lea eax, [esi + 0x2ec]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x200
je 0x1005f099
lea eax, [esi + 0x490]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x8000000
je 0x1005f0b1
lea eax, [esi + 0x4cc]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x800000
je 0x1005f0c9
lea eax, [esi + 0x274]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test byte [edi + 0x10], 0x40
je 0x1005f0de
lea eax, [esi + 0x2b0]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x40000000
je 0x1005f0f6
lea eax, [esi + 0x328]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x2000000
je 0x1005f10e
lea eax, [esi + 0xd0]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
test dword [edi + 0x10], 0x4000
je 0x1005f13f
lea eax, [esi + 0x3a0]
push eax
push ecx
call fcn.1005f840
cmp dword [edi + 8], 0xec
mov ecx, eax
jne 0x1005f13f
cmp dword [edi + 0x20], 0x280
jne 0x1005f13f
mov dword [ecx + 4], 0x40
test dword [edi + 0x18], 0x4000000
je 0x1005f157
lea eax, [esi + 0x5bc]
push eax
push ecx
call fcn.1005f840
mov ecx, eax
mov eax, dword [edi + 0x18]
test eax, 0x400000
je 0x1005f1e0
cmp byte [edi + 0x10c], 0
jne 0x1005f1e0
cmp byte [edi + 0x10d], 0
jne 0x1005f1e0
test eax, 0x208000
je 0x1005f1e0
cmp dword [edi + 4], 6
jne 0x1005f1e0
movdqu xmm0, xmmword [esi + 0x1c0]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [esi + 0x1d0]
movdqu xmmword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x1e0]
movdqu xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + 0x1f0]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x1f8]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x584]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x58c]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x58c]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x590]
mov dword [ecx + 0x10], eax
pop esi
pop edi
pop ebp
ret 0xc