Function at 0x1003c610
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x10073098]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x6c], ecx
or ecx, edx
push edi
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], edx
je 0x1003d4aa
test edx, edx
jne 0x1003c66e
mov ecx, dword [ebx + 0x14]
cmp ecx, 0x100
jb 0x1003d07f
movd xmm0, dword [eax]
lea ecx, [edi + 0xc0]
pshufd xmm1, xmm0, 0
movd xmm0, dword [eax + 4]
pshufd xmm2, xmm0, 0
movd xmm0, dword [eax + 8]
pshufd xmm3, xmm0, 0
movd xmm0, dword [eax + 0xc]
pshufd xmm4, xmm0, 0
movd xmm0, dword [eax + 0x10]
pshufd xmm5, xmm0, 0
movd xmm0, dword [eax + 0x14]
pshufd xmm6, xmm0, 0
movd xmm0, dword [eax + 0x18]
pshufd xmm7, xmm0, 0
movd xmm0, dword [eax + 0x1c]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x270], xmm0
movd xmm0, dword [eax + 0x20]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x250], xmm0
movd xmm0, dword [eax + 0x24]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x260], xmm0
movd xmm0, dword [eax + 0x28]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x240], xmm0
movd xmm0, dword [eax + 0x2c]
mov dword [ebp - 0x4c], ecx
lea ecx, [esi + 0xc0]
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x54], ecx
lea ecx, [edi + 0x80]
movaps xmmword [ebp - 0x210], xmm0
movd xmm0, dword [eax + 0x38]
mov dword [ebp - 0x58], ecx
lea ecx, [esi + 0x80]
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x64], ecx
lea ecx, [edi + 0x40]
movaps xmmword [ebp - 0x220], xmm0
movd xmm0, dword [eax + 0x3c]
mov dword [ebp - 0x50], ecx
lea ecx, [esi + 0x40]
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x160], xmm1
movaps xmmword [ebp - 0x170], xmm2
movaps xmmword [ebp - 0x180], xmm3
movaps xmmword [ebp - 0x190], xmm4
movaps xmmword [ebp - 0x1a0], xmm5
movaps xmmword [ebp - 0x1b0], xmm6
movaps xmmword [ebp - 0x1c0], xmm7
movaps xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x60], ecx
nop dword [eax + eax]
mov edx, dword [eax + 0x34]
movaps xmm0, xmm6
movaps xmmword [ebp - 0x100], xmm0
xor ecx, ecx
or ecx, dword [eax + 0x30]
movaps xmm0, xmm7
movaps xmmword [ebp - 0x110], xmm0
movaps xmm0, xmmword [ebp - 0x250]
movaps xmmword [ebp - 0x90], xmm0
movaps xmm0, xmmword [ebp - 0x260]
movaps xmm7, xmmword [ebp - 0x220]
movaps xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0x120], xmm0
movaps xmm0, xmmword [ebp - 0x210]
movaps xmmword [ebp - 0x1d0], xmm1
movaps xmmword [ebp - 0xe0], xmm2
movaps xmm2, xmmword [ebp - 0x270]
movaps xmmword [ebp - 0x130], xmm0
movd xmm0, edx
movd xmm1, ecx
add ecx, 4
punpckldq xmm1, xmm0
movaps xmm0, xmmword [0x10061330]
adc edx, 0
movaps xmmword [ebp - 0xb0], xmm2
movaps xmm2, xmmword [0x10061320]
punpcklqdq xmm1, xmm1
paddq xmm2, xmm1
movaps xmmword [ebp - 0xc0], xmm4
paddq xmm0, xmm1
movaps xmmword [ebp - 0xf0], xmm3
movaps xmm6, xmm2
mov dword [eax + 0x30], ecx
punpckldq xmm6, xmm0
movaps xmm3, xmm5
movaps xmm5, xmmword [ebp - 0x230]
movaps xmm4, xmm6
punpckhdq xmm2, xmm0
mov ecx, 0xa
punpckhdq xmm6, xmm2
punpckldq xmm4, xmm2
movaps xmm1, xmm6
movaps xmmword [ebp - 0xd0], xmm3
movaps xmmword [ebp - 0x200], xmm4
movaps xmmword [ebp - 0x150], xmm1
mov dword [eax + 0x34], edx
jmp 0x1003c894
movaps xmm5, xmmword [ebp - 0x80]
movaps xmm2, xmm3
paddd xmm2, xmmword [ebp - 0x1d0]
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x10061340]
movaps xmm3, xmm4
paddd xmm3, xmmword [ebp - 0x90]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xd0]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x100]
paddd xmm2, xmmword [ebp - 0xe0]
pxor xmm4, xmm0
pshufb xmm4, xmmword [0x10061350]
movaps xmmword [ebp - 0x90], xmm0
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x10061340]
movaps xmm0, xmm4
movaps xmmword [ebp - 0x140], xmm4
paddd xmm0, xmm3
movaps xmm3, xmm6
paddd xmm3, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x2a0], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x100]
movaps xmmword [ebp - 0x290], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x110]
paddd xmm2, xmmword [ebp - 0xf0]
pxor xmm6, xmm0
pshufb xmm6, xmmword [0x10061350]
movaps xmmword [ebp - 0xa0], xmm0
pxor xmm7, xmm2
pshufb xmm7, xmmword [0x10061340]
movaps xmm0, xmm6
movaps xmmword [ebp - 0x280], xmm6
paddd xmm0, xmm3
movaps xmm3, xmm7
paddd xmm3, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x1f0], xmm0
pxor xmm0, xmm1
movaps xmm6, xmm0
pslld xmm0, 7
psrld xmm6, 0x19
por xmm6, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x110]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0xb0]
paddd xmm2, xmmword [ebp - 0xc0]
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x10061350]
movaps xmmword [ebp - 0xd0], xmm0
movaps xmm4, xmm7
movaps xmmword [ebp - 0x1e0], xmm7
paddd xmm4, xmm3
movaps xmm0, xmm4
pxor xmm0, xmm1
movaps xmm7, xmm0
pslld xmm0, 7
psrld xmm7, 0x19
por xmm7, xmm0
pxor xmm5, xmm2
pshufb xmm5, xmmword [0x10061340]
movaps xmm3, xmm5
paddd xmm3, xmmword [ebp - 0x130]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xb0]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmm6
pxor xmm5, xmm0
paddd xmm2, xmmword [ebp - 0x90]
pshufb xmm5, xmmword [0x10061350]
movaps xmmword [ebp - 0xc0], xmm0
movaps xmmword [ebp - 0x80], xmm5
paddd xmm5, xmm3
movaps xmm0, xmm5
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmmword [ebp - 0xb0], xmm1
movaps xmm1, xmmword [ebp - 0x80]
pxor xmm1, xmm2
pshufb xmm1, xmmword [0x10061340]
movaps xmm3, xmm1
movaps xmmword [ebp - 0x80], xmm1
paddd xmm3, xmm4
movaps xmm0, xmm3
pxor xmm0, xmm6
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmmword [ebp - 0x80]
movaps xmm4, xmm1
paddd xmm4, xmm2
movaps xmm2, xmm7
paddd xmm2, xmmword [ebp - 0xa0]
pxor xmm0, xmm4
pshufb xmm0, xmmword [0x10061350]
movaps xmmword [ebp - 0x1d0], xmm4
movaps xmm4, xmmword [ebp - 0x140]
movaps xmmword [ebp - 0x80], xmm0
pxor xmm4, xmm2
pshufb xmm4, xmmword [0x10061340]
paddd xmm0, xmm3
movaps xmmword [ebp - 0x120], xmm0
movaps xmm3, xmm4
pxor xmm0, xmm1
paddd xmm3, xmm5
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmm7
movaps xmmword [ebp - 0x100], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
pxor xmm4, xmm0
movaps xmmword [ebp - 0xe0], xmm0
pshufb xmm4, xmmword [0x10061350]
movaps xmm0, xmm4
movaps xmmword [ebp - 0x140], xmm4
paddd xmm0, xmm3
movaps xmmword [ebp - 0x130], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmmword [ebp - 0x110], xmm1
movaps xmm2, xmmword [ebp - 0xb0]
paddd xmm2, xmmword [ebp - 0xd0]
movaps xmm6, xmmword [ebp - 0x280]
movaps xmm7, xmmword [ebp - 0x1e0]
pxor xmm6, xmm2
pshufb xmm6, xmmword [0x10061340]
movaps xmm3, xmm6
paddd xmm3, xmmword [ebp - 0x2a0]
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0xb0]
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmm2, xmmword [ebp - 0x290]
paddd xmm2, xmmword [ebp - 0xc0]
pxor xmm6, xmm0
movaps xmmword [ebp - 0xf0], xmm0
pxor xmm7, xmm2
pshufb xmm6, xmmword [0x10061350]
pshufb xmm7, xmmword [0x10061340]
movaps xmm0, xmm6
paddd xmm0, xmm3
movaps xmm3, xmm7
paddd xmm3, xmmword [ebp - 0x1f0]
movaps xmmword [ebp - 0x90], xmm0
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
por xmm1, xmm0
movaps xmm0, xmm3
pxor xmm0, xmmword [ebp - 0x290]
movaps xmmword [ebp - 0xb0], xmm1
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
por xmm1, xmm0
movaps xmm0, xmm1
paddd xmm0, xmm2
movaps xmmword [ebp - 0xc0], xmm0
pxor xmm7, xmm0
pshufb xmm7, xmmword [0x10061350]
movaps xmm0, xmm7
paddd xmm0, xmm3
movaps xmmword [ebp - 0xa0], xmm0
pxor xmm0, xmm1
movaps xmm3, xmm0
pslld xmm0, 7
psrld xmm3, 0x19
por xmm3, xmm0
movaps xmmword [ebp - 0xd0], xmm3
sub ecx, 1
jne 0x1003c890
movaps xmm5, xmmword [ebp - 0x160]
paddd xmm5, xmmword [ebp - 0x1d0]
movaps xmm4, xmmword [ebp - 0x180]
movaps xmm3, xmm5
paddd xmm4, xmmword [ebp - 0xf0]
movaps xmm1, xmmword [ebp - 0x170]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0xe0]
movaps xmm0, xmmword [ebp - 0x190]
paddd xmm0, xmmword [ebp - 0xc0]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckhdq xmm4, xmm0
punpckldq xmm2, xmm0
movups xmm0, xmmword [edi]
add dword [ebp - 0x50], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi], xmm1
add dword [ebp - 0x58], 0x10
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x4c]
movaps xmm1, xmm5
add dword [ebp - 0x4c], 0x10
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx], xmm3
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x64]
punpckhqdq xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x1c0]
pxor xmm1, xmm0
paddd xmm4, xmmword [ebp - 0x110]
movups xmmword [eax], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x54]
movaps xmm1, xmmword [ebp - 0x1b0]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0x100]
pxor xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x270]
paddd xmm0, xmmword [ebp - 0xb0]
movups xmmword [edx], xmm5
mov edx, dword [ebp - 0x50]
movaps xmm5, xmmword [ebp - 0x1a0]
paddd xmm5, xmmword [ebp - 0xd0]
add dword [ebp - 0x54], 0x10
movaps xmm3, xmm5
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckldq xmm2, xmm0
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x10]
add dword [ebp - 0x50], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x58]
add dword [ebp - 0x58], 0x10
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx + 0x10], xmm3
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x4c]
add dword [ebp - 0x4c], 0x10
pxor xmm1, xmm0
punpckhqdq xmm5, xmm4
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x54]
pxor xmm5, xmm0
movups xmmword [edx], xmm5
movaps xmm5, xmmword [ebp - 0x250]
add ecx, 0x20
paddd xmm5, xmmword [ebp - 0x90]
movaps xmm4, xmmword [ebp - 0x240]
movaps xmm3, xmm5
paddd xmm4, xmmword [ebp - 0x120]
movaps xmm1, xmmword [ebp - 0x260]
movaps xmm2, xmm4
paddd xmm1, xmmword [ebp - 0xa0]
movaps xmm0, xmmword [ebp - 0x210]
paddd xmm0, xmmword [ebp - 0x130]
mov edx, dword [ebp - 0x50]
punpckldq xmm3, xmm1
punpckhdq xmm5, xmm1
movaps xmm1, xmm3
punpckldq xmm2, xmm0
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x20]
add dword [ebp - 0x54], 0x10
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x20], xmm1
mov dword [ebp - 0x60], ecx
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x4c]
movaps xmm2, xmmword [ebp - 0x150]
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx], xmm3
mov ecx, dword [ebp - 0x58]
punpckhqdq xmm5, xmm4
paddd xmm2, xmm6
movaps xmm4, xmmword [ebp - 0x220]
add dword [ebp - 0x4c], 0x10
paddd xmm4, xmm7
movups xmm0, xmmword [ecx]
add ecx, 0x10
movaps xmmword [ebp - 0x150], xmm2
pxor xmm1, xmm0
mov dword [ebp - 0x58], ecx
movups xmmword [eax + 0x20], xmm1
mov ecx, dword [ebp - 0x60]
add eax, 0x30
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x54]
add ecx, 0x10
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
pxor xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x230]
paddd xmm0, xmmword [ebp - 0x80]
movups xmmword [edx], xmm5
mov edx, dword [ebp - 0x50]
movaps xmm5, xmmword [ebp - 0x200]
add edx, 0x10
paddd xmm5, xmmword [ebp - 0x140]
add dword [ebp - 0x54], 0x10
movaps xmm3, xmm5
punpckhdq xmm5, xmmword [ebp - 0x150]
punpckldq xmm3, xmm2
movaps xmm2, xmm4
punpckldq xmm2, xmm0
movaps xmm1, xmm3
punpckhdq xmm4, xmm0
movups xmm0, xmmword [edi + 0x30]
mov dword [ebp - 0x60], ecx
punpcklqdq xmm1, xmm2
pxor xmm1, xmm0
punpckhqdq xmm3, xmm2
movups xmmword [esi + 0x30], xmm1
mov dword [ebp - 0x50], edx
movups xmm0, xmmword [edx]
movaps xmm1, xmm5
pxor xmm3, xmm0
punpcklqdq xmm1, xmm4
movups xmmword [ecx], xmm3
mov ecx, dword [ebp - 0x64]
movups xmm0, xmmword [eax]
pxor xmm1, xmm0
mov edx, dword [ebp - 0x4c]
movaps xmm2, xmmword [ebp - 0x170]
movaps xmm3, xmmword [ebp - 0x180]
movaps xmm6, xmmword [ebp - 0x1b0]
movaps xmm7, xmmword [ebp - 0x1c0]
movups xmmword [ecx], xmm1
mov ecx, dword [ebp - 0x54]
movups xmm0, xmmword [edx]
mov edx, dword [ebp - 0x5c]
movaps xmm1, xmmword [ebp - 0x160]
punpckhqdq xmm5, xmm4
movaps xmm4, xmmword [ebp - 0x190]
pxor xmm5, xmm0
movups xmmword [ecx], xmm5
mov ecx, dword [ebp - 0x6c]
movaps xmm5, xmmword [ebp - 0x1a0]
add ecx, 0xffffff00
mov dword [ebp - 0x6c], ecx
adc edx, 0xffffffff
add dword [ebp - 0x60], 0xd0
add dword [ebp - 0x64], 0xd0
add eax, 0xd0
add dword [ebp - 0x54], 0xd0
add esi, 0x100
add dword [ebp - 0x50], 0xd0
add edi, 0x100
add dword [ebp - 0x4c], 0xd0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], edx
test edx, edx
ja 0x1003c790
jb 0x1003d07c
movaps xmm1, xmmword [ebp - 0x160]
movaps xmm2, xmmword [ebp - 0x170]
movaps xmm3, xmmword [ebp - 0x180]
movaps xmm4, xmmword [ebp - 0x190]
movaps xmm5, xmmword [ebp - 0x1a0]
movaps xmm6, xmmword [ebp - 0x1b0]
movaps xmm7, xmmword [ebp - 0x1c0]
cmp ecx, 0x100
jae 0x1003c790
mov dword [ebp - 0x64], esi
test edx, edx
jne 0x1003d090
cmp ecx, 0x40
jb 0x1003d23e
nop dword [eax]
movups xmm0, xmmword [eax + 0x10]
mov ecx, 0xa
movups xmm7, xmmword [eax]
movups xmm5, xmmword [eax + 0x30]
movups xmmword [ebp - 0x200], xmm0
movaps xmm2, xmm0
movaps xmm6, xmm7
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x1e0], xmm5
movups xmmword [ebp - 0x1f0], xmm0
nop
movaps xmm3, xmm2
paddd xmm3, xmm6
pxor xmm5, xmm3
pshufb xmm5, xmmword [0x10061340]
movaps xmm4, xmm5
paddd xmm4, xmm0
movaps xmm0, xmm4
pxor xmm0, xmm2
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm0
movaps xmm2, xmm1
paddd xmm2, xmm3
pxor xmm5, xmm2
pshufd xmm2, xmm2, 0x93
pshufb xmm5, xmmword [0x10061350]
movaps xmm3, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm3, xmm4
pshufd xmm4, xmm3, 0x39
movaps xmm0, xmm3
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
pxor xmm1, xmm0
paddd xmm2, xmm1
pxor xmm5, xmm2
pshufb xmm5, xmmword [0x10061340]
paddd xmm4, xmm5
movaps xmm0, xmm4
pxor xmm0, xmm1
movaps xmm3, xmm0
pslld xmm0, 0xc
psrld xmm3, 0x14
pxor xmm3, xmm0
movaps xmm0, xmm3
paddd xmm0, xmm2
pshufd xmm6, xmm0, 0x39
pxor xmm5, xmm0
pshufb xmm5, xmmword [0x10061350]
movaps xmm0, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm0, xmm4
movaps xmm1, xmm0
pshufd xmm0, xmm0, 0x93
pxor xmm1, xmm3
movaps xmm2, xmm1
pslld xmm1, 7
psrld xmm2, 0x19
pxor xmm2, xmm1
sub ecx, 1
jne 0x1003d0c0
movups xmm3, xmmword [edi + 0x10]
movups xmm1, xmmword [ebp - 0x200]
paddd xmm7, xmm6
paddd xmm1, xmm2
movups xmm2, xmmword [edi + 0x20]
pxor xmm3, xmm1
movups xmm1, xmmword [ebp - 0x1f0]
paddd xmm1, xmm0
movups xmm0, xmmword [ebp - 0x1e0]
pxor xmm2, xmm1
movups xmm1, xmmword [edi + 0x30]
paddd xmm0, xmm5
pxor xmm1, xmm0
movups xmm0, xmmword [edi]
pxor xmm7, xmm0
movups xmmword [esi], xmm7
movups xmmword [esi + 0x10], xmm3
movups xmmword [esi + 0x20], xmm2
movups xmmword [esi + 0x30], xmm1
mov edx, dword [eax + 0x34]
add dword [eax + 0x30], 1
lea ecx, [edx + 1]
cmovne ecx, edx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0xffffffc0
mov dword [ebp - 0x6c], ecx
adc edx, 0xffffffff
add esi, 0x40
add edi, 0x40
mov dword [ebp - 0x5c], edx
test edx, edx
ja 0x1003d090
jb 0x1003d23b
cmp ecx, 0x40
jae 0x1003d090
mov dword [ebp - 0x64], esi
test edx, edx
jne 0x1003d24a
test ecx, ecx
je 0x1003d4aa
movaps xmm7, xmmword [0x10061340]
mov edx, 0xa
movups xmm6, xmmword [eax]
movups xmm2, xmmword [eax + 0x10]
movups xmm0, xmmword [eax + 0x20]
movups xmm5, xmmword [eax + 0x30]
movaps xmm3, xmm2
paddd xmm3, xmm6
pxor xmm5, xmm3
pshufb xmm5, xmm7
movaps xmm4, xmm5
paddd xmm4, xmm0
movaps xmm0, xmm4
pxor xmm0, xmm2
movaps xmm1, xmm0
pslld xmm0, 0xc
psrld xmm1, 0x14
pxor xmm1, xmm0
movaps xmm2, xmm1
paddd xmm2, xmm3
pxor xmm5, xmm2
pshufd xmm2, xmm2, 0x93
pshufb xmm5, xmmword [0x10061350]
movaps xmm3, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm3, xmm4
pshufd xmm4, xmm3, 0x39
movaps xmm0, xmm3
pxor xmm0, xmm1
movaps xmm1, xmm0
pslld xmm0, 7
psrld xmm1, 0x19
pxor xmm1, xmm0
paddd xmm2, xmm1
pxor xmm5, xmm2
pshufb xmm5, xmm7
paddd xmm4, xmm5
movaps xmm0, xmm4
pxor xmm0, xmm1
movaps xmm3, xmm0
pslld xmm0, 0xc
psrld xmm3, 0x14
pxor xmm3, xmm0
movaps xmm0, xmm3
paddd xmm0, xmm2
pshufd xmm6, xmm0, 0x39
pxor xmm5, xmm0
pshufb xmm5, xmmword [0x10061350]
movaps xmm0, xmm5
pshufd xmm5, xmm5, 0x4e
paddd xmm0, xmm4
movaps xmm1, xmm0
pshufd xmm0, xmm0, 0x93
pxor xmm1, xmm3
movaps xmm2, xmm1
pslld xmm1, 7
psrld xmm2, 0x19
pxor xmm2, xmm1
sub edx, 1
jne 0x1003d265
movups xmm1, xmmword [eax]
paddd xmm1, xmm6
movups xmmword [ebp - 0x48], xmm1
movups xmm1, xmmword [eax + 0x10]
paddd xmm1, xmm2
movups xmmword [ebp - 0x38], xmm1
movups xmm1, xmmword [eax + 0x20]
paddd xmm1, xmm0
movups xmm0, xmmword [eax + 0x30]
mov eax, dword [ebp - 0x5c]
movups xmmword [ebp - 0x28], xmm1
paddd xmm0, xmm5
movups xmmword [ebp - 0x18], xmm0
test eax, eax
jne 0x1003d389
cmp ecx, 0x40
jb 0x1003d461
lea eax, [ebp + ecx - 0x49]
xor edx, edx
cmp esi, eax
ja 0x1003d3a7
lea eax, [ebp - 0x48]
mov dword [ebp - 0x68], eax
lea eax, [ecx - 1]
add eax, esi
cmp eax, dword [ebp - 0x68]
jae 0x1003d45e
lea eax, [ecx - 1]
add eax, edi
cmp esi, eax
ja 0x1003d3bd
lea eax, [ecx - 1]
add eax, esi
cmp eax, edi
jae 0x1003d45e
mov eax, ecx
mov ecx, edi
sub ecx, esi
and eax, 0xffffffc0
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x48]
sub ecx, esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x68], ecx
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x38]
sub ecx, esi
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x28]
sub ecx, esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x50], ecx
lea ecx, [edi + 0x30]
nop dword [eax]
movups xmm0, xmmword [ecx - 0x30]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ebp + edx - 0x48]
add edx, 0x40
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
mov esi, dword [ebp - 0x68]
movups xmm0, xmmword [eax + esi - 0x40]
mov esi, dword [ebp - 0x58]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x50]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
mov esi, dword [ebp - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
xor esi, esi
cmp esi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
jb 0x1003d3f0
ja 0x1003d458
cmp edx, dword [ebp - 0x4c]
jb 0x1003d3f0
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], eax
ja 0x1003d49c
jb 0x1003d473
cmp edx, ecx
jae 0x1003d49c
lea eax, [ebp - 0x48]
sub edi, eax
sub esi, eax
nop word [eax + eax]
lea ecx, [ebp - 0x48]
add ecx, edx
inc edx
mov al, byte [ecx + edi]
xor al, byte [ecx]
mov byte [ecx + esi], al
xor eax, eax
cmp eax, dword [ebp - 0x5c]
jb 0x1003d480
ja 0x1003d49c
cmp edx, dword [ebp - 0x6c]
jb 0x1003d480
lea eax, [ebp - 0x48]
push 0x40
push eax
call fcn.10033f50
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004bc43
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret