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

Disassembly:
sub esp, 0xc4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd4]
push edi
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x28]
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi]
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 4]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xec]
mov eax, dword [esi + 8]
movsx ecx, word [ecx]
movsx ebx, word [ebx]
movsx ebp, word [edx]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
movsx ecx, word [edx + 2]
imul ebx, ebp
mov ebp, dword [esp + 0x50]
mov eax, dword [esi + 0x38]
imul ebp, ecx
mov edi, dword [esi + 0x3c]
mov dword [esp + 0xc0], eax
lea ebx, [ebx + ebp*2]
mov eax, dword [esi + 0x2c]
shl ebx, 1
mov dword [esp + 0x38], ebx
mov ebx, dword [esi + 0x1c]
add ebx, 2
mov dword [esp + 0x2c], ebx
movsx ebx, word [ebx]
mov dword [esp + 0x34], ebx
mov ebx, dword [esi + 0xc]
add ebx, 2
mov dword [esp + 0xac], ebx
movsx ebx, word [ebx]
mov dword [esp + 0x84], ebx
mov ebp, ebx
movsx ebx, word [edx]
imul ebp, ebx
mov ebx, dword [esp + 0x34]
imul ebx, ecx
lea ecx, [ebp + ebx*2]
movsx ebp, word [eax]
shl ecx, 1
movsx ebx, word [edx + 6]
mov dword [esp + 0x48], ecx
movsx ecx, word [edx + 4]
imul ebp, ecx
movsx ecx, word [edi]
imul ecx, ebx
lea ecx, [ebp + ecx*2]
shl ecx, 1
mov dword [esp + 0x44], ecx
lea ecx, [edi + 2]
mov dword [esp + 0x10], ecx
movsx ecx, word [ecx]
mov dword [esp + 0x88], ecx
lea ecx, [eax + 2]
mov dword [esp + 0x40], ecx
movsx ecx, word [ecx]
mov dword [esp + 0x54], ecx
mov ebp, ecx
movsx ecx, word [edx + 4]
imul ebp, ecx
mov ecx, dword [esp + 0x88]
imul ecx, ebx
lea ecx, [ebp + ecx*2]
shl ecx, 1
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x7c]
add ecx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc0]
movsx ebp, word [edi]
add ecx, ecx
mov dword [esp + 0x74], ecx
lea ebp, [ebp + ebp*4]
movsx ecx, word [ecx + edi]
sub ecx, ebp
imul ecx, ebx
mov ebx, dword [esp + 0x1c]
movsx ebp, word [ebx + eax]
movsx ebx, word [eax]
add ebp, ebx
mov dword [esp + 0x60], ebp
movsx ebp, word [edx + 4]
mov ebx, dword [esp + 0x60]
imul ebx, ebp
add ecx, ebx
mov ebx, dword [esp + 0xc0]
lea ebx, [ebx + ebx + 2]
mov dword [esp + 0xa8], ebx
movsx ebx, word [ebx + edi]
mov edi, dword [esp + 0x88]
lea edi, [edi + edi*4]
sub ebx, edi
movsx edi, word [edx + 6]
imul ebx, edi
mov edi, dword [esp + 0x7c]
movsx eax, word [eax + edi*2 + 2]
add eax, dword [esp + 0x54]
imul eax, ebp
add ebx, eax
mov eax, dword [esp + 0x5c]
lea edi, [eax + eax]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x64], edi
lea ebp, [eax + eax]
mov eax, dword [esi + 0x1c]
movsx eax, word [edi + eax]
mov edi, dword [esp + 0x50]
lea edi, [edi + edi*4]
sub eax, edi
movsx edi, word [edx + 2]
imul eax, edi
mov edi, dword [esi + 0xc]
movsx ebp, word [ebp + edi]
add ebp, dword [esp + 0x6c]
movsx edi, word [edx]
imul ebp, edi
mov edi, dword [esi + 0x1c]
add eax, ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
movsx edi, word [edi + ebp*2 + 2]
mov ebp, dword [esp + 0x34]
lea ebp, [ebp + ebp*4]
sub edi, ebp
movsx ebp, word [edx + 2]
imul edi, ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x60], edi
mov edi, dword [esi + 0xc]
movsx ebp, word [edi + ebp*2 + 2]
add ebp, dword [esp + 0x84]
movsx edi, word [edx]
imul ebp, edi
mov edi, dword [esp + 0x60]
add edi, ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x38]
lea edi, [edi + ebp*2]
mov ebp, dword [esp + 0xe8]
shl edi, 1
sar edi, 4
mov word [ebp], di
mov edi, dword [esp + 0x44]
lea edi, [edi + edi*4]
mov ebp, edi
mov edi, dword [esp + 0x24]
lea eax, [eax + ecx*2]
sub edi, ebp
mov ebp, dword [esp + 0x48]
add edi, ebp
mov ebp, dword [esp + 0x38]
add edi, ebp
mov ebp, dword [esp + 0xe8]
sar edi, 4
mov word [ebp + 2], di
mov edi, dword [esp + 0xe4]
shl eax, 1
add edi, edi
mov dword [esp + 0x3c], ecx
sar eax, 4
mov word [edi + ebp], ax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0x1c]
lea eax, [eax + eax + 2]
add ebp, 4
mov dword [esp + 0x78], eax
lea eax, [ecx + ecx*4]
sub edi, eax
mov eax, dword [esp + 0x14]
add edi, eax
mov eax, dword [esp + 0x78]
add edi, ebx
mov ecx, dword [esp + 0x1c]
sar edi, 4
mov word [eax + ebp - 4], di
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
dec edi
cmp edi, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x60], edi
jle 0x1003c908
dec edi
mov dword [esp + 0x90], edi
movsx ebp, word [ecx + 2]
movsx edi, word [edx + 2]
movsx ecx, word [ebx + 2]
mov dword [esp + 0xb8], ebp
imul ebp, edi
mov dword [esp + 0xb4], ecx
mov edi, ecx
movsx ecx, word [edx]
imul edi, ecx
lea ecx, [edi + ebp*2]
shl ecx, 1
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
movsx edi, word [edx + 4]
movsx ecx, word [ecx + 2]
movsx ebp, word [edx + 6]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x20]
movsx ecx, word [ecx + 2]
mov dword [esp + 0x4c], ecx
imul ecx, edi
mov edi, dword [esp + 0x8c]
imul edi, ebp
lea ecx, [ecx + edi*2]
mov edi, dword [esp + 0x10]
shl ecx, 1
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xa8]
movsx edi, word [ecx + edi]
mov ecx, dword [esp + 0x8c]
lea ecx, [ecx + ecx*4]
sub edi, ecx
mov ecx, dword [esp + 0x20]
imul edi, ebp
mov ebp, dword [esp + 0x7c]
movsx ebp, word [ecx + ebp*2 + 2]
add ebp, dword [esp + 0x4c]
movsx ecx, word [edx + 4]
imul ebp, ecx
mov ecx, dword [esp + 0x2c]
add edi, ebp
mov ebp, dword [esp + 0x5c]
movsx ecx, word [ecx + ebp*2 + 2]
mov ebp, dword [esp + 0xb8]
lea ebp, [ebp + ebp*4]
sub ecx, ebp
movsx ebp, word [edx + 2]
imul ecx, ebp
mov ebp, dword [esp + 0x70]
movsx ebp, word [ebx + ebp*2 + 2]
add ebp, dword [esp + 0xb4]
movsx ebx, word [edx]
imul ebp, ebx
mov ebx, dword [esp + 0x34]
add ecx, ebp
mov ebp, dword [esp + 0x38]
add ebx, eax
add ebx, ebp
lea eax, [eax + eax*2]
shl ebx, 1
shl eax, 1
mov dword [esp + 0x98], ebx
mov ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
sub eax, ebx
mov ebx, dword [esp + 0x34]
add eax, ebx
mov ebx, dword [esp + 0x48]
add eax, ebx
mov ebx, dword [esp + 0x14]
add eax, ebp
mov ebp, dword [esp + 0x18]
add ebx, ebp
mov ebp, dword [esp + 0x3c]
add ebx, ebp
shl ebx, 1
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x18]
lea ebx, [ebx + ebx*2]
shl ebx, 1
sub ecx, ebx
mov ebx, dword [esp + 0x14]
add ecx, ebx
mov ebx, dword [esp + 0x98]
add ecx, edi
add ecx, ebp
mov ebp, dword [esp + 0x28]
sar eax, 4
sar ebx, 4
mov word [ebp + 2], ax
mov eax, dword [esp + 0x9c]
mov word [ebp], bx
mov ebx, dword [esp + 0x78]
sar eax, 4
sar ecx, 4
mov word [ebx + ebp - 2], ax
mov word [ebx + ebp], cx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
add edi, 2
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
add edi, 2
lea ebx, [ecx + 2]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x90]
add ebp, 4
add ecx, 2
dec edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x90], edi
jne 0x1003c727
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
add ecx, eax
lea eax, [eax + eax*2]
add ecx, edi
shl ecx, 1
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x20]
movsx edi, word [edx + 6]
movsx ecx, word [ecx - 2]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x10]
movsx ebx, word [ebx]
movsx ecx, word [ecx - 2]
mov dword [esp + 0x54], ecx
imul ecx, edi
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
movsx ebx, word [ebx]
movsx ecx, word [edx + 2]
mov dword [esp + 0x50], ebx
imul ebx, ecx
mov edi, dword [esp + 0x4c]
movsx ecx, word [edx + 4]
add edi, ebx
mov ebx, dword [esp + 0x58]
imul ebx, ecx
movsx ecx, word [edx]
lea edi, [ebx + edi*2]
mov ebx, dword [esp + 0x6c]
imul ebx, ecx
mov ecx, dword [esp + 0x34]
add edi, ebx
mov ebx, dword [esp + 0x38]
sub edi, eax
lea eax, [ecx + edi*2]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
add eax, ebx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x14]
add ecx, eax
mov eax, dword [esp + 0x2c]
add ecx, edi
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x74]
movsx eax, word [edi + eax]
mov edi, dword [esp + 0x50]
shl ecx, 1
lea edi, [edi + edi*4]
sub eax, edi
movsx edi, word [edx + 2]
imul eax, edi
mov edi, dword [esp + 0x10]
movsx ebx, word [ebx + edi - 2]
mov edi, dword [esp + 0x54]
lea edi, [edi + edi*4]
sub ebx, edi
movsx edi, word [edx + 6]
imul ebx, edi
mov edi, dword [esp + 0x7c]
add eax, ebx
mov ebx, dword [esp + 0x20]
add edi, edi
mov dword [esp + 0x1c], edi
movsx ebx, word [edi + ebx - 2]
add ebx, dword [esp + 0x58]
movsx edi, word [edx + 4]
imul ebx, edi
mov edi, dword [esp + 0x70]
add eax, ebx
mov ebx, dword [esp + 0x30]
add edi, edi
mov dword [esp + 0x68], edi
movsx ebx, word [edi + ebx]
add ebx, dword [esp + 0x6c]
movsx edi, word [edx]
imul ebx, edi
mov edi, dword [esp + 0x18]
add eax, ebx
mov ebx, dword [esp + 0x14]
lea edi, [edi + edi*2]
shl edi, 1
sub eax, edi
mov edi, dword [esp + 0x3c]
add eax, ebx
add eax, edi
mov edi, dword [esp + 0x98]
sar edi, 4
mov word [ebp], di
mov edi, dword [esp + 0xa0]
sar edi, 4
mov word [ebp + 2], di
mov edi, dword [esp + 0x94]
sar ecx, 4
mov word [edi + ebp], cx
mov ecx, dword [esp + 0x78]
sar eax, 4
mov word [ecx + ebp], ax
mov ecx, dword [esp + 0xbc]
mov eax, 1
dec ecx
cmp ecx, eax
mov dword [esp + 0x4c], ecx
jle 0x1003d2d8
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xe4]
shl eax, 2
add edi, eax
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xc8], edi
mov edi, dword [esp + 0x94]
add eax, edi
mov edi, dword [esp + 0xe8]
add eax, edi
mov edi, 2
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x94]
sub edi, eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xd0], edi
mov edi, dword [esp + 0x78]
sub edi, eax
mov ebp, dword [esp + 0x68]
mov dword [esp + 0xcc], edi
mov edi, 4
sub edi, eax
mov eax, dword [esp + 0x4c]
dec eax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x4c], eax
inc eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc4], edi
jmp 0x1003cb32
mov esi, dword [esp + 0xd8]
mov edi, dword [esi + 0xc]
add ebp, edi
mov edi, dword [esi + 0x1c]
add ecx, edi
mov edi, dword [esi + 0x2c]
add ebx, edi
mov edi, dword [esi + 0x3c]
add eax, edi
mov edi, dword [esp + 0x64]
mov esi, ecx
mov dword [esp + 0x30], ebp
movsx ebp, word [ebp]
sub esi, edi
mov dword [esp + 0x6c], ebp
movsx edi, word [ecx]
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], esi
movsx edi, word [edx + 2]
movsx esi, word [esi]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x1c], edi
movsx edi, word [edx]
mov dword [esp + 0x14], esi
add esi, ebp
mov ebp, dword [esp + 0x6c]
imul esi, dword [esp + 0x1c]
imul ebp, edi
add esi, ebp
lea ebp, [ecx + 2]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x80], edi
movsx ebp, word [ebp]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x30]
shl esi, 1
add ebp, 2
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0xac], ebp
movsx ebp, word [ebp]
movsx esi, word [esi + 2]
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x68], esi
add esi, ebp
mov ebp, dword [esp + 0x84]
imul esi, dword [esp + 0x1c]
imul ebp, edi
add esi, ebp
mov ebp, dword [esp + 0x74]
mov edi, eax
mov dword [esp + 0x20], ebx
sub edi, ebp
movsx ebp, word [eax]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x40], edi
movsx ebp, word [edx + 6]
movsx edi, word [edi]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], edi
movsx ebp, word [edx + 4]
movsx edx, word [ebx]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
add edi, edx
mov edx, dword [esp + 0x18]
imul edi, dword [esp + 0x24]
imul edx, ebp
add edi, edx
mov edx, dword [esp + 0x40]
shl edi, 1
movsx edx, word [edx + 2]
mov dword [esp + 0x58], edx
lea edx, [eax + 2]
mov dword [esp + 0x10], edx
mov dword [esp + 0x48], ebp
movsx edx, word [edx]
shl esi, 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x88], edx
add ebx, 2
mov dword [esp + 0x40], ebx
movsx ebx, word [ebx]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x58]
add edx, ebx
mov ebx, dword [esp + 0x54]
imul edx, dword [esp + 0x24]
imul ebx, ebp
mov ebp, dword [esp + 0x28]
add edx, ebx
mov ebx, dword [esp + 0x74]
lea ebp, [ebp + ebp*2]
movsx ebx, word [ebx + eax]
shl ebp, 1
sub ebx, ebp
mov ebp, dword [esp + 0x3c]
add ebx, ebp
mov ebp, dword [esp + 0x20]
imul ebx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x7c]
add ebx, ebx
shl edx, 1
movsx ebx, word [ebx + ebp]
mov ebp, dword [esp + 0x18]
add ebx, ebp
mov ebp, dword [esp + 0x28]
imul ebx, dword [esp + 0x48]
add ebp, ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x7c]
movsx eax, word [ebx + eax]
mov ebx, dword [esp + 0x88]
lea ebx, [ebx + ebx*2]
shl ebx, 1
sub eax, ebx
mov ebx, dword [esp + 0x58]
add eax, ebx
mov ebx, dword [esp + 0x20]
imul eax, dword [esp + 0x24]
movsx ebx, word [ebx + ebp*2 + 2]
mov ebp, dword [esp + 0x54]
add ebx, ebp
mov ebp, dword [esp + 0x50]
imul ebx, dword [esp + 0x48]
add eax, ebx
mov ebx, dword [esp + 0x64]
lea ebp, [ebp + ebp*2]
movsx ebx, word [ebx + ecx]
shl ebp, 1
sub ebx, ebp
mov ebp, dword [esp + 0x14]
add ebx, ebp
mov ebp, dword [esp + 0x30]
imul ebx, dword [esp + 0x1c]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x70]
add ebx, ebx
movsx ebx, word [ebx + ebp]
mov ebp, dword [esp + 0x6c]
add ebx, ebp
mov ebp, dword [esp + 0x28]
imul ebx, dword [esp + 0x80]
add ebp, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x70]
movsx ecx, word [ecx + ebx*2 + 2]
mov ebx, dword [esp + 0x34]
lea ebx, [ebx + ebx*2]
shl ebx, 1
sub ecx, ebx
mov ebx, dword [esp + 0x68]
add ecx, ebx
mov ebx, dword [esp + 0x30]
imul ecx, dword [esp + 0x1c]
movsx ebx, word [ebx + ebp*2 + 2]
add ebx, dword [esp + 0x84]
imul ebx, dword [esp + 0x80]
add ecx, ebx
lea ebx, [edi + edi*4]
mov ebp, ebx
mov ebx, edx
sub ebx, ebp
mov ebp, dword [esp + 0x38]
add ebx, esi
add ebx, ebp
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x18]
lea ebx, [ebx + ebx*4]
mov ebp, ebx
mov ebx, ecx
sub ebx, ebp
mov ebp, dword [esp + 0x14]
add ebx, ebp
mov ebp, dword [esp + 0xd0]
add ebx, eax
mov dword [esp + 0xa4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x38], esi
lea edi, [ebx + edi*2]
mov ebx, dword [esp + 0xc8]
shl edi, 1
sar edi, 4
mov word [ebx], di
mov ebx, dword [esp + 0xa0]
mov edi, dword [esp + 0x90]
sar ebx, 4
mov word [ebp + edi], bx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
lea ebx, [ebx + ebp*2]
mov ebp, dword [esp + 0xcc]
shl ebx, 1
sar ebx, 4
mov word [edi], bx
mov ebx, dword [esp + 0xa4]
sar ebx, 4
mov word [ebp + edi], bx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x60]
add ebx, edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x10]
cmp ebp, 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ebx
jle 0x1003d08e
dec ebp
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
movsx ebp, word [edi + 2]
movsx edx, word [edx + 2]
mov eax, edi
mov dword [esp + 0x84], edx
sub eax, esi
movsx esi, word [eax + 2]
mov eax, dword [esp + 0xec]
mov dword [esp + 0x68], esi
add esi, ebp
movsx ecx, word [eax + 2]
movsx edx, word [eax]
imul esi, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x84]
imul ecx, edx
mov dword [esp + 0x80], edx
add esi, ecx
mov ecx, dword [esp + 0x74]
mov edx, ebx
sub edx, ecx
movsx ecx, word [ebx + 2]
movsx edx, word [edx + 2]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x58], edx
movsx ecx, word [eax + 6]
movsx eax, word [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
movsx ecx, word [ecx + 2]
add edx, eax
mov dword [esp + 0x54], ecx
imul edx, dword [esp + 0x24]
imul ecx, dword [esp + 0x48]
add edx, ecx
mov ecx, dword [esp + 0xa8]
shl esi, 1
movsx eax, word [ecx + ebx]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x20]
shl edx, 1
lea ecx, [ecx + ecx*2]
shl ecx, 1
sub eax, ecx
mov ecx, dword [esp + 0x58]
add eax, ecx
mov ecx, dword [esp + 0x7c]
imul eax, dword [esp + 0x24]
movsx ecx, word [ebx + ecx*2 + 2]
mov ebx, dword [esp + 0x54]
add ecx, ebx
mov ebx, dword [esp + 0x30]
imul ecx, dword [esp + 0x48]
add eax, ecx
mov ecx, dword [esp + 0x5c]
movsx ecx, word [edi + ecx*2 + 2]
lea edi, [ebp + ebp*2]
mov ebp, dword [esp + 0x68]
shl edi, 1
sub ecx, edi
mov edi, dword [esp + 0x70]
add ecx, ebp
mov ebp, dword [esp + 0x34]
movsx edi, word [ebx + edi*2 + 2]
imul ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
add edi, ebx
mov ebx, dword [esp + 0x44]
imul edi, dword [esp + 0x80]
add ecx, edi
lea edi, [ebx + ebp]
add edi, dword [esp + 0x38]
shl edi, 1
mov dword [esp + 0x98], edi
lea edi, [ebx + ebx*2]
shl edi, 1
mov ebx, edi
mov edi, edx
sub edi, ebx
mov ebx, dword [esp + 0x38]
add edi, ebp
mov ebp, dword [esp + 0x18]
add edi, esi
mov dword [esp + 0x38], esi
add edi, ebx
mov ebx, dword [esp + 0x14]
add ebx, ebp
mov ebp, dword [esp + 0x3c]
add ebx, ebp
shl ebx, 1
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x18]
sar edi, 4
lea ebx, [ebx + ebx*2]
shl ebx, 1
mov ebp, ebx
mov ebx, ecx
sub ebx, ebp
mov ebp, dword [esp + 0x14]
add ebx, ebp
mov ebp, dword [esp + 0x3c]
add ebx, eax
mov dword [esp + 0x14], ecx
add ebx, ebp
mov ebp, dword [esp + 0x98]
mov dword [esp + 0xa4], ebx
mov ebx, dword [esp + 0x28]
sar ebp, 4
mov word [ebx + 2], di
mov edi, dword [esp + 0x9c]
mov word [ebx], bp
mov ebp, dword [esp + 0x78]
sar edi, 4
mov word [ebp + ebx - 2], di
mov edi, dword [esp + 0xa4]
sar edi, 4
mov word [ebp + ebx], di
mov edi, dword [esp + 0x44]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x18]
add ebx, 4
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x20]
add edi, 2
add ebx, 2
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x10]
add edi, 2
add ebx, 2
dec ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x40], ebp
jne 0x1003ce71
mov ebp, dword [esp + 0x34]
add ebp, edx
lea edx, [edx + edx*2]
add ebp, esi
shl ebp, 1
mov dword [esp + 0x98], ebp
mov ebp, ebx
sub ebp, dword [esp + 0xa8]
movsx ebx, word [ebx - 2]
movsx ebp, word [ebp]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0xec]
mov dword [esp + 0x40], ebp
movsx ebp, word [ebx + 6]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
movsx ebp, word [ebp - 2]
mov dword [esp + 0x58], ebp
movsx ebp, word [ebx + 4]
mov dword [esp + 0x48], ebp
mov ebp, edi
movsx edi, word [edi]
mov dword [esp + 0x50], edi
sub ebp, dword [esp + 0x64]
movsx edi, word [ebx + 2]
mov dword [esp + 0x1c], edi
movsx edi, word [ebx]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x30]
movsx ebp, word [ebp]
movsx edi, word [edi]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], ebp
add edi, ebx
mov ebx, dword [esp + 0x50]
imul edi, dword [esp + 0x24]
add ebp, ebx
mov ebx, dword [esp + 0x58]
imul ebp, dword [esp + 0x1c]
imul ebx, dword [esp + 0x48]
add edi, ebp
mov ebp, dword [esp + 0x14]
add edi, ebx
mov ebx, dword [esp + 0x6c]
imul ebx, dword [esp + 0x80]
add edi, ebx
mov ebx, dword [esp + 0x40]
sub edi, edx
mov edx, dword [esp + 0x34]
lea edx, [edx + edi*2]
lea edi, [ecx + eax]
add edx, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x2c]
add edi, esi
mov esi, dword [esp + 0x64]
shl edi, 1
movsx esi, word [esi + edx]
mov edx, dword [esp + 0x50]
lea edx, [edx + edx*2]
shl edx, 1
sub esi, edx
add esi, ebp
mov ebp, dword [esp + 0x10]
imul esi, dword [esp + 0x1c]
movsx edx, word [ebp - 2]
lea edx, [edx + edx*2]
shl edx, 1
sub ebx, edx
mov edx, dword [esp + 0x74]
movsx edx, word [edx + ebp - 2]
add ebx, edx
mov edx, dword [esp + 0xec]
movsx ebp, word [edx + 6]
imul ebx, ebp
add esi, ebx
mov ebx, dword [esp + 0x7c]
add ebx, ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
lea eax, [eax + eax*2]
movsx ebx, word [ebx + ebp - 2]
mov ebp, dword [esp + 0x58]
add ebx, ebp
mov ebp, dword [esp + 0x30]
imul ebx, dword [esp + 0x48]
add esi, ebx
mov ebx, dword [esp + 0x70]
add ebx, ebx
mov dword [esp + 0x68], ebx
movsx ebx, word [ebx + ebp]
mov ebp, dword [esp + 0x6c]
add ebx, ebp
mov ebp, dword [esp + 0xc8]
imul ebx, dword [esp + 0x80]
add esi, ebx
mov ebx, dword [esp + 0x90]
shl eax, 1
sub esi, eax
mov eax, dword [esp + 0x28]
add esi, ecx
mov ecx, dword [esp + 0x3c]
add esi, ecx
mov ecx, dword [esp + 0x98]
sar ecx, 4
mov word [eax], cx
mov ecx, dword [esp + 0xa0]
sar ecx, 4
mov word [eax + 2], cx
mov ecx, dword [esp + 0x94]
sar edi, 4
mov word [ecx + eax], di
mov ecx, dword [esp + 0x78]
sar esi, 4
mov word [ecx + eax], si
mov eax, dword [esp + 0xe4]
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0xb4]
mov esi, dword [esp + 0x64]
shl eax, 2
add ebp, eax
add ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc8], ebp
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0xb8]
add ebp, edi
mov edi, dword [esp + 0x74]
add ebx, eax
mov eax, dword [esp + 0x8c]
add ecx, esi
mov esi, dword [esp + 0x4c]
add eax, edi
dec esi
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x4c], esi
jne 0x1003cb2b
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0xd8]
jmp 0x1003d2dc
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x70]
mov ebx, eax
imul ebx, dword [esp + 0xe4]
imul edi, eax
mov ebp, dword [esp + 0xe8]
imul ecx, eax
lea ebx, [ebp + ebx*4]
mov ebp, dword [esi + 0xc]
lea edi, [ebp + edi*2]
mov dword [esp + 0x30], edi
mov edi, dword [esi + 0x1c]
lea ebp, [edi + ecx*2]
mov ecx, dword [esp + 0x7c]
imul ecx, eax
mov edi, dword [esi + 0x2c]
lea ecx, [edi + ecx*2]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc0]
imul ecx, eax
mov eax, dword [esi + 0x3c]
movsx esi, word [edx]
lea ecx, [eax + ecx*2]
mov eax, ebp
sub eax, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x68], eax
add ebp, 2
movsx ecx, word [eax]
movsx eax, word [ebp - 2]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
movsx edi, word [edx + 2]
movsx eax, word [eax]
imul esi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], esi
add eax, ecx
mov dword [esp + 0x2c], ebp
imul eax, edi
add eax, esi
shl eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
movsx esi, word [eax + 2]
movsx eax, word [ebp]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0xac], eax
movsx ebp, word [eax]
movsx eax, word [edx]
imul ebp, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc4], ebp
add eax, esi
imul eax, edi
mov edi, dword [esp + 0x10]
add eax, ebp
mov ebp, dword [esp + 0x74]
shl eax, 1
mov dword [esp + 0x48], eax
mov eax, edi
movsx edi, word [edi]
sub eax, ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], eax
movsx edi, word [edx + 4]
movsx ebp, word [ebp]
movsx eax, word [eax]
imul edi, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
add eax, ebp
mov dword [esp + 0xb0], edi
movsx ebp, word [edx + 6]
imul eax, ebp
add eax, edi
mov edi, dword [esp + 0x40]
shl eax, 1
movsx edi, word [edi + 2]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x10]
add edi, 2
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x20]
add edi, 2
mov dword [esp + 0x40], edi
movsx ebp, word [edi]
movsx edi, word [edx + 4]
imul edi, ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x10]
movsx edi, word [edi]
add edi, ebp
movsx ebp, word [edx + 6]
imul edi, ebp
add edi, dword [esp + 0x4c]
shl edi, 1
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x28]
lea edi, [edi + edi*2]
mov ebp, edi
mov edi, dword [esp + 0x3c]
sub edi, ebp
movsx ebp, word [edx + 6]
imul edi, ebp
add edi, dword [esp + 0xb0]
shl edi, 1
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
movsx edi, word [edi]
lea edi, [edi + edi*2]
mov ebp, edi
mov edi, dword [esp + 0x58]
sub edi, ebp
movsx ebp, word [edx + 6]
imul edi, ebp
mov ebp, dword [esp + 0x4c]
add edi, ebp
mov ebp, dword [esp + 0x5c]
shl edi, 1
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x50]
lea edi, [edi + edi*2]
sub ecx, edi
movsx edi, word [edx + 2]
imul ecx, edi
add ecx, ebp
mov ebp, dword [esp + 0x24]
shl ecx, 1
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
movsx ecx, word [ecx]
lea ecx, [ecx + ecx*2]
sub esi, ecx
mov ecx, dword [esp + 0xc4]
imul esi, edi
mov edi, dword [esp + 0x48]
add esi, ecx
shl esi, 1
mov ecx, esi
lea esi, [eax + eax*4]
sub ebp, esi
mov esi, dword [esp + 0x38]
add ebp, edi
mov dword [esp + 0x1c], ecx
add ebp, esi
mov esi, dword [esp + 0x18]
lea edi, [esi + esi*4]
sub ecx, edi
mov edi, dword [esp + 0x14]
add ecx, edi
mov edi, dword [esp + 0x28]
add ecx, edi
mov edi, dword [esp + 0x38]
lea edi, [edi + eax*2]
shl edi, 1
sar edi, 4
mov word [ebx], di
mov edi, dword [esp + 0x14]
sar ebp, 4
lea edi, [edi + esi*2]
mov word [ebx + 2], bp
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x3c], esi
shl edi, 1
sar edi, 4
mov word [ebp + ebx], di
mov edi, dword [esp + 0x78]
sar ecx, 4
mov word [edi + ebx], cx
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xac]
add ebx, 4
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
cmp edi, 1
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], esi
jle 0x1003d73e
dec edi
mov dword [esp + 0x4c], edi
jmp 0x1003d594
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x64]
mov eax, ecx
movsx ebp, word [ecx + 2]
mov ecx, dword [esp + 0x30]
sub eax, edi
movsx esi, word [edx + 2]
movsx eax, word [eax + 2]
movsx ecx, word [ecx + 2]
movsx edi, word [edx]
add ebp, eax
imul ecx, edi
imul ebp, esi
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xb0], ecx
add ebp, ecx
mov ecx, dword [esp + 0x10]
movsx edi, word [edi + 2]
sub ecx, esi
movsx esi, word [edx + 4]
imul esi, edi
movsx ecx, word [ecx + 2]
movsx edi, word [edx + 6]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x10]
shl ebp, 1
movsx esi, word [esi + 2]
add esi, ecx
imul esi, edi
mov edi, dword [esp + 0x60]
add esi, edi
mov edi, dword [esp + 0x10]
shl esi, 1
movsx edi, word [edi + 2]
mov dword [esp + 0x24], esi
lea edi, [edi + edi*2]
sub ecx, edi
movsx edi, word [edx + 6]
imul ecx, edi
mov edi, dword [esp + 0x60]
add ecx, edi
mov edi, dword [esp + 0x34]
shl ecx, 1
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
movsx ecx, word [ecx + 2]
lea ecx, [ecx + ecx*2]
sub eax, ecx
movsx ecx, word [edx + 2]
imul eax, ecx
mov ecx, dword [esp + 0xb0]
add eax, ecx
mov ecx, dword [esp + 0x44]
shl eax, 1
mov dword [esp + 0x1c], eax
lea eax, [ecx + edi]
lea ecx, [ecx + ecx*2]
add eax, dword [esp + 0x38]
shl ecx, 1
sub esi, ecx
mov ecx, dword [esp + 0x38]
add esi, edi
mov edi, dword [esp + 0x14]
add esi, ebp
add esi, ecx
mov ecx, dword [esp + 0x18]
add ecx, edi
mov edi, dword [esp + 0x3c]
add ecx, edi
mov edi, dword [esp + 0x1c]
shl ecx, 1
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x18]
shl eax, 1
lea ecx, [ecx + ecx*2]
shl ecx, 1
sub edi, ecx
mov ecx, dword [esp + 0x14]
add edi, ecx
mov ecx, dword [esp + 0x28]
add edi, ecx
mov ecx, dword [esp + 0x3c]
add ebx, 4
sar eax, 4
mov word [ebx - 4], ax
mov eax, dword [esp + 0x9c]
add edi, ecx
mov ecx, dword [esp + 0x78]
sar esi, 4
sar eax, 4
mov word [ebx - 2], si
mov word [ecx + ebx - 6], ax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ebp
sar edi, 4
mov word [ecx + ebx - 4], di
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x30]
add ecx, 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
add ecx, 2
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
add ecx, 2
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
add ecx, 2
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x4c]
dec ecx
mov dword [esp + 0x4c], ecx
jne 0x1003d590
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
add edi, eax
add edi, ebp
shl edi, 1
mov dword [esp + 0x98], edi
mov edi, esi
movsx esi, word [esi - 2]
sub edi, dword [esp + 0xa8]
mov dword [esp + 0x54], esi
movsx esi, word [edx + 6]
movsx edi, word [edi]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x40], edi
movsx esi, word [esi - 2]
movsx edi, word [edx + 4]
imul esi, edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x60], esi
mov esi, ecx
movsx ecx, word [ecx]
sub esi, edi
mov dword [esp + 0x50], ecx
movsx edi, word [edx + 2]
movsx ecx, word [edx]
mov edx, dword [esp + 0x30]
movsx esi, word [esi]
movsx edx, word [edx]
imul ecx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x50]
imul edx, dword [esp + 0x24]
add ecx, esi
imul ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x44]
lea ecx, [ecx + ecx*2]
sub edx, ecx
mov ecx, dword [esp + 0x60]
add edx, ecx
mov ecx, dword [esp + 0x5c]
add edx, ecx
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x14]
add eax, ebp
mov ebp, dword [esp + 0x18]
sar eax, 4
lea ecx, [edx + ebp]
mov edx, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [esp + 0x50]
shl ecx, 1
lea edx, [edx + edx*2]
mov word [ebx + 2], ax
sub esi, edx
mov edx, dword [esp + 0x54]
imul esi, edi
lea edx, [edx + edx*2]
mov eax, dword [esp + 0x94]
mov edi, edx
mov edx, dword [esp + 0x40]
sub edx, edi
mov edi, dword [esp + 0x5c]
imul edx, dword [esp + 0x24]
add esi, edx
lea edx, [ebp + ebp*2]
mov ebp, dword [esp + 0x60]
sub esi, edx
mov edx, dword [esp + 0x14]
add esi, ebp
add esi, edi
lea esi, [edx + esi*2]
mov edx, dword [esp + 0x3c]
add esi, edx
mov edx, dword [esp + 0x98]
sar edx, 4
mov word [ebx], dx
sar ecx, 4
mov word [eax + ebx], cx
mov ecx, dword [esp + 0x78]
sar esi, 4
mov word [ecx + ebx], si
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret