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

Disassembly:
sub esp, 0x64
fld dword [0x498930]
push ebp
fidiv dword [esp + 0x6c]
mov ebp, dword [esp + 0x74]
push esi
push edi
mov esi, eax
mov edi, ecx
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
call sub.MSVCRT.dll__CIcos
fstp dword [esp + 0x58]
fld dword [esp + 0x50]
call sub.MSVCRT.dll__CIsin
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
lea eax, [ecx + 1]
sar eax, 1
mov dword [esp + 0x14], eax
lea eax, [ebx - 1]
sar eax, 1
mov dword [esp + 0x50], eax
mov eax, ebx
imul eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, ebx
imul eax, ecx
mov dword [esp + 0x20], eax
cmp ebx, 1
je 0x421b5a
xor edx, edx
cmp ebp, 4
jl 0x42144f
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
lea ecx, [edx + 0xc]
sub edx, dword [esp + 0x88]
add eax, 4
mov dword [esp + 0x44], edx
lea edx, [ebp - 4]
shr edx, 2
inc edx
mov dword [esp + 0x4c], edx
add edx, edx
add edx, edx
mov dword [esp + 0x40], edx
fld dword [ecx - 0xc]
mov edx, dword [esp + 0x44]
fstp dword [eax - 4]
add eax, 0x10
fld dword [edx + eax - 0x10]
add ecx, 0x10
dec dword [esp + 0x4c]
fstp dword [eax - 0x10]
fld dword [ecx - 0x14]
fstp dword [eax - 0xc]
fld dword [ecx - 0x10]
fstp dword [eax - 8]
jne 0x421422
mov edx, dword [esp + 0x40]
cmp edx, ebp
jge 0x421483
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x44], ecx
mov ecx, ebp
lea eax, [eax + edx*4]
sub ecx, edx
mov edx, dword [esp + 0x44]
fld dword [eax + edx]
add eax, 4
dec ecx
fstp dword [eax - 4]
jne 0x421477
mov ecx, dword [esp + 0x74]
xor eax, eax
cmp ecx, 1
jle 0x421535
dec ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x78]
jmp 0x4214a4
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
cmp ecx, 4
jl 0x4214f7
lea edx, [ecx - 4]
shr edx, 2
inc edx
lea ecx, [edx*4]
mov dword [esp + 0xc], ecx
jmp 0x4214d0
fld dword [edi + eax*4]
fstp dword [esi + eax*4]
add eax, ebx
fld dword [edi + eax*4]
fstp dword [esi + eax*4]
add eax, ebx
fld dword [edi + eax*4]
fstp dword [esi + eax*4]
add eax, ebx
fld dword [edi + eax*4]
fstp dword [esi + eax*4]
add eax, ebx
dec edx
jne 0x4214d0
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0xc], ecx
jge 0x421529
mov edx, edi
sub edx, esi
sub ecx, dword [esp + 0xc]
lea eax, [esi + eax*4]
mov dword [esp + 0x24], edx
jmp 0x421514
mov edx, dword [esp + 0x24]
fld dword [edx + eax]
lea edx, [ebx*4]
fstp dword [eax]
add eax, edx
dec ecx
jne 0x421510
mov ecx, dword [esp + 0x78]
dec dword [esp + 0x4c]
jne 0x4214a0
jmp 0x421539
mov ecx, dword [esp + 0x78]
mov eax, ebx
neg eax
xor edx, edx
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x50], ecx
jle 0x42164a
cmp dword [esp + 0x74], 1
jle 0x42181f
mov edx, dword [esp + 0x8c]
lea eax, [edx + eax*4 - 4]
mov dword [esp + 0x44], eax
lea ecx, [ebx*4]
mov edx, esi
mov eax, edi
sub eax, ecx
sub edx, ecx
mov ecx, dword [esp + 0x74]
sub eax, 4
dec ecx
mov dword [esp + 0x34], ecx
jmp 0x421588
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
add ecx, ecx
add ecx, ecx
add edx, ecx
add eax, ecx
lea ecx, [ebx*4]
add dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x60], eax
test ecx, ecx
jle 0x42163b
mov dword [esp + 0x38], ecx
jmp 0x4215c0
lea ecx, [ebx*4]
add edx, ecx
add eax, ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], eax
cmp ebx, 2
jle 0x421631
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, esi
sub edx, edi
mov dword [esp + 0x3c], edx
lea edx, [ebx - 3]
shr edx, 1
inc edx
mov dword [esp + 0x48], edx
fld dword [eax + 0xc]
mov edx, dword [esp + 0x3c]
fmul dword [ecx + 8]
add dword [esp + 0x40], 8
fld dword [ecx + 4]
add eax, 8
fmul dword [eax]
add ecx, 8
dec dword [esp + 0x48]
faddp st(1)
fstp dword [eax + edx]
mov edx, dword [esp + 0x40]
fld dword [eax + 4]
fmul dword [ecx - 4]
fld dword [ecx]
fmul dword [eax]
fsubp st(1)
fstp dword [edx]
jne 0x4215f2
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
dec dword [esp + 0x38]
jne 0x4215c0
mov eax, dword [esp + 0x60]
dec dword [esp + 0x34]
jne 0x421584
jmp 0x42181f
cmp dword [esp + 0x74], 1
jle 0x42181f
lea ecx, [eax - 1]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x8c]
lea ecx, [ecx + eax*4 - 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x74]
dec ecx
mov dword [esp + 0x30], ecx
jmp 0x421688
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
add edx, dword [esp + 0x1c]
add dword [esp + 0x44], ebx
add eax, ebx
mov dword [esp + 0x4c], eax
lea eax, [ebx*4]
add dword [esp + 0x40], eax
mov dword [esp + 0x10], edx
cmp ebx, 2
jle 0x421815
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
lea ecx, [edx + eax + 1]
mov edx, dword [esp + 0x78]
lea eax, [ebx - 3]
shr eax, 1
inc eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
add eax, 2
add ecx, 8
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], 0
cmp edx, 4
jl 0x4217af
add edx, 0xfffffffc
shr edx, 2
inc edx
mov dword [esp + 0x6c], edx
add edx, edx
add edx, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x6c]
lea ebx, [ebx]
fld dword [edi + eax*4 - 4]
fmul dword [ecx - 4]
fld dword [edi + eax*4]
fmul dword [ecx]
faddp st(1)
fstp dword [esi + eax*4 - 4]
fld dword [edi + eax*4]
fmul dword [ecx - 4]
fld dword [edi + eax*4 - 4]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi + eax*4]
add eax, ebx
fld dword [edi + eax*4 - 4]
fmul dword [ecx - 4]
fld dword [edi + eax*4]
fmul dword [ecx]
faddp st(1)
fstp dword [esi + eax*4 - 4]
fld dword [edi + eax*4]
fmul dword [ecx - 4]
fld dword [edi + eax*4 - 4]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi + eax*4]
add eax, ebx
fld dword [edi + eax*4 - 4]
fmul dword [ecx - 4]
fld dword [edi + eax*4]
fmul dword [ecx]
faddp st(1)
fstp dword [esi + eax*4 - 4]
fld dword [edi + eax*4]
fmul dword [ecx - 4]
fld dword [edi + eax*4 - 4]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi + eax*4]
add eax, ebx
fld dword [edi + eax*4 - 4]
fmul dword [ecx - 4]
fld dword [edi + eax*4]
fmul dword [ecx]
faddp st(1)
fstp dword [esi + eax*4 - 4]
fld dword [edi + eax*4]
fmul dword [ecx - 4]
fld dword [edi + eax*4 - 4]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi + eax*4]
add eax, ebx
dec edx
jne 0x421710
mov edx, dword [esp + 0x78]
cmp dword [esp + 0xc], edx
jge 0x42180b
mov edx, esi
sub edx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x78]
sub edx, dword [esp + 0xc]
lea ebp, [esi + eax*4]
lea eax, [edi + eax*4 - 4]
mov dword [esp + 0x38], edx
fld dword [ecx]
mov edx, dword [esp + 0x3c]
fmul dword [eax + 4]
fld dword [eax]
fmul dword [ecx - 4]
faddp st(1)
fstp dword [eax + edx]
lea edx, [ebx*4]
fld dword [ecx - 4]
fmul dword [eax + 4]
fld dword [ecx]
fmul dword [eax]
add eax, edx
fsubp st(1)
fstp dword [ebp]
add ebp, edx
dec dword [esp + 0x38]
jne 0x4217d0
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
dec dword [esp + 0x34]
jne 0x4216d4
dec dword [esp + 0x30]
jne 0x421680
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
imul edx, dword [esp + 0x74]
mov dword [esp + 0x10], 0
cmp dword [esp + 0x50], eax
jge 0x421a35
cmp dword [esp + 0x14], 1
jle 0x421b5a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], eax
add dword [esp + 0x44], eax
sub edx, eax
mov dword [esp + 0x18], edx
cmp ebx, 2
jle 0x421a26
sub edx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
lea ecx, [ebx - 3]
shr ecx, 1
inc ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x38], ecx
jmp 0x421897
mov edx, dword [esp + 0x6c]
add eax, 2
lea ecx, [eax + edx]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], 0
cmp edx, 4
jl 0x421993
add edx, 0xfffffffc
shr edx, 2
inc edx
mov dword [esp + 0x64], edx
add edx, edx
add edx, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x64]
lea ecx, [ecx]
add ecx, ebx
fld dword [esi + ecx*4 - 4]
add eax, ebx
fadd dword [esi + eax*4 - 4]
fstp dword [edi + eax*4 - 4]
fld dword [esi + eax*4]
fsub dword [esi + ecx*4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4 - 4]
fsub dword [esi + eax*4 - 4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
fld dword [esi + ecx*4 - 4]
fadd dword [esi + eax*4 - 4]
fstp dword [edi + eax*4 - 4]
fld dword [esi + eax*4]
fsub dword [esi + ecx*4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4 - 4]
fsub dword [esi + eax*4 - 4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
fld dword [esi + ecx*4 - 4]
fadd dword [esi + eax*4 - 4]
fstp dword [edi + eax*4 - 4]
fld dword [esi + eax*4]
fsub dword [esi + ecx*4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4 - 4]
fsub dword [esi + eax*4 - 4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
dec edx
fld dword [esi + ecx*4 - 4]
fadd dword [esi + eax*4 - 4]
fstp dword [edi + eax*4 - 4]
fld dword [esi + eax*4]
fsub dword [esi + ecx*4]
fstp dword [edi + ecx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4 - 4]
fsub dword [esi + eax*4 - 4]
fstp dword [edi + ecx*4]
jne 0x4218d0
mov edx, dword [esp + 0x78]
cmp dword [esp + 0xc], edx
jge 0x421a14
lea ebp, [edi + eax*4]
mov dword [esp + 0x40], ebp
lea ebp, [edi + ecx*4]
mov dword [esp + 0x3c], ebp
mov ebp, edi
sub ebp, esi
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x78]
sub ebp, dword [esp + 0xc]
lea edx, [ebx*4]
lea eax, [esi + eax*4 - 4]
lea ecx, [esi + ecx*4 - 4]
mov dword [esp + 0x4c], ebp
lea ebx, [ebx]
fld dword [ecx + edx]
mov ebp, dword [esp + 0x24]
fadd dword [eax + edx]
add dword [esp + 0x40], edx
add dword [esp + 0x3c], edx
add ecx, edx
add eax, edx
dec dword [esp + 0x4c]
fstp dword [eax + ebp]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [ecx + ebp]
mov ebp, dword [esp + 0x40]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [ebp]
mov ebp, dword [esp + 0x3c]
fld dword [ecx]
fsub dword [eax]
fstp dword [ebp]
jne 0x4219d0
mov ebp, dword [esp + 0x7c]
dec dword [esp + 0x38]
mov eax, dword [esp + 0x48]
jne 0x421893
mov edx, dword [esp + 0x18]
dec dword [esp + 0x34]
jne 0x421860
jmp 0x421b5a
cmp dword [esp + 0x14], 1
jle 0x421b5a
lea eax, [edi + edx*4]
lea edx, [esi + edx*4 - 4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
lea eax, [esi - 4]
dec edx
mov ecx, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
add eax, eax
add eax, eax
add dword [esp + 0x44], eax
sub dword [esp + 0x40], eax
sub dword [esp + 0x3c], eax
add ecx, eax
cmp dword [esp + 0x78], 0
mov dword [esp + 0x6c], ecx
jle 0x421b50
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
lea ebx, [ebx]
cmp ebx, 2
jle 0x421b25
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], edx
mov edx, edi
sub edx, esi
mov dword [esp + 0x24], edx
lea edx, [ebx - 3]
shr edx, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
inc edx
jmp 0x421ae0
fld dword [ecx + 8]
mov ebp, dword [esp + 0x24]
fadd dword [eax + 8]
add dword [esp + 0x38], 8
add dword [esp + 0x34], 8
add ecx, 8
add eax, 8
dec edx
fstp dword [eax + ebp]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [ecx + ebp]
mov ebp, dword [esp + 0x38]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [ebp]
mov ebp, dword [esp + 0x34]
fld dword [ecx]
fsub dword [eax]
fstp dword [ebp]
jne 0x421ae0
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
lea eax, [ebx*4]
add dword [esp + 0x30], eax
add dword [esp + 0x2c], eax
add dword [esp + 0x28], eax
add ecx, eax
dec dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
jne 0x421ab0
mov ecx, dword [esp + 0x6c]
dec dword [esp + 0x18]
jne 0x421a61
xor edx, edx
cmp ebp, 4
jl 0x421bc0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
lea ecx, [edx + 0xc]
sub edx, dword [esp + 0x84]
add eax, 4
mov dword [esp + 0x44], edx
lea edx, [ebp - 4]
shr edx, 2
inc edx
mov dword [esp + 0x4c], edx
add edx, edx
add edx, edx
mov dword [esp + 0x40], edx
fld dword [ecx - 0xc]
mov edx, dword [esp + 0x44]
fstp dword [eax - 4]
add eax, 0x10
fld dword [edx + eax - 0x10]
add ecx, 0x10
dec dword [esp + 0x4c]
fstp dword [eax - 0x10]
fld dword [ecx - 0x14]
fstp dword [eax - 0xc]
fld dword [ecx - 0x10]
fstp dword [eax - 8]
jne 0x421b93
mov edx, dword [esp + 0x40]
cmp edx, ebp
jge 0x421bf4
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
mov ecx, ebp
lea eax, [eax + edx*4]
sub ecx, edx
mov edx, dword [esp + 0x44]
fld dword [eax + edx]
add eax, 4
dec ecx
fstp dword [eax - 4]
jne 0x421be8
mov ecx, dword [esp + 0x74]
imul ecx, ebp
cmp dword [esp + 0x14], 1
mov dword [esp + 0x5c], ecx
jle 0x421d17
mov edx, dword [esp + 0x14]
mov eax, ebx
sub ecx, ebx
neg eax
dec edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x78]
jmp 0x421c28
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
add eax, dword [esp + 0x1c]
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0xc], 0
cmp edx, 4
jl 0x421cbf
add edx, 0xfffffffc
shr edx, 2
inc edx
mov dword [esp + 0x60], edx
add edx, edx
add edx, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x60]
lea esp, [esp]
add eax, ebx
fld dword [esi + eax*4]
add ecx, ebx
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4]
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4]
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4]
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [edi + ecx*4]
add ecx, ebx
dec edx
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [edi + eax*4]
fld dword [esi + ecx*4]
fsub dword [esi + eax*4]
fstp dword [edi + ecx*4]
jne 0x421c60
mov edx, dword [esp + 0x78]
cmp dword [esp + 0xc], edx
jge 0x421d09
mov edx, edi
sub edx, esi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x78]
sub edx, dword [esp + 0xc]
lea eax, [esi + eax*4]
lea ecx, [esi + ecx*4]
mov dword [esp + 0x4c], edx
nop
lea edx, [ebx*4]
fld dword [ecx + edx]
add ecx, edx
fadd dword [eax + edx]
add eax, edx
dec dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
fstp dword [edx + eax]
fld dword [ecx]
fsub dword [eax]
fstp dword [edx + ecx]
jne 0x421ce0
mov edx, dword [esp + 0x78]
dec dword [esp + 0x48]
jne 0x421c20
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x74]
fld1
dec eax
fstp dword [esp + 0x54]
fldz
imul eax, ebp
fstp dword [esp + 0x38]
cmp dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov edi, ecx
mov dword [esp + 0x3c], eax
jle 0x422171
mov eax, dword [esp + 0x88]
fld dword [esp + 0x58]
fld dword [esp + 0x68]
lea ecx, [eax + 8]
fld dword [esp + 0x38]
lea edx, [eax + edi*4 + 8]
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x6c], eax
jmp 0x421d75
mov edi, dword [esp + 0x18]
fld dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
fld st(0)
mov eax, dword [esp + 0x3c]
fmul st(4)
lea edx, [ebp*4]
add dword [esp + 0x44], edx
fld st(2)
sub dword [esp + 0x40], edx
fmul st(4)
add ecx, ebp
sub edi, ebp
fsubp st(1)
xor edx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
fstp dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebp
fmul st(2)
fld st(3)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x64]
fst dword [esp + 0x54]
fld dword [esp + 0x38]
cmp ebp, 4
jl 0x421ede
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x84]
lea edi, [edx + 8]
mov dword [esp + 0x30], edi
lea eax, [edx + eax*4 + 8]
lea edi, [ebp - 4]
shr edi, 2
lea edx, [edx + ebp*4 + 8]
inc edi
mov dword [esp + 0x2c], edx
lea edx, [edi*4]
add ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
add ecx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x3c]
add ecx, edx
mov dword [esp + 0x4c], ecx
lea ecx, [edx + ebp]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
fld dword [ecx - 8]
mov ecx, dword [esp + 0x30]
fmul st(2)
add eax, 0x10
fadd dword [ecx - 8]
mov ecx, dword [esp + 0xc]
fstp dword [eax - 0x18]
fld dword [ecx - 8]
mov ecx, dword [esp + 0x38]
fmul st(1)
fstp dword [ecx - 8]
mov ecx, dword [esp + 0x2c]
fld dword [ecx - 4]
mov ecx, dword [esp + 0x30]
fmul st(2)
fadd dword [ecx - 4]
mov ecx, dword [esp + 0xc]
fstp dword [eax - 0x14]
fld dword [ecx - 4]
mov ecx, dword [esp + 0x38]
fmul st(1)
fstp dword [ecx - 4]
mov ecx, dword [esp + 0x2c]
fld dword [ecx]
mov ecx, dword [esp + 0x30]
fmul st(2)
fadd dword [ecx]
mov ecx, dword [esp + 0xc]
fstp dword [eax - 0x10]
fld dword [ecx]
mov ecx, dword [esp + 0x38]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esp + 0x2c]
fld dword [ecx + 4]
mov ecx, dword [esp + 0x30]
add dword [esp + 0x2c], 0x10
fmul st(2)
add dword [esp + 0x30], 0x10
fadd dword [ecx + 4]
mov ecx, dword [esp + 0xc]
add dword [esp + 0xc], 0x10
fstp dword [eax - 0xc]
fld dword [ecx + 4]
mov ecx, dword [esp + 0x38]
fmul st(1)
add ecx, 0x10
dec edi
mov dword [esp + 0x38], ecx
fstp dword [ecx - 0xc]
jne 0x421e2e
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x84]
cmp edx, ebp
jge 0x421f4a
lea eax, [ecx + eax*4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x88]
lea edi, [eax + edi*4]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x24]
lea eax, [eax + edi*4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
lea edi, [ecx + edx*4]
lea ecx, [ecx + eax*4]
mov eax, ebp
sub eax, edx
fld dword [ecx]
mov edx, dword [esp + 0x38]
add dword [esp + 0x38], 4
fmul st(2)
add ecx, 4
add edi, 4
fadd dword [edi - 4]
fstp dword [edx]
mov edx, dword [esp + 0x34]
fld dword [edx]
mov edx, dword [esp + 0x30]
add dword [esp + 0x34], 4
fmul st(1)
add dword [esp + 0x30], 4
dec eax
fstp dword [edx]
jne 0x421f17
cmp dword [esp + 0x14], 2
fxch st(1)
mov edx, dword [esp + 0x3c]
fst dword [esp + 0x58]
fxch st(1)
mov edi, ebp
fst dword [esp + 0x38]
jle 0x4222ef
mov eax, dword [esp + 0x84]
fstp st(2)
fld dword [esp + 0x38]
lea ecx, [eax + ebp*4 + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
lea eax, [eax + edx*4 + 8]
add ecx, 0xfffffffe
mov dword [esp + 0xc], eax
mov dword [esp + 0x64], ecx
jmp 0x421f99
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
fld dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
fld st(0)
sub edx, ebp
fmul st(3)
lea eax, [ebp*4]
add dword [esp + 0x48], eax
fld st(2)
fmul st(5)
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
add edi, ebp
fsubp st(1)
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x5c], edi
fstp dword [esp + 0x60]
fld st(2)
fmulp st(2)
fmul st(3)
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x60]
mov dword [esp + 0x60], edx
xor edx, edx
fst dword [esp + 0x58]
fld dword [esp + 0x38]
cmp ebp, 4
jl 0x4220e2
mov edx, dword [esp + 0xc]
lea edi, [ebp - 4]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x48]
shr edi, 2
inc edi
mov dword [esp + 0x30], edx
lea edx, [edi*4]
add ebp, edx
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x18]
add ebp, edx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x24]
add ebp, edx
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x34]
add ebp, edx
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x30]
fld dword [ebp - 8]
mov ebp, dword [esp + 0x2c]
fmul st(2)
add eax, 0x10
add ecx, 0x10
fadd dword [eax - 0x18]
fstp dword [eax - 0x18]
fld dword [ebp - 8]
mov ebp, dword [esp + 0x30]
fmul st(1)
fadd dword [ecx - 0x18]
fstp dword [ecx - 0x18]
fld dword [ebp - 4]
mov ebp, dword [esp + 0x2c]
fmul st(2)
fadd dword [eax - 0x14]
fstp dword [eax - 0x14]
fld dword [ebp - 4]
mov ebp, dword [esp + 0x30]
fmul st(1)
fadd dword [ecx - 0x14]
fstp dword [ecx - 0x14]
fld dword [ebp]
mov ebp, dword [esp + 0x2c]
fmul st(2)
fadd dword [eax - 0x10]
fstp dword [eax - 0x10]
fld dword [ebp]
mov ebp, dword [esp + 0x30]
fmul st(1)
add dword [esp + 0x30], 0x10
fadd dword [ecx - 0x10]
fstp dword [ecx - 0x10]
fld dword [ebp + 4]
mov ebp, dword [esp + 0x2c]
add dword [esp + 0x2c], 0x10
fmul st(2)
dec edi
fadd dword [eax - 0xc]
fstp dword [eax - 0xc]
fld dword [ebp + 4]
fmul st(1)
fadd dword [ecx - 0xc]
fstp dword [ecx - 0xc]
jne 0x422047
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x7c]
cmp edx, ebp
jge 0x42214b
mov edi, dword [esp + 0x88]
lea ecx, [edi + ecx*4]
mov dword [esp + 0x30], ecx
lea ecx, [edi + eax*4]
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x5c]
lea edi, [eax + edi*4]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x60]
lea eax, [eax + edi*4]
mov dword [esp + 0x38], eax
mov eax, ebp
sub eax, edx
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
fld dword [edi]
mov edi, dword [esp + 0x38]
add dword [esp + 0x4c], 4
fmul st(2)
add dword [esp + 0x38], 4
add ecx, 4
fadd dword [ecx - 4]
add edx, 4
dec eax
fstp dword [ecx - 4]
fld dword [edi]
fmul st(1)
fadd dword [edx - 4]
fstp dword [edx - 4]
jne 0x42211c
dec dword [esp + 0x64]
fstp st(1)
jne 0x421f91
fstp st(0)
fstp st(0)
fld dword [esp + 0x68]
fxch st(1)
dec dword [esp + 0x6c]
jne 0x421d71
fstp st(1)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, 1
jle 0x422250
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
add ecx, 8
dec eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x6c], eax
lea ebx, [ebx]
lea eax, [ebp*4]
add dword [esp + 0x7c], eax
add edi, ebp
xor ecx, ecx
mov dword [esp + 0x10], edi
mov eax, edi
cmp ebp, 4
jl 0x42221c
lea ecx, [ebp - 4]
shr ecx, 2
inc ecx
mov dword [esp + 0x68], ecx
add ecx, ecx
add ecx, ecx
add edi, ecx
lea eax, [edx + 8]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x68]
lea ebx, [ebx]
fld dword [edx - 8]
add edx, 0x10
fadd dword [eax - 8]
add eax, 0x10
dec edi
fstp dword [eax - 0x18]
fld dword [edx - 0x14]
fadd dword [eax - 0x14]
fstp dword [eax - 0x14]
fld dword [edx - 0x10]
fadd dword [eax - 0x10]
fstp dword [eax - 0x10]
fld dword [edx - 0xc]
fadd dword [eax - 0xc]
fstp dword [eax - 0xc]
jne 0x4221e0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
cmp ecx, ebp
jge 0x422246
mov edi, dword [esp + 0x84]
lea eax, [edi + eax*4]
lea ebx, [ebx]
fld dword [eax]
inc ecx
fadd dword [edx + ecx*4 - 4]
add eax, 4
fstp dword [edx + ecx*4 - 4]
cmp ecx, ebp
jl 0x422230
mov edi, dword [esp + 0x10]
dec dword [esp + 0x6c]
jne 0x4221a0
mov ebp, dword [esp + 0x78]
xor eax, eax
cmp ebx, ebp
jge 0x422338
mov dword [esp + 0x44], eax
test ebx, ebx
jle 0x422416
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
jmp 0x422280
mov ecx, eax
mov dword [esp + 0xc], 0
cmp ebp, 4
jl 0x4222d5
add ebp, 0xfffffffc
shr ebp, 2
inc ebp
mov dword [esp + 0x7c], ebp
add ebp, ebp
add ebp, ebp
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x7c]
fld dword [esi + eax*4]
add eax, ebx
fstp dword [edx + ecx*4]
add ecx, edi
fld dword [esi + eax*4]
add eax, ebx
fstp dword [edx + ecx*4]
add ecx, edi
fld dword [esi + eax*4]
add eax, ebx
fstp dword [edx + ecx*4]
add ecx, edi
fld dword [esi + eax*4]
add eax, ebx
fstp dword [edx + ecx*4]
add ecx, edi
dec ebp
jne 0x4222a6
mov ebp, dword [esp + 0x78]
cmp dword [esp + 0xc], ebp
jge 0x422322
lea ecx, [edx + ecx*4]
mov dword [esp + 0x7c], ecx
lea ecx, [esi + eax*4]
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0xc]
jmp 0x4222fa
fstp st(1)
jmp 0x422161
mov ecx, dword [esp + 0x6c]
fld dword [ecx]
mov ebp, dword [esp + 0x7c]
fstp dword [ebp]
lea ebp, [ebx*4]
add ecx, ebp
mov dword [esp + 0x6c], ecx
lea ecx, [edi*4]
add dword [esp + 0x7c], ecx
dec eax
jne 0x4222f6
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, ebx
jl 0x422280
jmp 0x422416
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
cmp ebp, eax
jle 0x422416
mov eax, dword [esp + 0x80]
lea edx, [esi + 8]
add eax, 8
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
xor ebp, ebp
cmp ebx, 4
jl 0x4223c9
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea eax, [ebx - 4]
shr eax, 2
inc eax
lea edi, [eax*4]
add ebp, edi
mov dword [esp + 0x44], edi
add edi, dword [esp + 0x18]
mov dword [esp + 0x7c], ebp
jmp 0x4223a0
fld dword [ecx - 8]
add ecx, 0x10
fstp dword [edx - 8]
add edx, 0x10
dec eax
fld dword [ecx - 0x14]
fstp dword [edx - 0x14]
fld dword [ecx - 0x10]
fstp dword [edx - 0x10]
fld dword [ecx - 0xc]
fstp dword [edx - 0xc]
jne 0x4223a0
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x7c]
cmp ebp, ebx
jge 0x4223ed
mov ecx, dword [esp + 0x80]
lea edx, [ecx + edi*4]
lea ecx, [esi + eax*4]
mov eax, ebx
sub eax, ebp
mov edi, edi
fld dword [ecx]
add ecx, 4
fstp dword [edx]
add edx, 4
dec eax
jne 0x4223e0
add dword [esp + 0x10], ebx
lea eax, [ebx*4]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], eax
add eax, eax
add eax, eax
add dword [esp + 0x48], eax
dec dword [esp + 0x6c]
jne 0x422361
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x74]
xor ecx, ecx
xor edx, edx
cmp dword [esp + 0x14], 1
mov dword [esp + 0x64], eax
mov ebp, eax
jle 0x42255e
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x80]
dec eax
mov dword [esp + 0x6c], eax
jmp 0x42245c
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
add edx, dword [esp + 0x1c]
sub ebp, dword [esp + 0x1c]
lea ecx, [ecx + ebx*2]
mov dword [esp + 0x10], ecx
mov eax, ecx
mov dword [esp + 0x7c], edx
mov ecx, edx
mov dword [esp + 0x24], ebp
mov edx, ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0xc], 0
cmp ebp, 4
jl 0x4224fa
add ebp, 0xfffffffc
shr ebp, 2
inc ebp
mov dword [esp + 0x74], ebp
add ebp, ebp
add ebp, ebp
mov dword [esp + 0xc], ebp
lea ecx, [ecx]
fld dword [esi + ecx*4]
mov ebp, dword [esp + 0x20]
fstp dword [edi + eax*4 - 4]
add ecx, ebx
fld dword [esi + edx*4]
add edx, ebx
fstp dword [edi + eax*4]
add eax, ebp
fld dword [esi + ecx*4]
add ecx, ebx
fstp dword [edi + eax*4 - 4]
fld dword [esi + edx*4]
add edx, ebx
fstp dword [edi + eax*4]
add eax, ebp
fld dword [esi + ecx*4]
add ecx, ebx
fstp dword [edi + eax*4 - 4]
fld dword [esi + edx*4]
add edx, ebx
fstp dword [edi + eax*4]
add eax, ebp
fld dword [esi + ecx*4]
add ecx, ebx
fstp dword [edi + eax*4 - 4]
fld dword [esi + edx*4]
add edx, ebx
fstp dword [edi + eax*4]
add eax, ebp
dec dword [esp + 0x74]
jne 0x4224a0
mov ebp, dword [esp + 0x78]
cmp dword [esp + 0xc], ebp
jge 0x422550
lea edx, [esi + edx*4]
mov dword [esp + 0x74], edx
lea edx, [esi + ecx*4]
mov ecx, dword [esp + 0x78]
sub ecx, dword [esp + 0xc]
lea eax, [edi + eax*4]
jmp 0x422524
mov edx, dword [esp + 0x68]
fld dword [edx]
mov ebp, dword [esp + 0x74]
fstp dword [eax - 4]
fld dword [ebp]
mov ebp, dword [esp + 0x20]
add ebp, ebp
fstp dword [eax]
add ebp, ebp
add eax, ebp
lea ebp, [ebx*4]
add dword [esp + 0x74], ebp
add edx, ebp
dec ecx
mov dword [esp + 0x68], edx
jne 0x422520
dec dword [esp + 0x6c]
jne 0x422450
mov eax, dword [esp + 0x64]
cmp ebx, 1
je 0x422900
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esp + 0x78]
jge 0x4227e5
mov ebp, ebx
mov ecx, eax
mov eax, dword [esp + 0x14]
neg ebp
xor edi, edi
xor edx, edx
cmp eax, 1
jle 0x422900
dec eax
lea ebp, [ebx + ebp - 2]
mov dword [esp + 0x5c], eax
lea eax, [ebx + ebx]
add edi, eax
mov eax, dword [esp + 0x1c]
add edx, eax
sub ecx, eax
lea ebp, [ebp + ebx*2]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
cmp ebx, 2
jle 0x4227d4
lea eax, [edx + 2]
sub edi, edx
sub ecx, edx
lea edx, [ebx - 3]
shr edx, 1
inc edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], edx
jmp 0x4225ea
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
add edi, eax
add ecx, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], 0
cmp ebp, 4
jl 0x42272e
add ebp, 0xfffffffc
shr ebp, 2
inc ebp
mov dword [esp + 0x6c], ebp
add ebp, ebp
add ebp, ebp
mov dword [esp + 0xc], ebp
mov edi, edi
fld dword [esi + ecx*4 - 4]
mov ebp, dword [esp + 0x80]
fadd dword [esi + eax*4 - 4]
fstp dword [ebp + edi*4 - 4]
fld dword [esi + eax*4 - 4]
fsub dword [esi + ecx*4 - 4]
fstp dword [ebp + edx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [ebp + edi*4]
fld dword [esi + ecx*4]
add ecx, ebx
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [ebp + edx*4]
mov ebp, dword [esp + 0x20]
fld dword [esi + ecx*4 - 4]
add edx, ebp
fadd dword [esi + eax*4 - 4]
add edi, ebp
mov ebp, dword [esp + 0x80]
fstp dword [ebp + edi*4 - 4]
fld dword [esi + eax*4 - 4]
fsub dword [esi + ecx*4 - 4]
fstp dword [ebp + edx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [ebp + edi*4]
fld dword [esi + ecx*4]
add ecx, ebx
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [ebp + edx*4]
mov ebp, dword [esp + 0x20]
fld dword [esi + ecx*4 - 4]
add edx, ebp
fadd dword [esi + eax*4 - 4]
add edi, ebp
mov ebp, dword [esp + 0x80]
fstp dword [ebp + edi*4 - 4]
fld dword [esi + eax*4 - 4]
fsub dword [esi + ecx*4 - 4]
fstp dword [ebp + edx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [ebp + edi*4]
fld dword [esi + ecx*4]
add ecx, ebx
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [ebp + edx*4]
mov ebp, dword [esp + 0x20]
fld dword [esi + ecx*4 - 4]
add edx, ebp
fadd dword [esi + eax*4 - 4]
add edi, ebp
mov ebp, dword [esp + 0x80]
fstp dword [ebp + edi*4 - 4]
fld dword [esi + eax*4 - 4]
fsub dword [esi + ecx*4 - 4]
fstp dword [ebp + edx*4 - 4]
fld dword [esi + eax*4]
fadd dword [esi + ecx*4]
fstp dword [ebp + edi*4]
fld dword [esi + ecx*4]
add ecx, ebx
fsub dword [esi + eax*4]
add eax, ebx
fstp dword [ebp + edx*4]
mov ebp, dword [esp + 0x20]
add edx, ebp
add edi, ebp
dec dword [esp + 0x6c]
jne 0x422620
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x28], edi
cmp dword [esp + 0xc], ebp
jge 0x4227aa
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
add edi, edi
add edi, edi
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x80]
lea ebp, [edi + ebp*4]
lea edx, [edi + edx*4]
mov edi, dword [esp + 0x78]
sub edi, dword [esp + 0xc]
lea eax, [esi + eax*4]
lea ecx, [esi + ecx*4]
mov dword [esp + 0x68], ebp
jmp 0x422769
mov edx, dword [esp + 0x50]
fld dword [ecx - 4]
fadd dword [eax - 4]
fstp dword [ebp - 4]
fld dword [eax - 4]
fsub dword [ecx - 4]
fstp dword [edx - 4]
fld dword [ecx]
fadd dword [eax]
fstp dword [ebp]
mov ebp, dword [esp + 0x68]
fld dword [ecx]
add ebp, dword [esp + 0x6c]
fsub dword [eax]
mov dword [esp + 0x68], ebp
fstp dword [edx]
add edx, dword [esp + 0x6c]
mov dword [esp + 0x50], edx
lea edx, [ebx*4]
add eax, edx
add ecx, edx
dec edi
jne 0x422765
mov eax, dword [esp + 0x64]
sub dword [esp + 0x74], 2
add eax, 2
dec dword [esp + 0x60]
mov dword [esp + 0x64], eax
jne 0x4225e2
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x7c]
dec dword [esp + 0x5c]
jne 0x422595
pop edi
pop esi
pop ebp
add esp, 0x64
ret
mov edi, ebx
neg edi
cmp dword [esp + 0x14], 1
jle 0x422900
mov ecx, dword [esp + 0x1c]
lea eax, [esi + eax*4 + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x80]
lea ebp, [eax + 8]
add edi, ebx
lea eax, [eax + edi*4 - 8]
lea edx, [ebx + ebx]
add ecx, ecx
add edx, edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
add ecx, ecx
add edx, edx
add esi, 8
dec eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x68], eax
jmp 0x422848
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
add dword [esp + 0x7c], edx
add dword [esp + 0x50], edx
add dword [esp + 0x74], ecx
sub dword [esp + 0x4c], ecx
cmp dword [esp + 0x78], 0
jle 0x4228f6
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], ecx
cmp ebx, 2
jle 0x4228d3
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
lea edx, [ebx - 3]
shr edx, 1
mov edi, ebp
inc edx
fld dword [eax - 4]
add edi, 8
fadd dword [ecx - 4]
add eax, 8
add ecx, 8
sub esi, 8
dec edx
fstp dword [edi - 0xc]
fld dword [ecx - 0xc]
fsub dword [eax - 0xc]
fstp dword [esi + 4]
fld dword [ecx - 8]
fadd dword [eax - 8]
fstp dword [edi - 8]
fld dword [eax - 8]
fsub dword [ecx - 8]
fstp dword [esi + 8]
jne 0x4228a0
mov eax, dword [esp + 0x20]
add eax, eax
add eax, eax
add dword [esp + 0x48], eax
add ebp, eax
lea eax, [ebx*4]
add dword [esp + 0x44], eax
add dword [esp + 0x40], eax
dec dword [esp + 0x6c]
jne 0x422887
dec dword [esp + 0x68]
jne 0x422840
pop edi
pop esi
pop ebp
add esp, 0x64
ret