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

Disassembly:
sub esp, 0x64
fld dword [0x440740]
fild dword [esp + 0x6c]
push ebx
push ebp
push esi
push edi
fstp dword [esp + 0x50]
fdiv dword [esp + 0x50]
push ecx
push ecx
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp qword [esp]
call sub.MSVCRT.dll_cos
fstp dword [esp + 0x78]
fld dword [esp + 0x3c]
fstp qword [esp]
call sub.MSVCRT.dll_sin
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
and dword [esp + 0x3c], 0
pop ecx
pop ecx
mov ecx, dword [esp + 0x78]
lea ebp, [ebx + 1]
mov esi, ecx
sar ebp, 1
imul esi, ebx
fstp dword [esp + 0x50]
lea eax, [ecx - 1]
mov dword [esp + 0x10], ebp
sar eax, 1
mov dword [esp + 0x30], eax
mov eax, ecx
imul eax, edx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x14], eax
cmp ecx, 1
je 0x4223f5
mov ebx, dword [esp + 0x84]
test ebx, ebx
jle 0x421e8b
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
sub edi, eax
fld dword [edi + eax]
fstp dword [eax]
add eax, 4
dec ebx
jne 0x421e7c
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x7c]
cmp ebx, 1
jle 0x421eee
mov ebp, dword [esp + 0x8c]
mov ebx, eax
mov eax, dword [esp + 0x7c]
mov edi, esi
shl ebx, 2
dec eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x28], eax
add edi, ebx
test edx, edx
jle 0x421edf
mov eax, ecx
mov dword [esp + 0x2c], edx
shl eax, 2
mov ebx, ebp
mov dword [esp + 0x4c], eax
sub ebx, esi
mov eax, edi
fld dword [ebx + eax]
fstp dword [eax]
add eax, dword [esp + 0x4c]
dec dword [esp + 0x2c]
jne 0x421ec8
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
dec eax
mov dword [esp + 0x28], eax
jne 0x421eaf
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x7c]
mov edi, ecx
neg edi
mov dword [esp + 0x24], edi
cmp dword [esp + 0x30], edx
jle 0x422009
cmp ebx, 1
jle 0x422104
mov eax, dword [esp + 0x9c]
mov ebx, ecx
mov ebp, dword [esp + 0x14]
sub eax, 4
mov ecx, dword [esp + 0x7c]
shl ebp, 2
shl ebx, 2
mov dword [esp + 0x2c], ebp
lea ebp, [eax + edi*4]
mov eax, dword [esp + 0x8c]
mov edi, esi
sub eax, ebx
sub edi, ebx
sub eax, 4
dec ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x78]
add edi, dword [esp + 0x2c]
add ebp, ebx
add eax, dword [esp + 0x2c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], ebp
test edx, edx
jle 0x421ffa
mov dword [esp + 0x4c], edi
mov ebp, edx
mov edx, dword [esp + 0x4c]
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], ebp
add edx, ebx
add edi, ebx
cmp ecx, 2
jle 0x421fe0
sub esi, dword [esp + 0x8c]
lea ebp, [ecx - 3]
shr ebp, 1
mov ebx, edi
mov dword [esp + 0x40], edx
inc ebp
mov dword [esp + 0x44], eax
mov ecx, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
add ebx, 8
add eax, 8
add ecx, 8
fld dword [ebx]
fmul dword [eax - 4]
fld dword [ebx + 4]
fmul dword [eax]
faddp st(1)
fstp dword [ebx + esi]
fld dword [ebx + 4]
fmul dword [eax - 4]
fld dword [ebx]
fmul dword [eax]
fsubp st(1)
fstp dword [ecx]
dec ebp
jne 0x421f9f
mov ecx, dword [esp + 0x78]
mov ebx, ecx
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
shl ebx, 2
dec ebp
mov dword [esp + 0x28], ebp
jne 0x421f75
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
dec dword [esp + 0x20]
jne 0x421f43
jmp 0x4220fc
cmp ebx, 1
jle 0x422104
mov ebx, dword [esp + 0x14]
mov eax, ecx
mov edx, dword [esp + 0x7c]
mov ebp, esi
shl eax, 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x9c]
shl ebx, 2
mov dword [esp + 0x38], ebx
lea eax, [eax + edi*4]
mov edi, dword [esp + 0x8c]
add eax, 0xfffffffc
add edi, 0xfffffffc
dec edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x80]
add eax, dword [esp + 0x20]
add ebp, ebx
add edi, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], edi
cmp ecx, 2
jle 0x4220f2
mov dword [esp + 0x1c], edi
mov ebx, ebp
mov ebp, dword [esp + 0x8c]
mov edi, eax
lea eax, [ecx - 3]
shr eax, 1
inc eax
add dword [esp + 0x1c], 8
add edi, 8
add ebx, 8
test edx, edx
jle 0x4220db
mov ecx, esi
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x1c]
sub ecx, ebp
mov dword [esp + 0x48], ebx
mov edx, ebx
fld dword [edi - 4]
fmul dword [esi]
fld dword [esi + 4]
fmul dword [edi]
faddp st(1)
fstp dword [esi + ecx]
fld dword [edi - 4]
fmul dword [esi + 4]
fld dword [esi]
fmul dword [edi]
add esi, dword [esp + 0x20]
fsubp st(1)
fstp dword [edx]
add edx, dword [esp + 0x20]
dec dword [esp + 0x2c]
jne 0x4220a2
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x94]
dec eax
jne 0x422081
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
dec dword [esp + 0x28]
jne 0x42204f
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, eax
and dword [esp + 0x2c], 0
imul edi, ebx
cmp dword [esp + 0x30], edx
jge 0x422299
cmp ebp, 1
jle 0x4223f5
shl eax, 2
mov ebx, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x8c]
shl ebx, 2
sub eax, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], eax
mov ebx, esi
mov eax, ecx
shl eax, 2
sub ebx, eax
lea eax, [ebp - 1]
mov ebp, dword [esp + 0x28]
sub ebx, 4
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
add eax, edx
add ebp, dword [esp + 0x38]
sub edi, edx
add ebx, dword [esp + 0x38]
add dword [esp + 0x24], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x3c], eax
cmp ecx, 2
jle 0x42228a
mov esi, dword [esp + 0x94]
mov dword [esp + 0x1c], ebp
mov ebp, edi
sub ebp, eax
mov dword [esp + 0x20], ebx
lea eax, [ecx - 3]
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
shr eax, 1
inc eax
mov dword [esp + 0x48], eax
add dword [esp + 0x3c], 2
lea ecx, [ecx + 2]
add dword [esp + 0x20], 8
add ebp, 8
mov dword [esp + 0x1c], ebp
test edx, edx
jle 0x42226b
mov edi, dword [esp + 0x8c]
lea eax, [ecx + ebx]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x40], edx
lea ebx, [edi + eax*4]
mov edi, dword [esp + 0x20]
lea eax, [eax - 1]
mov dword [esp + 0x64], ebx
lea eax, [esi + eax*4]
mov ebx, ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
sub eax, esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
add esi, eax
add edi, eax
add ebx, eax
add ebp, eax
dec dword [esp + 0x40]
fld dword [esi]
fadd dword [edi]
fstp dword [edi + edx]
fld dword [edi + 4]
fsub dword [esi + 4]
fstp dword [edx + esi]
fld dword [esi + 4]
fadd dword [edi + 4]
fstp dword [ebx]
fld dword [esi]
fsub dword [edi]
fstp dword [ebp]
jne 0x422224
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
dec eax
mov dword [esp + 0x48], eax
jne 0x4221c2
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
dec dword [esp + 0x4c]
jne 0x42215d
jmp 0x4223f1
cmp ebp, 1
jle 0x4223f5
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x78]
shl eax, 2
mov dword [esp + 0x5c], eax
lea ebx, [ebx + edi*4]
dec edi
lea edi, [esi + edi*4]
mov dword [esp + 0x20], edi
lea edi, [esi - 4]
mov dword [esp + 0x2c], edi
lea edi, [ebp - 1]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x8c]
add dword [esp + 0x2c], eax
add edi, eax
sub ebx, eax
mov dword [esp + 0x1c], edi
sub ebp, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x20], ebp
test edx, edx
jle 0x4223e7
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edi
mov edi, ecx
mov dword [esp + 0x24], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
shl edi, 2
cmp ecx, 2
jle 0x4223ae
mov dword [esp + 0x64], ebx
mov edi, ecx
mov ebx, dword [esp + 0x8c]
sub ebx, esi
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x6c], ebx
lea ebx, [ecx - 3]
mov esi, dword [esp + 0x6c]
shr ebx, 1
mov dword [esp + 0x4c], ebp
inc ebx
mov dword [esp + 0x68], eax
mov ebp, eax
mov eax, dword [esp + 0x60]
shl edi, 2
add edx, 8
mov ecx, dword [esp + 0x4c]
add ebp, 8
add eax, 8
add ecx, 8
mov dword [esp + 0x4c], ecx
fld dword [edx]
fadd dword [ebp]
fstp dword [esi + ebp]
fld dword [ebp + 4]
fsub dword [edx + 4]
fstp dword [esi + edx]
fld dword [edx + 4]
fadd dword [ebp + 4]
fstp dword [eax]
fld dword [edx]
fsub dword [ebp]
fstp dword [ecx]
mov ecx, dword [esp + 0x78]
dec ebx
jne 0x42235c
mov esi, dword [esp + 0x94]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
add edx, edi
add eax, edi
add ebp, edi
mov dword [esp + 0x28], edx
add ebx, edi
mov dword [esp + 0x48], eax
dec dword [esp + 0x40]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x44], ebx
jne 0x42231d
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
dec dword [esp + 0x3c]
jne 0x4222d8
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
test ebx, ebx
jle 0x422429
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x90]
sub edi, eax
mov edx, dword [esp + 0x80]
fld dword [edi + eax]
fstp dword [eax]
add eax, 4
dec ebx
jne 0x422417
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
and dword [esp + 0x2c], 0
imul eax, ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], eax
cmp ebp, 1
jle 0x4224fd
mov eax, dword [esp + 0x14]
mov edi, ecx
shl eax, 2
mov ebx, esi
mov dword [esp + 0x6c], eax
neg edi
mov eax, ecx
mov ecx, dword [esp + 0x2c]
shl eax, 2
mov dword [esp + 0x4c], eax
sub ebx, eax
lea eax, [ebp - 1]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
add ebx, dword [esp + 0x6c]
add ecx, ebp
sub eax, ebp
mov dword [esp + 0x2c], ecx
add edi, ebp
mov dword [esp + 0x1c], eax
test edx, edx
jle 0x4224e4
mov eax, edi
mov dword [esp + 0x68], ebx
sub eax, ecx
mov dword [esp + 0x48], edx
add eax, dword [esp + 0x1c]
lea eax, [esi + eax*4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x64]
sub eax, esi
mov dword [esp + 0x60], eax
mov eax, ebx
mov esi, dword [esp + 0x60]
add ecx, dword [esp + 0x4c]
add eax, dword [esp + 0x4c]
dec dword [esp + 0x48]
fld dword [ecx]
fadd dword [eax]
fstp dword [esi + eax]
fld dword [ecx]
fsub dword [eax]
fstp dword [esi + ecx]
jne 0x4224b9
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
dec dword [esp + 0x44]
jne 0x422475
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x84]
mov edi, dword [esp + 0x7c]
fld1
dec edi
imul edi, ebx
fstp dword [esp + 0x4c]
fldz
fstp dword [esp + 0x2c]
mov dword [esp + 0x64], edi
cmp ebp, 1
jle 0x422746
mov esi, dword [esp + 0x98]
mov ecx, ebx
fld dword [esp + 0x70]
mov edx, esi
fld dword [esp + 0x50]
fld dword [esp + 0x2c]
lea esi, [esi + eax*4]
shl ecx, 2
lea eax, [ebp - 1]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x28], eax
jmp 0x42254a
fxch st(1)
fld dword [esp + 0x4c]
add edx, ecx
fld st(0)
mov dword [esp + 0x3c], edx
fld st(4)
sub esi, ecx
fmulp st(1)
fld st(2)
mov dword [esp + 0x38], esi
fld st(4)
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x70]
fmulp st(2)
fld st(2)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x70]
and dword [esp + 0x70], 0
fst dword [esp + 0x4c]
fld dword [esp + 0x2c]
test ebx, ebx
jle 0x4225ea
mov eax, dword [esp + 0x90]
mov ebx, esi
mov ebp, dword [esp + 0x90]
mov esi, edx
mov edx, dword [esp + 0x90]
add edx, ecx
mov ecx, dword [esp + 0x70]
lea eax, [eax + edi*4]
fld dword [edx]
add edx, 4
fld st(2)
fmulp st(1)
fadd dword [ebp + ecx*4]
fstp dword [esi]
add esi, 4
fld st(0)
fmul dword [eax]
add eax, 4
fstp dword [ebx]
add ebx, 4
inc ecx
cmp ecx, dword [esp + 0x84]
jl 0x4225af
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x28]
fxch st(1)
fst dword [esp + 0x48]
fxch st(1)
fst dword [esp + 0x2c]
cmp ebp, 2
jle 0x4226ae
mov edx, dword [esp + 0x90]
lea esi, [ebp - 2]
fld dword [esp + 0x2c]
lea eax, [ecx + edx]
lea edx, [edx + edi*4]
mov dword [esp + 0x70], edx
mov edi, edx
fld dword [esp + 0x48]
add eax, ecx
fld st(0)
mov dword [esp + 0x40], eax
fld st(4)
sub edi, ecx
fmulp st(1)
fld st(2)
fld st(4)
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x70]
fld st(3)
fmulp st(2)
fld st(2)
fmulp st(1)
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x70]
fst dword [esp + 0x48]
fld dword [esp + 0x2c]
test ebx, ebx
jle 0x422697
mov eax, dword [esp + 0x38]
mov ebp, edi
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], ebx
fld st(1)
fmul dword [ecx]
add ecx, 4
fadd dword [edx]
fstp dword [edx]
add edx, 4
fld st(0)
fmul dword [ebp]
add ebp, 4
fadd dword [eax]
fstp dword [eax]
add eax, 4
dec dword [esp + 0x44]
jne 0x42266b
mov eax, dword [esp + 0x40]
mov ecx, ebx
shl ecx, 2
fstp st(1)
dec esi
jne 0x422619
mov ebp, dword [esp + 0x10]
fstp st(2)
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
fstp st(1)
fld dword [esp + 0x50]
dec eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jne 0x422548
mov ecx, dword [esp + 0x78]
fstp st(1)
mov edx, dword [esp + 0x80]
fstp st(0)
mov esi, dword [esp + 0x94]
fstp st(0)
cmp ebp, 1
jle 0x422746
mov edi, dword [esp + 0x84]
mov eax, ebx
mov esi, dword [esp + 0x90]
lea ebx, [ebp - 1]
mov ecx, dword [esp + 0x98]
shl eax, 2
mov dword [esp + 0x70], eax
mov ebp, eax
add esi, ebp
xor eax, eax
test edi, edi
jle 0x42272d
mov edi, esi
fld dword [edi]
add edi, 4
fadd dword [ecx + eax*4]
fstp dword [ecx + eax*4]
inc eax
cmp eax, dword [esp + 0x84]
jl 0x422711
mov edi, dword [esp + 0x84]
dec ebx
jne 0x422707
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0x10]
cmp ecx, edx
jge 0x4227b9
test ecx, ecx
jle 0x42281b
mov ebx, dword [esp + 0x88]
mov eax, esi
mov ebp, dword [esp + 0x18]
sub ebx, esi
mov esi, ecx
mov dword [esp + 0x50], esi
test edx, edx
jle 0x4227a2
mov esi, ebp
mov dword [esp + 0x84], edx
shl esi, 2
mov edi, eax
mov dword [esp + 0x6c], esi
mov esi, ecx
shl esi, 2
mov dword [esp + 0x70], esi
lea esi, [ebx + eax]
fld dword [edi]
add edi, dword [esp + 0x70]
fstp dword [esi]
add esi, dword [esp + 0x6c]
dec dword [esp + 0x84]
jne 0x422789
mov esi, dword [esp + 0x50]
add eax, 4
dec esi
mov dword [esp + 0x50], esi
jne 0x422767
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0x10]
jmp 0x42281b
test edx, edx
jle 0x42281b
mov eax, dword [esp + 0x18]
mov edi, edx
mov ebx, dword [esp + 0x88]
mov edx, ecx
shl eax, 2
mov dword [esp + 0x70], eax
mov eax, esi
mov dword [esp + 0x50], edi
shl edx, 2
test ecx, ecx
jle 0x422807
mov edx, ebx
mov dword [esp + 0x84], ecx
mov edi, eax
fld dword [edi]
add edi, 4
fstp dword [edx]
add edx, 4
dec dword [esp + 0x84]
jne 0x4227eb
mov edi, dword [esp + 0x50]
mov edx, ecx
shl edx, 2
add ebx, dword [esp + 0x70]
add eax, edx
dec edi
mov dword [esp + 0x50], edi
jne 0x4227dc
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x14]
lea ebx, [ecx + ecx]
imul eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x88]
cmp ebp, 1
jle 0x4228ec
mov esi, dword [esp + 0x14]
lea ebx, [ebp - 1]
shl esi, 2
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x84], edi
mov ebp, edi
mov dword [esp + 0x48], ebx
lea ebx, [ecx + ecx]
mov dword [esp + 0x7c], esi
lea edi, [esi + eax*4]
mov edx, ebx
shl edx, 2
add ebp, edx
mov edx, dword [esp + 0x70]
add dword [esp + 0x7c], edx
sub edi, edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x4c], edi
test edx, edx
jle 0x4228de
mov ebx, dword [esp + 0x18]
mov edi, ebp
mov esi, dword [esp + 0x94]
shl ebx, 2
mov dword [esp + 0x64], ebx
mov ebx, ecx
shl ebx, 2
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x4c]
fld dword [ebx]
add ebx, dword [esp + 0x84]
fstp dword [edi - 4]
fld dword [edx]
add edx, dword [esp + 0x84]
fstp dword [edi]
add edi, dword [esp + 0x64]
dec dword [esp + 0x50]
jne 0x4228af
mov edx, dword [esp + 0x80]
lea ebx, [ecx + ecx]
mov edi, dword [esp + 0x4c]
dec dword [esp + 0x48]
jne 0x422863
mov ebp, dword [esp + 0x10]
cmp ecx, 1
je 0x422bf4
mov edi, ecx
neg edi
cmp dword [esp + 0x30], edx
jge 0x422aa2
cmp ebp, 1
jle 0x422bf4
add eax, 2
mov edx, ebx
push 4
neg edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x18]
lea eax, [esi + eax*4]
mov dword [esp + 0x24], eax
lea eax, [ecx - 2]
add eax, edi
shl edx, 2
mov dword [esp + 0x28], eax
lea eax, [esi + 8]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
pop esi
sub esi, edi
mov dword [esp + 0x6c], edx
mov edi, dword [esp + 0x24]
sub esi, ecx
mov edx, dword [esp + 0x80]
lea eax, [eax + edi*4]
mov dword [esp + 0x84], eax
lea eax, [ebp - 1]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
add esi, dword [esp + 0x70]
mov ebp, ebx
add dword [esp + 0x34], ebx
add edi, ebx
shl ebp, 2
add dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x6c]
sub eax, ebp
add dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x24], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x20], eax
cmp ecx, 2
jle 0x422a93
mov dword [esp + 0x30], edi
mov ebx, esi
mov esi, dword [esp + 0x7c]
lea edi, [ecx - 3]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
shr edi, 1
inc edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], edi
test edx, edx
jle 0x422a62
mov edi, dword [esp + 0x18]
add eax, ebx
add eax, dword [esp + 0x34]
shl edi, 2
mov dword [esp + 0x50], edi
mov edi, ecx
mov ecx, dword [esp + 0x78]
shl edi, 2
lea eax, [eax*4]
add eax, ebp
mov dword [esp + 0x4c], edi
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov eax, esi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x68], esi
fld dword [ebp - 4]
fadd dword [eax - 4]
fstp dword [edi - 4]
fld dword [eax - 4]
fsub dword [ebp - 4]
fstp dword [edx - 4]
fld dword [ebp]
fadd dword [eax]
fstp dword [edi]
fld dword [ebp]
fsub dword [eax]
add edi, dword [esp + 0x50]
add ebp, dword [esp + 0x4c]
add eax, dword [esp + 0x4c]
fstp dword [edx]
add edx, dword [esp + 0x50]
dec dword [esp + 0x48]
jne 0x422a16
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x30]
sub dword [esp + 0x2c], 8
sub eax, 2
add dword [esp + 0x28], 8
add esi, 8
add ebx, 4
mov dword [esp + 0x30], eax
dec edi
mov dword [esp + 0x44], edi
jne 0x4229cd
mov esi, dword [esp + 0x58]
lea ebx, [ecx + ecx]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
dec dword [esp + 0x40]
jne 0x42296a
jmp 0x422bf4
cmp ebp, 1
jle 0x422bf4
mov edx, dword [esp + 0x14]
add eax, 2
shl edx, 2
mov dword [esp + 0x44], edx
mov edx, ebx
mov ebx, dword [esp + 0x88]
lea eax, [esi + eax*4]
shl edx, 2
mov dword [esp + 0x30], eax
add esi, 8
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x80]
lea eax, [ebx + 8]
mov dword [esp + 0x7c], eax
lea eax, [edi - 2]
add eax, ecx
lea edi, [ebx + eax*4]
mov ebx, dword [esp + 0x7c]
lea eax, [ebp - 1]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
add edi, dword [esp + 0x50]
add esi, ebp
add ebx, dword [esp + 0x50]
sub eax, ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x30], eax
test edx, edx
jle 0x422bea
mov ebp, ecx
mov dword [esp + 0x70], eax
shl ebp, 2
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x18]
shl ebp, 2
mov dword [esp + 0x4c], ebp
mov ebp, esi
mov esi, edi
mov dword [esp + 0x48], edx
mov edx, eax
mov dword [esp + 0x34], esi
mov edi, ebx
mov eax, ecx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x84], edi
shl eax, 2
cmp ecx, 2
jle 0x422bb6
mov ebx, dword [esp + 0x34]
lea eax, [ecx - 3]
mov ecx, dword [esp + 0x84]
mov esi, ebp
shr eax, 1
mov edi, edx
inc eax
fld dword [edi - 4]
fadd dword [esi - 4]
fstp dword [ecx - 4]
fld dword [esi - 4]
fsub dword [edi - 4]
fstp dword [ebx - 4]
fld dword [edi]
fadd dword [esi]
fstp dword [ecx]
fld dword [edi]
add ecx, 8
fsub dword [esi]
add edi, 8
add esi, 8
fstp dword [ebx]
sub ebx, 8
dec eax
jne 0x422b72
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x4c]
add edi, ebx
add esi, ebx
add ebp, eax
mov dword [esp + 0x84], edi
add edx, eax
mov dword [esp + 0x34], esi
dec dword [esp + 0x48]
jne 0x422b58
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
dec dword [esp + 0x40]
jne 0x422afc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret