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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x8c
push ebx
push esi
push edi
cmp eax, 0x12
je 0x1006c1d9
cmp eax, 0x18
je 0x1006bf45
cmp eax, 0x24
mov eax, dword [ebp + 8]
jne 0x1006c578
xor ecx, ecx
mov dword [ebp - 0x50], ecx
cmp dword [ebp + 0x1c], ecx
jle 0x1006c578
mov dword [ebp - 0x4c], eax
mov edi, edi
mov eax, ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
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 + 0x14], ecx
movsx ecx, word [ebx + 0x22]
mov dword [ebp + 8], ecx
mov ecx, dword [edi + eax*4 + 0x4c]
add ecx, dword [edi + eax*4 + 0x40]
mov dword [ebp - 0x80], ecx
mov ecx, dword [edi + eax*4 + 0x50]
add ecx, dword [edi + eax*4 + 0x3c]
mov dword [ebp - 0x84], ecx
mov ecx, dword [edi + eax*4 + 0x54]
add ecx, dword [edi + eax*4 + 0x38]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x68], edx
mov edx, dword [ebp + 0xc]
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 - 0x70], 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 - 0x74], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0x18]
mov dword [ebp - 0x78], ecx
mov ecx, dword [edx + eax*4 + 0x60]
add ecx, dword [edx + eax*4 + 0x2c]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0x16]
mov dword [ebp - 0x58], ecx
mov ecx, dword [edx + eax*4 + 0x64]
add ecx, dword [edx + eax*4 + 0x28]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0x14]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edx + eax*4 + 0x68]
add ecx, dword [edx + eax*4 + 0x24]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0x12]
mov dword [ebp - 0x54], ecx
mov ecx, dword [edx + eax*4 + 0x6c]
add ecx, dword [edx + eax*4 + 0x20]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + eax*4 + 0x70]
add ecx, dword [edx + eax*4 + 0x1c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0xe]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + eax*4 + 0x74]
add ecx, dword [edx + eax*4 + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0xc]
mov dword [ebp - 4], ecx
mov ecx, dword [edx + eax*4 + 0x78]
add ecx, dword [edx + eax*4 + 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0xa]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + eax*4 + 0x7c]
add ecx, dword [edx + eax*4 + 0x10]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 8]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + eax*4 + 0x80]
add ecx, dword [edx + eax*4 + 0xc]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 6]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edx + eax*4 + 0x84]
add ecx, dword [edx + eax*4 + 8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 4]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + eax*4 + 0x88]
add ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 2]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edx + eax*4 + 0x8c]
add ecx, dword [edx + eax*4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 8]
movsx eax, word [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
movzx eax, ax
imul eax, ecx
sar eax, 0x10
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x80]
movzx eax, ax
imul eax, dword [ebp - 0x68]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x84]
movzx eax, ax
imul eax, esi
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x6c]
movzx eax, ax
imul eax, edi
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x70]
movzx eax, ax
imul eax, ebx
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x74]
movzx eax, ax
imul eax, dword [ebp - 0x78]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x7c]
movzx eax, ax
imul eax, dword [ebp - 0x58]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x5c]
movzx eax, ax
imul eax, dword [ebp - 0x60]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x64]
movzx eax, ax
imul eax, dword [ebp - 0x54]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 8]
movzx eax, ax
imul eax, dword [ebp - 0xc]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
movzx eax, ax
imul eax, dword [ebp - 0x14]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
movzx eax, ax
imul eax, dword [ebp - 4]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
movzx eax, ax
imul eax, dword [ebp - 0x20]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x24]
movzx eax, ax
imul eax, dword [ebp - 0x28]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x2c]
movzx eax, ax
imul eax, dword [ebp - 0x30]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x34]
movzx eax, ax
imul eax, dword [ebp - 0x38]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x3c]
movzx eax, ax
imul eax, dword [ebp - 0x40]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x44]
movzx eax, ax
imul eax, dword [ebp - 0x48]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp + 0x14]
sar eax, 0x10
imul eax, ecx
mov ecx, dword [ebp + 8]
add ecx, eax
mov eax, dword [ebp - 0x80]
sar eax, 0x10
imul eax, dword [ebp - 0x68]
add ecx, eax
mov eax, dword [ebp - 0x84]
sar eax, 0x10
imul eax, esi
add ecx, eax
mov eax, dword [ebp - 0x6c]
sar eax, 0x10
imul eax, edi
add ecx, eax
mov eax, dword [ebp - 0x70]
sar eax, 0x10
imul eax, ebx
add ecx, eax
mov eax, dword [ebp - 0x74]
sar eax, 0x10
imul eax, dword [ebp - 0x78]
add ecx, eax
mov eax, dword [ebp - 0x7c]
sar eax, 0x10
imul eax, dword [ebp - 0x58]
add ecx, eax
mov eax, dword [ebp - 0x5c]
sar eax, 0x10
imul eax, dword [ebp - 0x60]
add ecx, eax
mov eax, dword [ebp - 0x64]
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 - 4]
add ecx, eax
mov eax, dword [ebp - 0x1c]
sar eax, 0x10
imul eax, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x24]
sar eax, 0x10
imul eax, dword [ebp - 0x28]
add ecx, eax
mov eax, dword [ebp - 0x2c]
sar eax, 0x10
imul eax, dword [ebp - 0x30]
add ecx, eax
mov eax, dword [ebp - 0x34]
sar eax, 0x10
imul eax, dword [ebp - 0x38]
add ecx, eax
mov eax, dword [ebp - 0x3c]
sar eax, 0x10
imul eax, dword [ebp - 0x40]
add ecx, eax
mov eax, dword [ebp - 0x44]
sar eax, 0x10
imul eax, dword [ebp - 0x48]
add ecx, eax
sar ecx, 5
inc ecx
sar ecx, 1
cmp ecx, 0x7fff
jle 0x1006bf13
mov ecx, 0x7fff
jmp 0x1006bf20
cmp ecx, 0xffff8000
jge 0x1006bf20
mov ecx, 0xffff8000
mov eax, dword [ebp - 0x4c]
mov word [eax], cx
add eax, 2
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
cmp ecx, dword [ebp + 0x1c]
jl 0x1006bb80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x1c], eax
jle 0x1006c575
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea esp, [esp]
mov edi, dword [ebp + 0xc]
sar eax, 0x10
mov ebx, dword [ebp + 0x10]
mov ecx, dword [edi + eax*4 + 0x30]
add ecx, dword [edi + eax*4 + 0x2c]
mov dword [ebp + 8], ecx
mov ecx, dword [edi + eax*4 + 0x34]
add ecx, dword [edi + eax*4 + 0x28]
mov dword [ebp + 0x14], ecx
mov ecx, dword [edi + eax*4 + 0x38]
add ecx, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0x50], ecx
movsx edx, word [ebx + 0x16]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x68], edx
mov edx, dword [ebp + 0xc]
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 - 0x4c], 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 - 0x48], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0xe]
mov dword [ebp - 0x44], ecx
mov ecx, dword [edx + eax*4 + 0x44]
add ecx, dword [edx + eax*4 + 0x18]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0xc]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + eax*4 + 0x48]
add ecx, dword [edx + eax*4 + 0x14]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 0xa]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edx + eax*4 + 0x4c]
add ecx, dword [edx + eax*4 + 0x10]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 8]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + eax*4 + 0x50]
add ecx, dword [edx + eax*4 + 0xc]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 6]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + eax*4 + 0x54]
add ecx, dword [edx + eax*4 + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + eax*4 + 0x58]
add ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
movsx ecx, word [ecx + 2]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + eax*4 + 0x5c]
add ecx, dword [edx + eax*4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x14]
movzx ecx, cx
movsx eax, word [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
movzx eax, ax
imul eax, dword [ebp - 0x68]
imul ecx, esi
sar eax, 0x10
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x50]
movzx ecx, cx
imul ecx, edi
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x4c]
movzx ecx, cx
imul ecx, ebx
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x48]
movzx ecx, cx
imul ecx, dword [ebp - 0x44]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, cx
imul ecx, dword [ebp - 0x3c]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, cx
imul ecx, dword [ebp - 0x34]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, cx
imul ecx, dword [ebp - 0x2c]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, cx
imul ecx, dword [ebp - 0x24]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, cx
imul ecx, dword [ebp - 0x1c]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 4]
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 + 8]
sar ecx, 0x10
imul ecx, dword [ebp - 0x68]
add eax, ecx
mov ecx, dword [ebp + 0x14]
sar ecx, 0x10
imul ecx, esi
add eax, ecx
mov ecx, dword [ebp - 0x50]
sar ecx, 0x10
imul ecx, edi
add eax, ecx
mov ecx, dword [ebp - 0x4c]
sar ecx, 0x10
imul ecx, ebx
add eax, ecx
mov ecx, dword [ebp - 0x48]
sar ecx, 0x10
imul ecx, dword [ebp - 0x44]
add eax, ecx
mov ecx, dword [ebp - 0x40]
sar ecx, 0x10
imul ecx, dword [ebp - 0x3c]
add eax, ecx
mov ecx, dword [ebp - 0x38]
sar ecx, 0x10
imul ecx, dword [ebp - 0x34]
add eax, ecx
mov ecx, dword [ebp - 0x30]
sar ecx, 0x10
imul ecx, dword [ebp - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x28]
sar ecx, 0x10
imul ecx, dword [ebp - 0x24]
add eax, ecx
mov ecx, dword [ebp - 0x20]
sar ecx, 0x10
imul ecx, dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp - 4]
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
sar eax, 5
inc eax
sar eax, 1
cmp eax, 0x7fff
jle 0x1006c1a6
mov eax, 0x7fff
jmp 0x1006c1b2
cmp eax, 0xffff8000
jge 0x1006c1b2
mov eax, 0xffff8000
mov ecx, dword [ebp - 0xc]
mov word [ecx], ax
add ecx, 2
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
cmp eax, dword [ebp + 0x1c]
jl 0x1006bf60
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 0x58], ecx
cmp dword [ebp + 0x1c], ecx
jle 0x1006c575
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
movsx ebx, si
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x5c], eax
lea esp, [esp]
mov edi, dword [ebp + 0x10]
mov eax, ecx
mov edx, dword [ebp + 0xc]
movzx ecx, cx
imul ecx, ebx
sar eax, 0x10
lea edx, [edx + eax*4]
sar ecx, 0x10
sub esi, ecx
dec esi
lea eax, [ecx + ecx*8]
mov ecx, dword [ebp + 0x10]
movsx ebx, word [edi + eax*2 + 0x10]
mov dword [ebp + 0x14], ebx
mov ebx, dword [edx + 0x20]
mov dword [ebp - 0x78], ebx
movsx ebx, word [edi + eax*2 + 0xe]
mov dword [ebp - 0x50], ebx
mov ebx, dword [edx + 0x1c]
mov dword [ebp - 0x74], ebx
movsx ebx, word [edi + eax*2 + 0xc]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [edx + 0x18]
mov dword [ebp - 0x70], ebx
movsx ebx, word [edi + eax*2 + 0xa]
mov dword [ebp - 0x48], ebx
mov ebx, dword [edx + 0x14]
mov dword [ebp - 0x6c], ebx
movsx ebx, word [edi + eax*2 + 8]
mov dword [ebp - 0x44], ebx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0x84], ebx
movsx ebx, word [edi + eax*2 + 6]
mov dword [ebp - 0x40], ebx
mov ebx, dword [edx + 0xc]
mov dword [ebp - 0x80], ebx
movsx ebx, word [edi + eax*2 + 4]
mov dword [ebp - 0x38], ebx
mov ebx, dword [edx + 8]
mov dword [ebp - 0x3c], ebx
movsx ebx, word [edi + eax*2 + 2]
movsx eax, word [edi + eax*2]
mov dword [ebp - 0x28], eax
lea eax, [esi + esi*8]
movsx edi, word [edi + eax*2 + 4]
mov dword [ebp - 0x68], edi
mov edi, dword [edx + 0x38]
mov dword [ebp - 0x64], edi
mov edi, dword [ebp + 0x10]
movsx ecx, word [ecx + eax*2 + 2]
mov esi, dword [edx + 0x40]
mov dword [ebp + 8], ecx
movsx edi, word [edi + eax*2 + 6]
mov dword [ebp - 0x60], edi
mov edi, dword [edx + 0x34]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [edx + 4]
movsx edi, word [edi + eax*2 + 8]
mov dword [ebp - 0x14], edi
mov edi, dword [edx + 0x30]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x34], ebx
mov ebx, dword [edx]
mov dword [ebp - 0x2c], ebx
movsx edi, word [edi + eax*2 + 0xa]
mov ebx, dword [edx + 0x3c]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 0x10]
movsx edi, word [edi + eax*2 + 0xc]
mov dword [ebp - 0x7c], edi
mov edi, dword [edx + 0x2c]
mov dword [ebp - 0x88], edi
movsx edi, word [ecx + eax*2 + 0xe]
mov dword [ebp - 0x54], edi
mov edi, dword [edx + 0x28]
mov dword [ebp - 8], edi
mov edi, ecx
movsx edi, word [edi + eax*2 + 0x10]
mov dword [ebp - 0xc], edi
mov edi, dword [edx + 0x24]
mov dword [ebp - 0x10], edi
mov edi, dword [edx + 0x44]
mov dword [ebp - 0x1c], edi
mov edi, ecx
mov ecx, dword [ebp + 8]
movsx eax, word [edi + eax*2]
mov dword [ebp - 4], eax
movzx eax, si
imul eax, ecx
sar eax, 0x10
mov dword [ebp + 8], eax
movzx eax, bx
imul eax, dword [ebp - 0x68]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [edx + 0x20]
movzx eax, ax
imul eax, dword [ebp + 0x14]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [edx + 0x1c]
movzx eax, ax
imul eax, dword [ebp - 0x50]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [edx + 0x18]
movzx eax, ax
imul eax, dword [ebp - 0x4c]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [edx + 0x14]
movzx eax, ax
imul eax, dword [ebp - 0x48]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [edx + 0x10]
movzx eax, ax
imul eax, dword [ebp - 0x44]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [edx + 0xc]
movzx eax, ax
imul eax, dword [ebp - 0x40]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [edx + 0x2c]
movzx eax, ax
imul eax, dword [ebp - 0x7c]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x3c]
movzx eax, ax
imul eax, dword [ebp - 0x38]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x34]
movzx eax, ax
imul eax, dword [ebp - 0x30]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x2c]
movzx eax, ax
imul eax, dword [ebp - 0x28]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x24]
movzx eax, ax
imul eax, dword [ebp - 0x20]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
movzx eax, ax
imul eax, dword [ebp - 4]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
movzx eax, ax
imul eax, dword [ebp - 0x14]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
movzx eax, ax
imul eax, dword [ebp - 0xc]
sar esi, 0x10
imul esi, ecx
sar ebx, 0x10
imul ebx, dword [ebp - 0x68]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 8]
movzx eax, ax
imul eax, dword [ebp - 0x54]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x64]
movzx eax, ax
imul eax, dword [ebp - 0x60]
sar eax, 0x10
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x78]
sar eax, 0x10
imul eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
add ecx, esi
add ecx, ebx
add ecx, eax
mov eax, dword [ebp - 0x74]
sar eax, 0x10
imul eax, dword [ebp - 0x50]
add ecx, eax
mov eax, dword [ebp - 0x70]
sar eax, 0x10
imul eax, dword [ebp - 0x4c]
add ecx, eax
mov eax, dword [ebp - 0x6c]
sar eax, 0x10
imul eax, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 0x84]
sar eax, 0x10
imul eax, dword [ebp - 0x44]
add ecx, eax
mov eax, dword [ebp - 0x80]
sar eax, 0x10
imul eax, dword [ebp - 0x40]
add ecx, eax
mov eax, dword [ebp - 0x88]
sar eax, 0x10
imul eax, dword [ebp - 0x7c]
add ecx, eax
mov eax, dword [ebp - 0x3c]
sar eax, 0x10
imul eax, dword [ebp - 0x38]
add ecx, eax
mov eax, dword [ebp - 0x34]
sar eax, 0x10
imul eax, dword [ebp - 0x30]
add ecx, eax
mov eax, dword [ebp - 0x2c]
sar eax, 0x10
imul eax, dword [ebp - 0x28]
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 - 4]
add ecx, eax
mov eax, dword [ebp - 0x18]
sar eax, 0x10
imul eax, dword [ebp - 0x14]
add ecx, eax
mov eax, dword [ebp - 0x10]
sar eax, 0x10
imul eax, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 8]
sar eax, 0x10
imul eax, dword [ebp - 0x54]
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 0x1006c53a
mov ecx, 0x7fff
jmp 0x1006c547
cmp ecx, 0xffff8000
jge 0x1006c547
mov ecx, 0xffff8000
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x8c]
mov word [eax], cx
add eax, 2
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
cmp ecx, dword [ebp + 0x1c]
jl 0x1006c200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret