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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], edi
cmp eax, 0x12
je 0x464d0f
cmp eax, 0x18
je 0x464a88
cmp eax, 0x24
jne 0x464d06
xor edx, edx
mov dword [ebp - 0x38], edx
cmp dword [ebp + 0x14], edx
jle 0x464d06
mov ebx, dword [ebp + 8]
mov eax, edx
sar eax, 0x10
movsx edx, word [ebx + 0x20]
mov ecx, dword [edi + eax*4 + 0x48]
add ecx, dword [edi + eax*4 + 0x44]
mov dword [ebp - 0x78], ecx
movsx ecx, word [ebx + 0x22]
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi + eax*4 + 0x4c]
add ecx, dword [edi + eax*4 + 0x40]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [edi + eax*4 + 0x50]
add ecx, dword [edi + eax*4 + 0x3c]
mov dword [ebp - 0x80], ecx
mov ecx, dword [edi + eax*4 + 0x54]
add ecx, dword [edi + eax*4 + 0x38]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 4]
movsx esi, word [ebx + 0x1e]
mov ecx, dword [ecx + eax*4 + 0x58]
movsx edi, word [ebx + 0x1c]
add ecx, dword [edx + eax*4 + 0x34]
mov dword [ebp - 0x88], ecx
mov ecx, edx
movsx ebx, word [ebx + 0x1a]
mov ecx, dword [ecx + eax*4 + 0x5c]
add ecx, dword [edx + eax*4 + 0x30]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0x18]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [edx + eax*4 + 0x60]
add ecx, dword [edx + eax*4 + 0x2c]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0x16]
mov dword [ebp - 0x64], ecx
mov ecx, dword [edx + eax*4 + 0x64]
add ecx, dword [edx + eax*4 + 0x28]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0x14]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edx + eax*4 + 0x68]
add ecx, dword [edx + eax*4 + 0x24]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0x12]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + eax*4 + 0x6c]
add ecx, dword [edx + eax*4 + 0x20]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0x10]
mov dword [ebp - 0x44], ecx
mov ecx, dword [edx + eax*4 + 0x70]
add ecx, dword [edx + eax*4 + 0x1c]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0xe]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [edx + eax*4 + 0x74]
add ecx, dword [edx + eax*4 + 0x18]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0xc]
mov dword [ebp - 0x54], ecx
mov ecx, dword [edx + eax*4 + 0x78]
add ecx, dword [edx + eax*4 + 0x14]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0xa]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + eax*4 + 0x7c]
add ecx, dword [edx + eax*4 + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + eax*4 + 0x80]
add ecx, dword [edx + eax*4 + 0xc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 6]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + eax*4 + 0x84]
add ecx, dword [edx + eax*4 + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + eax*4 + 0x88]
add ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 2]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + eax*4 + 0x8c]
add ecx, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0xc]
movsx eax, word [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x78]
movzx eax, ax
imul eax, ecx
sar eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x7c]
movzx eax, ax
imul eax, dword [ebp - 0x74]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x80]
movzx eax, ax
imul eax, esi
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x84]
movzx eax, ax
imul eax, edi
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x88]
movzx eax, ax
imul eax, ebx
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x8c]
movzx eax, ax
imul eax, dword [ebp - 0x5c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x60]
movzx eax, ax
imul eax, dword [ebp - 0x64]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x68]
movzx eax, ax
imul eax, dword [ebp - 0x6c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x70]
movzx eax, ax
imul eax, dword [ebp - 0x3c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x40]
movzx eax, ax
imul eax, dword [ebp - 0x44]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x48]
movzx eax, ax
imul eax, dword [ebp - 0x4c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x50]
movzx eax, ax
imul eax, dword [ebp - 0x54]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, ax
imul eax, dword [ebp - 0xc]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x10]
movzx eax, ax
imul eax, dword [ebp - 0x14]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x18]
movzx eax, ax
imul eax, dword [ebp - 0x1c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x20]
movzx eax, ax
imul eax, dword [ebp - 0x24]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x28]
movzx eax, ax
imul eax, dword [ebp - 0x2c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x30]
movzx eax, ax
imul eax, dword [ebp - 0x34]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x78]
sar eax, 0x10
imul eax, ecx
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov eax, dword [ebp - 0x7c]
sar eax, 0x10
imul eax, dword [ebp - 0x74]
add ecx, eax
mov eax, dword [ebp - 0x80]
sar eax, 0x10
imul eax, esi
add ecx, eax
mov eax, dword [ebp - 0x84]
sar eax, 0x10
imul eax, edi
add ecx, eax
mov eax, dword [ebp - 0x88]
sar eax, 0x10
imul eax, ebx
add ecx, eax
mov eax, dword [ebp - 0x8c]
sar eax, 0x10
imul eax, dword [ebp - 0x5c]
add ecx, eax
mov eax, dword [ebp - 0x60]
sar eax, 0x10
imul eax, dword [ebp - 0x64]
add ecx, eax
mov eax, dword [ebp - 0x68]
sar eax, 0x10
imul eax, dword [ebp - 0x6c]
add ecx, eax
mov eax, dword [ebp - 0x70]
sar eax, 0x10
imul eax, dword [ebp - 0x3c]
add ecx, eax
mov eax, dword [ebp - 0x40]
sar eax, 0x10
imul eax, dword [ebp - 0x44]
add ecx, eax
mov eax, dword [ebp - 0x48]
sar eax, 0x10
imul eax, dword [ebp - 0x4c]
add ecx, eax
mov eax, dword [ebp - 0x50]
sar eax, 0x10
imul eax, dword [ebp - 0x54]
add ecx, eax
mov eax, dword [ebp - 8]
sar eax, 0x10
imul eax, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0x10]
sar eax, 0x10
imul eax, dword [ebp - 0x14]
add ecx, eax
mov eax, dword [ebp - 0x18]
sar eax, 0x10
imul eax, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 0x20]
sar eax, 0x10
imul eax, dword [ebp - 0x24]
add ecx, eax
mov eax, dword [ebp - 0x28]
sar eax, 0x10
imul eax, dword [ebp - 0x2c]
add ecx, eax
mov eax, dword [ebp - 0x30]
sar eax, 0x10
imul eax, dword [ebp - 0x34]
add ecx, eax
sar ecx, 5
inc ecx
sar ecx, 1
cmp ecx, 0x7fff
jle 0x464a52
mov ecx, 0x7fff
jmp 0x464a60
cmp ecx, 0xffff8000
mov eax, 0xffff8000
cmovl ecx, eax
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x38]
add edx, dword [ebp + 0x18]
mov edi, dword [ebp - 4]
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], edx
cmp edx, dword [ebp + 0x14]
jl 0x4646b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x14], eax
jle 0x464d06
sar eax, 0x10
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + eax*4 + 0x30]
add ecx, dword [edi + eax*4 + 0x2c]
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi + eax*4 + 0x34]
add ecx, dword [edi + eax*4 + 0x28]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi + eax*4 + 0x38]
add ecx, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0x34], ecx
movsx edx, word [ebx + 0x16]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 4]
movsx esi, word [ebx + 0x14]
mov ecx, dword [ecx + eax*4 + 0x3c]
movsx edi, word [ebx + 0x12]
add ecx, dword [edx + eax*4 + 0x20]
mov dword [ebp - 0x30], ecx
mov ecx, edx
movsx ebx, word [ebx + 0x10]
mov ecx, dword [ecx + eax*4 + 0x40]
add ecx, dword [edx + eax*4 + 0x1c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0xe]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + eax*4 + 0x44]
add ecx, dword [edx + eax*4 + 0x18]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + eax*4 + 0x48]
add ecx, dword [edx + eax*4 + 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 0xa]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + eax*4 + 0x4c]
add ecx, dword [edx + eax*4 + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx + eax*4 + 0x50]
add ecx, dword [edx + eax*4 + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 6]
mov dword [ebp - 8], ecx
mov ecx, dword [edx + eax*4 + 0x54]
add ecx, dword [edx + eax*4 + 8]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 4]
mov dword [ebp - 0x50], ecx
mov ecx, dword [edx + eax*4 + 0x58]
add ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx + 2]
mov dword [ebp - 0x48], ecx
mov ecx, dword [edx + eax*4 + 0x5c]
add ecx, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, cx
movsx eax, word [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
movzx eax, ax
imul eax, dword [ebp - 0x74]
imul ecx, esi
sar eax, 0x10
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, cx
imul ecx, edi
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, cx
imul ecx, ebx
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, cx
imul ecx, dword [ebp - 0x28]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, cx
imul ecx, dword [ebp - 0x20]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, cx
imul ecx, dword [ebp - 0x18]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, cx
imul ecx, dword [ebp - 0x10]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0xc]
movzx ecx, cx
imul ecx, dword [ebp - 8]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x54]
movzx ecx, cx
imul ecx, dword [ebp - 0x50]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x4c]
movzx ecx, cx
imul ecx, dword [ebp - 0x48]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x44]
movzx ecx, cx
imul ecx, dword [ebp - 0x40]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp + 0xc]
sar ecx, 0x10
imul ecx, dword [ebp - 0x74]
add eax, ecx
mov ecx, dword [ebp - 0x38]
sar ecx, 0x10
imul ecx, esi
add eax, ecx
mov ecx, dword [ebp - 0x34]
sar ecx, 0x10
imul ecx, edi
add eax, ecx
mov ecx, dword [ebp - 0x30]
sar ecx, 0x10
imul ecx, ebx
add eax, ecx
mov ecx, dword [ebp - 0x2c]
sar ecx, 0x10
imul ecx, dword [ebp - 0x28]
add eax, ecx
mov ecx, dword [ebp - 0x24]
sar ecx, 0x10
imul ecx, dword [ebp - 0x20]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
sar ecx, 0x10
imul ecx, dword [ebp - 0x18]
add eax, ecx
mov ecx, dword [ebp - 0x14]
sar ecx, 0x10
imul ecx, dword [ebp - 0x10]
add eax, ecx
mov ecx, dword [ebp - 0xc]
sar ecx, 0x10
imul ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 0x54]
sar ecx, 0x10
imul ecx, dword [ebp - 0x50]
add eax, ecx
mov ecx, dword [ebp - 0x4c]
sar ecx, 0x10
imul ecx, dword [ebp - 0x48]
add eax, ecx
mov ecx, dword [ebp - 0x44]
sar ecx, 0x10
imul ecx, dword [ebp - 0x40]
add eax, ecx
sar eax, 5
inc eax
sar eax, 1
cmp eax, 0x7fff
jle 0x464cd9
mov eax, 0x7fff
jmp 0x464ce6
cmp eax, 0xffff8000
mov ecx, 0xffff8000
cmovl eax, ecx
mov ecx, dword [ebp - 0x58]
mov edi, edx
mov word [ecx], ax
add ecx, 2
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x3c], eax
cmp eax, dword [ebp + 0x14]
jl 0x464a96
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
cmp dword [ebp + 0x14], ebx
jle 0x464d06
mov esi, dword [ebp + 0x10]
movsx eax, si
mov dword [ebp - 0x74], eax
movzx ecx, bx
mov eax, ebx
imul ecx, dword [ebp - 0x74]
sar eax, 0x10
lea edx, [edi + eax*4]
mov edi, dword [ebp + 8]
sar ecx, 0x10
sub esi, ecx
dec esi
lea eax, [ecx + ecx*8]
mov ecx, dword [edx + 0x3c]
movsx ebx, word [edi + eax*2 + 0x10]
mov dword [ebp - 0x38], ebx
mov ebx, dword [edx + 0x20]
mov dword [ebp - 0x84], ebx
movsx ebx, word [edi + eax*2 + 0xe]
mov dword [ebp - 0x34], ebx
mov ebx, dword [edx + 0x1c]
mov dword [ebp - 0x80], ebx
movsx ebx, word [edi + eax*2 + 0xc]
mov dword [ebp - 0x30], ebx
mov ebx, dword [edx + 0x18]
mov dword [ebp - 0x7c], ebx
movsx ebx, word [edi + eax*2 + 0xa]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [edx + 0x14]
mov dword [ebp - 0x78], ebx
movsx ebx, word [edi + eax*2 + 8]
mov dword [ebp - 0x28], ebx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0x90], ebx
movsx ebx, word [edi + eax*2 + 6]
mov dword [ebp - 0x20], ebx
mov ebx, dword [edx + 0xc]
mov dword [ebp - 0x24], ebx
movsx ebx, word [edi + eax*2 + 4]
mov dword [ebp - 0x18], ebx
mov ebx, dword [edx + 8]
mov dword [ebp - 0x1c], ebx
movsx ebx, word [edi + eax*2 + 2]
movsx eax, word [edi + eax*2]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 8], eax
lea eax, [esi + esi*8]
movsx ecx, word [edi + eax*2 + 4]
movsx edi, word [edi + eax*2 + 2]
mov dword [ebp - 0x8c], edi
mov edi, dword [edx + 0x34]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp + 8]
mov esi, dword [edx + 0x38]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp + 8]
movsx edi, word [edi + eax*2 + 8]
mov dword [ebp - 0x70], edi
mov edi, dword [edx + 0x30]
movsx ecx, word [ecx + eax*2 + 6]
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
movsx edi, word [edi + eax*2 + 0xa]
mov ebx, dword [edx + 4]
mov dword [ebp - 0x48], edi
mov edi, dword [edx + 0x2c]
mov dword [ebp - 0x54], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [edx]
mov dword [ebp - 0xc], ebx
movsx edi, word [edi + eax*2 + 0xc]
mov ebx, dword [edx + 0x40]
mov dword [ebp - 0x50], edi
movsx edi, word [ecx + eax*2 + 0xe]
mov dword [ebp - 0x60], edi
mov edi, dword [edx + 0x28]
mov dword [ebp - 0x64], edi
mov edi, ecx
movsx edi, word [edi + eax*2 + 0x10]
mov dword [ebp - 0x68], edi
mov edi, dword [edx + 0x24]
mov dword [ebp - 0x6c], edi
mov edi, dword [edx + 0x44]
mov dword [ebp - 0x44], edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
movsx eax, word [edi + eax*2]
mov dword [ebp - 0x40], eax
movzx eax, si
imul eax, ecx
sar eax, 0x10
mov dword [ebp + 0xc], eax
movzx eax, bx
imul eax, dword [ebp - 0x8c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [edx + 0x20]
movzx eax, ax
imul eax, dword [ebp - 0x38]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [edx + 0x1c]
movzx eax, ax
imul eax, dword [ebp - 0x34]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [edx + 0x18]
movzx eax, ax
imul eax, dword [ebp - 0x30]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [edx + 0x14]
movzx eax, ax
imul eax, dword [ebp - 0x2c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [edx + 0x10]
movzx eax, ax
imul eax, dword [ebp - 0x28]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [edx + 0x3c]
movzx eax, ax
imul eax, dword [ebp - 0x88]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x24]
movzx eax, ax
imul eax, dword [ebp - 0x20]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x1c]
movzx eax, ax
imul eax, dword [ebp - 0x18]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x14]
movzx eax, ax
imul eax, dword [ebp - 0x10]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, ax
imul eax, dword [ebp - 8]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x54]
movzx eax, ax
imul eax, dword [ebp - 0x50]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x4c]
movzx eax, ax
imul eax, dword [ebp - 0x48]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x44]
movzx eax, ax
imul eax, dword [ebp - 0x40]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x3c]
movzx eax, ax
imul eax, dword [ebp - 0x70]
sar esi, 0x10
imul esi, ecx
sar ebx, 0x10
imul ebx, dword [ebp - 0x8c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x6c]
movzx eax, ax
imul eax, dword [ebp - 0x68]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x64]
movzx eax, ax
imul eax, dword [ebp - 0x60]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x84]
sar eax, 0x10
imul eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
add ecx, esi
add ecx, ebx
add ecx, eax
mov eax, dword [ebp - 0x80]
sar eax, 0x10
imul eax, dword [ebp - 0x34]
add ecx, eax
mov eax, dword [ebp - 0x7c]
sar eax, 0x10
imul eax, dword [ebp - 0x30]
add ecx, eax
mov eax, dword [ebp - 0x78]
sar eax, 0x10
imul eax, dword [ebp - 0x2c]
add ecx, eax
mov eax, dword [ebp - 0x90]
sar eax, 0x10
imul eax, dword [ebp - 0x28]
add ecx, eax
mov eax, dword [ebp - 0x94]
sar eax, 0x10
imul eax, dword [ebp - 0x88]
add ecx, eax
mov eax, dword [ebp - 0x24]
sar eax, 0x10
imul eax, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x1c]
sar eax, 0x10
imul eax, dword [ebp - 0x18]
add ecx, eax
mov eax, dword [ebp - 0x14]
sar eax, 0x10
imul eax, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [ebp - 0xc]
sar eax, 0x10
imul eax, dword [ebp - 8]
add ecx, eax
mov eax, dword [ebp - 0x54]
sar eax, 0x10
imul eax, dword [ebp - 0x50]
add ecx, eax
mov eax, dword [ebp - 0x4c]
sar eax, 0x10
imul eax, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 0x44]
sar eax, 0x10
imul eax, dword [ebp - 0x40]
add ecx, eax
mov eax, dword [ebp - 0x3c]
sar eax, 0x10
imul eax, dword [ebp - 0x70]
add ecx, eax
mov eax, dword [ebp - 0x6c]
sar eax, 0x10
imul eax, dword [ebp - 0x68]
add ecx, eax
mov eax, dword [ebp - 0x64]
sar eax, 0x10
imul eax, dword [ebp - 0x60]
add ecx, eax
sar ecx, 5
inc ecx
sar ecx, 1
cmp ecx, 0x7fff
jle 0x46506f
mov ecx, 0x7fff
jmp 0x46507d
cmp ecx, 0xffff8000
mov eax, 0xffff8000
cmovl ecx, eax
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x5c]
add ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp - 4]
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ebx
cmp ebx, dword [ebp + 0x14]
jl 0x464d22
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret