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

Disassembly:
sub esp, 0x64
fld dword [0x61d97c]
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 0x4b645f
mov ebx, dword [esp + 0x84]
test ebx, ebx
jle 0x4b5ef5
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 0x4b5ee6
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x7c]
cmp ebx, 1
jle 0x4b5f58
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 0x4b5f49
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 0x4b5f32
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
dec eax
mov dword [esp + 0x28], eax
jne 0x4b5f19
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 0x4b6073
cmp ebx, 1
jle 0x4b616e
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 0x4b6064
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 0x4b604a
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 0x4b6009
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 0x4b5fdf
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 0x4b5fad
jmp 0x4b6166
cmp ebx, 1
jle 0x4b616e
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 0x4b615c
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 0x4b6145
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 0x4b610c
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x94]
dec eax
jne 0x4b60eb
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 0x4b60b9
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 0x4b6303
cmp ebp, 1
jle 0x4b645f
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 0x4b62f4
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 0x4b62d5
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 0x4b628e
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 0x4b622c
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 0x4b61c7
jmp 0x4b645b
cmp ebp, 1
jle 0x4b645f
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 0x4b6451
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 0x4b6418
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 0x4b63c6
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 0x4b6387
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 0x4b6342
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
test ebx, ebx
jle 0x4b6493
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 0x4b6481
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 0x4b6567
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 0x4b654e
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 0x4b6523
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
dec dword [esp + 0x44]
jne 0x4b64df
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 0x4b67b0
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 0x4b65b4
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 0x4b6654
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 0x4b6619
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 0x4b6718
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 0x4b6701
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 0x4b66d5
mov eax, dword [esp + 0x40]
mov ecx, ebx
shl ecx, 2
fstp st(1)
dec esi
jne 0x4b6683
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 0x4b65b2
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 0x4b67b0
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 0x4b6797
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 0x4b677b
mov edi, dword [esp + 0x84]
dec ebx
jne 0x4b6771
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0x10]
cmp ecx, edx
jge 0x4b6823
test ecx, ecx
jle 0x4b6885
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 0x4b680c
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 0x4b67f3
mov esi, dword [esp + 0x50]
add eax, 4
dec esi
mov dword [esp + 0x50], esi
jne 0x4b67d1
mov esi, dword [esp + 0x94]
mov ebp, dword [esp + 0x10]
jmp 0x4b6885
test edx, edx
jle 0x4b6885
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 0x4b6871
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 0x4b6855
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 0x4b6846
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 0x4b6956
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 0x4b6948
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 0x4b6919
mov edx, dword [esp + 0x80]
lea ebx, [ecx + ecx]
mov edi, dword [esp + 0x4c]
dec dword [esp + 0x48]
jne 0x4b68cd
mov ebp, dword [esp + 0x10]
cmp ecx, 1
je 0x4b6c5e
mov edi, ecx
neg edi
cmp dword [esp + 0x30], edx
jge 0x4b6b0c
cmp ebp, 1
jle 0x4b6c5e
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 0x4b6afd
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 0x4b6acc
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 0x4b6a80
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 0x4b6a37
mov esi, dword [esp + 0x58]
lea ebx, [ecx + ecx]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
dec dword [esp + 0x40]
jne 0x4b69d4
jmp 0x4b6c5e
cmp ebp, 1
jle 0x4b6c5e
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 0x4b6c54
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 0x4b6c20
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 0x4b6bdc
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 0x4b6bc2
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 0x4b6b66
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret