Function at 0x10238c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
mov ecx, dword [esp + 0x6c]
mov eax, ecx
mov edx, dword [esp + 0x68]
and ecx, 1
push esi
push edi
mov edi, dword [esp + 0x78]
and eax, 0xfffffffe
mov dword [esp + 0x74], ecx
mov dword [esp + 8], eax
lea ecx, [edi + edi]
mov dword [esp + 0x58], ecx
cmp edx, eax
jge 0x10239095
mov esi, dword [esp + 0x68]
lea eax, [edi + 1]
add esi, 8
lea eax, [edx + eax*4]
lea esi, [esi + edx*2]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x68]
lea eax, [esi + eax*2]
mov dword [esp + 0x44], eax
lea eax, [edi + 2]
lea eax, [edx + eax*2]
add eax, edi
lea eax, [esi + eax*2]
mov dword [esp + 0x48], eax
lea eax, [edi + 2]
lea eax, [edx + eax*2]
lea eax, [esi + eax*2]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
lea eax, [ecx - 8]
mov dword [esp + 0x1c], eax
lea eax, [edi*4 - 8]
mov dword [esp + 0x38], eax
lea eax, [edi + edi*2]
lea eax, [eax*2 - 8]
mov dword [esp + 0x34], eax
lea eax, [edi*8 - 8]
mov dword [esp + 0x30], eax
nop word [eax + eax]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x3c], 5
movzx eax, word [edi + edx*2 + 2]
movzx edx, word [edi + edx*2]
mov dword [esp + 0x2c], edx
mov edi, dword [esp + 0x88]
mov dword [esp + 0x28], eax
add eax, edx
mov edx, dword [esp + 0x80]
add dword [edx], eax
lea edx, [esi - 8]
mov dword [esp + 0x5c], edx
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
add edx, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
add eax, 0x60
mov edx, dword [esp + 0x34]
add edx, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x30]
add edx, esi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x5c]
nop dword [eax + eax]
mov dword [esp + 0x60], 0
mov esi, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
movzx edx, word [edx + eax*2 + 2]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x24], edx
movzx ecx, word [eax + ecx*2]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x50]
add dword [edx], eax
mov eax, dword [esp + 0x2c]
imul eax, ecx
mov ecx, dword [esp + 0x28]
imul ecx, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [esp + 0x7c]
cdq
add dword [edi], eax
mov eax, dword [esp + 0x60]
adc dword [edi + 4], edx
mov edx, dword [esp + 0x5c]
movups xmm1, xmmword [esi - 0x60]
movd xmm0, dword [edx + eax*2]
mov eax, dword [esp + 0x20]
pshufd xmm4, xmm0, 0
movaps xmm2, xmm4
mov edx, dword [esp + 0x1c]
movaps xmm3, xmm4
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x54]
pshufb xmm0, xmmword [ecx]
pmaddwd xmm2, xmm0
movups xmm0, xmmword [eax]
pshufb xmm0, xmmword [ecx]
pmaddwd xmm3, xmm0
pmovzxdq xmm0, xmm2
paddq xmm1, xmm0
psrldq xmm2, 8
movups xmmword [esi - 0x60], xmm1
movups xmm0, xmmword [esi - 0x50]
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
movaps xmm2, xmm4
movups xmmword [esi - 0x50], xmm1
movups xmm1, xmmword [esi - 0x40]
pmovzxdq xmm0, xmm3
paddq xmm1, xmm0
psrldq xmm3, 8
movups xmmword [esi - 0x40], xmm1
movups xmm0, xmmword [esi - 0x30]
pmovzxdq xmm1, xmm3
paddq xmm1, xmm0
movaps xmm3, xmm4
movups xmmword [esi - 0x30], xmm1
movups xmm0, xmmword [eax + edx]
mov eax, dword [esp + 0x18]
movups xmm1, xmmword [esi - 0x20]
pshufb xmm0, xmmword [ecx]
pmaddwd xmm2, xmm0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x14]
pshufb xmm0, xmmword [ecx]
pmaddwd xmm3, xmm0
pmovzxdq xmm0, xmm2
paddq xmm1, xmm0
psrldq xmm2, 8
movups xmmword [esi - 0x20], xmm1
movups xmm0, xmmword [esi - 0x10]
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
movaps xmm2, xmm4
movups xmmword [esi - 0x10], xmm1
movups xmm1, xmmword [esi]
pmovzxdq xmm0, xmm3
paddq xmm1, xmm0
psrldq xmm3, 8
movups xmmword [esi], xmm1
movups xmm0, xmmword [esi + 0x10]
pmovzxdq xmm1, xmm3
paddq xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [eax]
pshufb xmm0, xmmword [ecx]
mov eax, dword [esp + 0x4c]
movaps xmm3, xmm4
movups xmm1, xmmword [esi + 0x20]
pmaddwd xmm2, xmm0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x10]
pshufb xmm0, xmmword [ecx]
pmaddwd xmm3, xmm0
pmovzxdq xmm0, xmm2
paddq xmm1, xmm0
psrldq xmm2, 8
movups xmmword [esi + 0x20], xmm1
movups xmm0, xmmword [esi + 0x30]
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
movaps xmm2, xmm4
movups xmmword [esi + 0x30], xmm1
movups xmm1, xmmword [esi + 0x40]
pmovzxdq xmm0, xmm3
paddq xmm1, xmm0
psrldq xmm3, 8
movups xmmword [esi + 0x40], xmm1
movups xmm0, xmmword [esi + 0x50]
pmovzxdq xmm1, xmm3
paddq xmm1, xmm0
movaps xmm3, xmm4
movups xmmword [esi + 0x50], xmm1
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x48]
movups xmm1, xmmword [esi + 0x60]
pshufb xmm0, xmmword [ecx]
pmaddwd xmm2, xmm0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0xc]
pshufb xmm0, xmmword [ecx]
pmaddwd xmm3, xmm0
pmovzxdq xmm0, xmm2
paddq xmm1, xmm0
psrldq xmm2, 8
movups xmmword [esi + 0x60], xmm1
movups xmm0, xmmword [esi + 0x70]
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
movaps xmm2, xmm4
movups xmmword [esi + 0x70], xmm1
movups xmm1, xmmword [esi + 0x80]
pmovzxdq xmm0, xmm3
paddq xmm1, xmm0
psrldq xmm3, 8
movups xmmword [esi + 0x80], xmm1
movups xmm0, xmmword [esi + 0x90]
pmovzxdq xmm1, xmm3
paddq xmm1, xmm0
movups xmmword [esi + 0x90], xmm1
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x44]
movups xmm1, xmmword [esi + 0xa0]
pshufb xmm0, xmmword [ecx]
pmaddwd xmm2, xmm0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x60]
inc eax
pshufb xmm0, xmmword [ecx]
pmaddwd xmm4, xmm0
pmovzxdq xmm0, xmm2
paddq xmm1, xmm0
psrldq xmm2, 8
movups xmmword [esi + 0xa0], xmm1
movups xmm0, xmmword [esi + 0xb0]
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
movups xmmword [esi + 0xb0], xmm1
movups xmm1, xmmword [esi + 0xc0]
pmovzxdq xmm0, xmm4
paddq xmm1, xmm0
psrldq xmm4, 8
movups xmmword [esi + 0xc0], xmm1
movups xmm0, xmmword [esi + 0xd0]
pmovzxdq xmm1, xmm4
paddq xmm1, xmm0
movups xmmword [esi + 0xd0], xmm1
mov ecx, dword [esp + 0x50]
lea esi, [esi + 0x640]
mov edx, dword [esp + 0x5c]
add ecx, 4
add edi, 8
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], ecx
cmp eax, 5
jl 0x10238d62
mov eax, dword [esp + 0x40]
add edx, dword [esp + 0x58]
add eax, 0x140
sub dword [esp + 0x3c], 1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], eax
jne 0x10238d50
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x54]
add edx, 2
add dword [esp + 0x4c], 4
add esi, 4
add dword [esp + 0x48], 4
add dword [esp + 0x44], 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x70], edx
mov dword [esp + 0x54], esi
cmp edx, dword [esp + 8]
jl 0x10238cd0
mov edi, dword [esp + 0x78]
jmp 0x10239099
mov dword [esp + 0x58], ecx
cmp dword [esp + 0x74], 0
je 0x10239418
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x40], 5
movzx eax, word [eax + edx*2]
add dword [esi], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
lea edx, [eax + edx*2]
lea eax, [ecx + edx]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
lea eax, [edx + edi*4]
mov dword [esp + 0x14], eax
lea eax, [edi + edi*2]
lea eax, [edx + eax*2]
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], eax
lea eax, [edx + edi*8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8c]
add eax, 0x60
mov dword [esp + 0x3c], eax
nop dword [eax]
xor edx, edx
mov ecx, eax
mov dword [esp + 0x74], edx
nop dword [eax + eax]
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x88]
movzx esi, word [eax + edx*2]
mov eax, dword [esp + 0x84]
movd xmm0, esi
add dword [eax], esi
mov eax, dword [esp + 8]
pshufd xmm4, xmm0, 0
imul eax, esi
movaps xmm2, xmm4
movaps xmm3, xmm4
cdq
add dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x7c]
adc dword [eax + 4], edx
mov edx, dword [esp + 0xc]
movups xmm1, xmmword [ecx - 0x60]
movups xmm0, xmmword [edx]
pshufb xmm0, xmmword [edi]
pmaddwd xmm2, xmm0
movups xmm0, xmmword [edx + 8]
mov edx, dword [esp + 0x10]
pshufb xmm0, xmmword [edi]
pmaddwd xmm3, xmm0
pmovzxdq xmm0, xmm2
paddq xmm1, xmm0
psrldq xmm2, 8
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x50]
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
movaps xmm2, xmm4
movups xmmword [ecx - 0x50], xmm1
movups xmm1, xmmword [ecx - 0x40]
pmovzxdq xmm0, xmm3
paddq xmm1, xmm0
psrldq xmm3, 8
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
pmovzxdq xmm1, xmm3
paddq xmm1, xmm0
movaps xmm3, xmm4
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [edx]
movups xmm1, xmmword [ecx - 0x20]
pshufb xmm0, xmmword [edi]
pmaddwd xmm2, xmm0
movups xmm0, xmmword [edx + 8]
mov edx, dword [esp + 0x14]
pshufb xmm0, xmmword [edi]
pmaddwd xmm3, xmm0
pmovzxdq xmm0, xmm2
paddq xmm1, xmm0
psrldq xmm2, 8
movups xmmword [ecx - 0x20], xmm1
movups xmm0, xmmword [ecx - 0x10]
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
movaps xmm2, xmm4
movups xmmword [ecx - 0x10], xmm1
movups xmm1, xmmword [ecx]
pmovzxdq xmm0, xmm3
paddq xmm1, xmm0
psrldq xmm3, 8
movups xmmword [ecx], xmm1
movups xmm0, xmmword [ecx + 0x10]
pmovzxdq xmm1, xmm3
paddq xmm1, xmm0
movaps xmm3, xmm4
movups xmmword [ecx + 0x10], xmm1
movups xmm0, xmmword [edx]
movups xmm1, xmmword [ecx + 0x20]
pshufb xmm0, xmmword [edi]
pmaddwd xmm2, xmm0
movups xmm0, xmmword [edx + 8]
pshufb xmm0, xmmword [edi]
pmaddwd xmm3, xmm0
pmovzxdq xmm0, xmm2
paddq xmm1, xmm0
movups xmmword [ecx + 0x20], xmm1
movups xmm0, xmmword [ecx + 0x30]
mov edx, dword [esp + 0x18]
lea ecx, [ecx + 0x640]
psrldq xmm2, 8
add eax, 8
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
mov esi, dword [esp + 0x84]
movups xmmword [ecx - 0x610], xmm1
add esi, 4
mov dword [esp + 0x88], eax
movups xmm1, xmmword [ecx - 0x600]
mov dword [esp + 0x84], esi
pmovzxdq xmm0, xmm3
paddq xmm1, xmm0
psrldq xmm3, 8
movups xmmword [ecx - 0x600], xmm1
movups xmm0, xmmword [ecx - 0x5f0]
pmovzxdq xmm1, xmm3
paddq xmm1, xmm0
movaps xmm2, xmm4
movups xmmword [ecx - 0x5f0], xmm1
movups xmm0, xmmword [edx]
movups xmm1, xmmword [ecx - 0x5e0]
pshufb xmm0, xmmword [edi]
movaps xmm3, xmm4
pmaddwd xmm2, xmm0
movups xmm0, xmmword [edx + 8]
mov edx, dword [esp + 0x1c]
pshufb xmm0, xmmword [edi]
pmaddwd xmm3, xmm0
pmovzxdq xmm0, xmm2
paddq xmm1, xmm0
psrldq xmm2, 8
movups xmmword [ecx - 0x5e0], xmm1
movups xmm0, xmmword [ecx - 0x5d0]
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
movaps xmm2, xmm4
movups xmmword [ecx - 0x5d0], xmm1
movups xmm1, xmmword [ecx - 0x5c0]
pmovzxdq xmm0, xmm3
paddq xmm1, xmm0
psrldq xmm3, 8
movups xmmword [ecx - 0x5c0], xmm1
movups xmm0, xmmword [ecx - 0x5b0]
pmovzxdq xmm1, xmm3
paddq xmm1, xmm0
movups xmmword [ecx - 0x5b0], xmm1
movups xmm0, xmmword [edx]
movups xmm1, xmmword [ecx - 0x5a0]
pshufb xmm0, xmmword [edi]
pmaddwd xmm2, xmm0
movups xmm0, xmmword [edx + 8]
mov edx, dword [esp + 0x74]
inc edx
mov dword [esp + 0x74], edx
pshufb xmm0, xmmword [edi]
pmaddwd xmm4, xmm0
pmovzxdq xmm0, xmm2
psrldq xmm2, 8
paddq xmm1, xmm0
movups xmmword [ecx - 0x5a0], xmm1
movups xmm0, xmmword [ecx - 0x590]
pmovzxdq xmm1, xmm2
paddq xmm1, xmm0
movups xmmword [ecx - 0x590], xmm1
movups xmm1, xmmword [ecx - 0x580]
pmovzxdq xmm0, xmm4
psrldq xmm4, 8
paddq xmm1, xmm0
movups xmmword [ecx - 0x580], xmm1
movups xmm0, xmmword [ecx - 0x570]
pmovzxdq xmm1, xmm4
paddq xmm1, xmm0
movups xmmword [ecx - 0x570], xmm1
cmp edx, 5
jl 0x10239110
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x58]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
add eax, 0x140
mov dword [esp + 0x70], ecx
sub dword [esp + 0x40], 1
mov dword [esp + 0x84], esi
mov dword [esp + 0x3c], eax
jne 0x10239100
pop edi
pop esi
add esp, 0x5c
ret